]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/main-groestl-test.c
backporting uart_i and cli
[avr-crypto-lib.git] / test_src / main-groestl-test.c
index 30d4bbe20103bedf811aa047a91c7dc6fb714af1..545f4eb2eca48848ecd584117a2687a8a49cded9 100644 (file)
@@ -23,7 +23,7 @@
 
 #include "config.h"
 #include "serial-tools.h"
-#include "uart.h"
+#include "uart_i.h"
 #include "debug.h"
 
 #include "groestl_small.h"
@@ -134,8 +134,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;                
        shavs_algolist=(hfdesc_t**)algolist;
        shavs_algo=(hfdesc_t*)&groestl256_desc;
        for(;;){