X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=test_src%2Fmain-hmac-sha256-test.c;h=6034ae2880cd063b4aaefdf6049af198996cf692;hb=47d2a52aeb2ef0150c252b8aa8b21b2139216feb;hp=553cc5084beb6087a041a13577edbfcda752505e;hpb=53f8a8d7ca5c03120224128e1f8552c99f6af11e;p=avr-crypto-lib.git diff --git a/test_src/main-hmac-sha256-test.c b/test_src/main-hmac-sha256-test.c index 553cc50..6034ae2 100644 --- a/test_src/main-hmac-sha256-test.c +++ b/test_src/main-hmac-sha256-test.c @@ -22,8 +22,8 @@ */ #include "config.h" -#include "serial-tools.h" -#include "uart.h" + +#include "uart_i.h" #include "debug.h" #include "sha256.h" @@ -83,7 +83,7 @@ const char test_str[] PROGMEM = "test"; /* const char performance_str[] PROGMEM = "performance"; */ const char echo_str[] PROGMEM = "echo"; -cmdlist_entry_t cmdlist[] PROGMEM = { +const cmdlist_entry_t cmdlist[] PROGMEM = { { nessie_str, NULL, testrun_nessie_hmacsha256}, { test_str, NULL, testrun_hmacsha256}, /* { performance_str, NULL, testrun_performance_hmacsha256}, */ @@ -94,8 +94,8 @@ cmdlist_entry_t cmdlist[] PROGMEM = { int main (void){ DEBUG_INIT(); - cli_rx = uart_getc; - cli_tx = uart_putc; + cli_rx = (cli_rx_fpt)uart0_getc; + cli_tx = (cli_tx_fpt)uart0_putc; for(;;){ cli_putstr_P(PSTR("\r\n\r\nCrypto-VS (")); cli_putstr(algo_name);