X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=test_src%2Fmain-whirlpool-test.c;h=4d0cfe4a076ccbb478cb42da300653125da263da;hp=b1dab2f34b02bf41f0b4a73f848d66925bd81433;hb=3f759a542ce8ba4ffbeb6d336a3557a8abbd3ad4;hpb=1de7784dc5fe0e2ebac23c0ee883a38f65a96b62 diff --git a/test_src/main-whirlpool-test.c b/test_src/main-whirlpool-test.c index b1dab2f..4d0cfe4 100644 --- a/test_src/main-whirlpool-test.c +++ b/test_src/main-whirlpool-test.c @@ -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 },