X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=test_src%2Fnessie_mac_test.c;h=2813a51b036dd99a1085e8affbb0dc47ca63308b;hb=cc6b183296a5852449e3324737e2a2dece788786;hp=d95c911a20739e4ab34f1428c7eeb0e7b77b76a5;hpb=65b5512d92a8b13973ae65201b18922b856328e5;p=avr-crypto-lib.git diff --git a/test_src/nessie_mac_test.c b/test_src/nessie_mac_test.c index d95c911..2813a51 100644 --- a/test_src/nessie_mac_test.c +++ b/test_src/nessie_mac_test.c @@ -32,7 +32,6 @@ #include "nessie_mac_test.h" #include "nessie_common.h" #include "dbz_strings.h" -#include "uart.h" nessie_mac_ctx_t nessie_mac_ctx; @@ -44,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 }; @@ -219,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"