]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/main-md5-test.c
clean up
[avr-crypto-lib.git] / test_src / main-md5-test.c
index 7cd6049d1830b8f173d3e62f823366c8bd05b108..b04635475b28d92454170f7f53c3391777d956f4 100644 (file)
 */
 
 #include "config.h"
-#include "serial-tools.h"
-#include "uart.h"
+
+#include "uart_i.h"
 #include "debug.h"
 
 #include "md5.h"
 #include "nessie_hash_test.h"
 #include "performance_test.h"
-#include "hfal_md5.h"
-#include "hfal-performance.h"
+#include "hfal/hfal_md5.h"
+#include "hfal/hfal-performance.h"
 
 #include <stdint.h>
 #include <string.h>
@@ -142,8 +142,9 @@ 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;                
+       testrun_md5();
        for(;;){
                cli_putstr_P(PSTR("\r\n\r\nCrypto-VS ("));
                cli_putstr(algo_name);