]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/main-des-test.c
verification seems to work now...
[avr-crypto-lib.git] / test_src / main-des-test.c
index 26a641516365c63071a0bae6e7d10ef6d31aeb86..a674d6e56485a5d655c1235cb1d06b7c2c1e4f14 100644 (file)
@@ -22,8 +22,8 @@
 */
 
 #include "config.h"
-#include "serial-tools.h"
-#include "uart.h"
+
+#include "uart_i.h"
 #include "debug.h"
 
 #include "des.h"
@@ -113,8 +113,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);