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;
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";
{ 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 },