+void testrun_nessie_des(const char *param){
+ if(!param){
+ bcal_nessie_multiple(algolist);
+ }else{
+ uint8_t i=0;
+ bcdesc_t *ptr;
+ for(;;){
+ ptr = (bcdesc_t*)pgm_read_word(&algolist[i++]);
+ if(ptr == NULL){
+ cli_putstr_P(PSTR("\r\nunknown algorithm: "));
+ cli_putstr(param);
+ cli_putstr_P(PSTR("\r\navailable algorithms are:"));
+ i = 0;
+ while((ptr = (bcdesc_t*)pgm_read_word(&algolist[i++]))){
+ cli_putstr_P(PSTR("\r\n\t"));
+ cli_putstr_P((const char*)pgm_read_word(&ptr->name));
+ }
+ return;
+ }
+ if(!strcmp_P(param, (const char*)pgm_read_word(&ptr->name))){
+ bcal_nessie(ptr);
+ return;
+ }
+ }
+ }