X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=test_src%2Fmain-omac-noekeon-test.c;h=a5a0e7990d0746d652a026d785be7e95da241c5d;hb=44bd9d38e15d4b03486f4cf52dd9bbf2f97e6e17;hp=50a40c076a7058da084c8c2be4e25cf5e935b62b;hpb=170835f03e35ac53d7930d42590ad525e763999c;p=avr-crypto-lib.git diff --git a/test_src/main-omac-noekeon-test.c b/test_src/main-omac-noekeon-test.c index 50a40c0..a5a0e79 100644 --- a/test_src/main-omac-noekeon-test.c +++ b/test_src/main-omac-noekeon-test.c @@ -22,8 +22,8 @@ */ #include "config.h" -#include "serial-tools.h" -#include "uart.h" + +#include "uart_i.h" #include "debug.h" #include "noekeon.h" @@ -157,7 +157,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_omac_noekeon }, { test_str, NULL, testrun_test_omac_noekeon}, { performance_str, NULL, testrun_performance_omac_noekeon}, @@ -168,8 +168,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);