]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/main-md5-test.c
added rsa pkcs#1 v1.5 encryption
[avr-crypto-lib.git] / test_src / main-md5-test.c
index 7f76748aba990ed2557f7ae7ac3108faeff43d6e..47730cd71a0e1dd0125a1479b1752fd834d15970 100644 (file)
@@ -22,7 +22,7 @@
 */
 
 #include "config.h"
-#include "serial-tools.h"
+
 #include "uart_i.h"
 #include "debug.h"
 
@@ -39,7 +39,7 @@
 
 char* algo_name = "MD5";
 
-const hfdesc_t* algolist[] PROGMEM = {
+const hfdesc_t* const algolist[] PROGMEM = {
        (hfdesc_t*)&md5_desc,
        NULL
 };
@@ -131,7 +131,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_md5},
        { test_str,        NULL, testrun_md5},
        { performance_str, NULL, testrun_performance_md5},
@@ -144,6 +144,7 @@ int main (void){
        
        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);