]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/main-whirlpool-test.c
added Whirlpool-0 and Whirlpool-T
[avr-crypto-lib.git] / test_src / main-whirlpool-test.c
index b1dab2f34b02bf41f0b4a73f848d66925bd81433..4d0cfe4a076ccbb478cb42da300653125da263da 100644 (file)
@@ -74,18 +74,6 @@ void testrun_performance_whirlpool(void){
        hfal_performance_multiple(algolist);
 }
 
-void test_sbox(void){
-       uint8_t i=0;
-       cli_putstr_P(PSTR("\r\nWhirlpool S-Box:"));
-       do{
-               if(i%16==0){
-                       cli_putstr_P(PSTR("\r\n\t"));
-               }
-               cli_hexdump_byte(whirlpool_sbox(i++));
-               cli_putc(' ');
-       }while(i);
-}
-
 void testrun_nessie2(void){
        uint16_t i;
        uint8_t j;
@@ -143,7 +131,6 @@ void testrun_nessie2(void){
 const char nessie_str[]      PROGMEM = "nessie";
 const char nessie2_str[]     PROGMEM = "nessie2";
 const char test_str[]        PROGMEM = "test";
-const char test_sbox_str[]   PROGMEM = "test_sbox";
 const char performance_str[] PROGMEM = "performance";
 const char echo_str[]        PROGMEM = "echo";
 const char shavs_list_str[]  PROGMEM = "shavs_list";
@@ -157,7 +144,6 @@ cmdlist_entry_t cmdlist[] PROGMEM = {
        { nessie_str,          NULL, testrun_nessie_whirlpool       },
        { nessie2_str,         NULL, testrun_nessie2                },
        { test_str,            NULL, testrun_whirlpool              },
-       { test_sbox_str,       NULL, test_sbox                      },
        { performance_str,     NULL, testrun_performance_whirlpool  },
        { echo_str,        (void*)1, (void_fpt)echo_ctrl            },
        { shavs_list_str,      NULL, shavs_listalgos                },