serpent_genctx(key, keysize&0xff, ctx);
}
-void testrun_serpent(void){
+void testrun_nessie_serpent(void){
nessie_ctx.blocksize_B = 16;
nessie_ctx.keysize = 128;
nessie_ctx.name = cipher_name;
restart:
while(1){
if (!getnextwordn(str,20)) {DEBUG_S("DBG: W1\r\n"); goto error;}
- if (strcmp(str, "test")) {DEBUG_S("DBG: 1b\r\n"); goto error;}
- testrun_serpent();
+ if (strcmp(str, "nessie")) {DEBUG_S("DBG: 1b\r\n"); goto error;}
+ testrun_nessie_serpent();
goto restart;
continue;
error:
uart_putstr("ERROR\r\n");
}
-
}