]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/nessie_mac_test.c
a lot of fixes
[avr-crypto-lib.git] / test_src / nessie_mac_test.c
index 80093a038d2629ec78940b1de28cc7ebb1fb98ee..2813a51b036dd99a1085e8affbb0dc47ca63308b 100644 (file)
@@ -43,7 +43,7 @@ nessie_mac_ctx_t nessie_mac_ctx;
 #define PRINTMAC nessie_print_item("MAC", mac, MACSIZE_B)
 
 
-static uint8_t keyproto[] PROGMEM = {
+const uint8_t keyproto[] PROGMEM = {
                                  0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77,
                           0x88, 0x99, 0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff,
                           0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef };
@@ -218,7 +218,7 @@ void nessie_mac_run(void){
        nessie_print_header(nessie_mac_ctx.name, nessie_mac_ctx.keysize_b, 0, 0,
                            nessie_mac_ctx.macsize_b, 0);
        /* test set 1 */
-       char* challange_dbz= PSTR(
+       const char* challange_dbz= PSTR(
                  "\0"
                "\"\" (empty string)\0"
                  "a\0"