]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/main-grain-test.c
a lot of fixes
[avr-crypto-lib.git] / test_src / main-grain-test.c
index 08931feb66d3715f8c1a7029057a18761cead6fe..7963e344d4eacd5469cd199477940cc2a0d2a346 100644 (file)
@@ -66,6 +66,7 @@ uint8_t grain_getbyte_dummy_rev(grain_ctx_t* ctx){
 }
 
 void testrun_nessie_grain(void){
+       scal_nessie_set_estream(1);
        scal_nessie_run(&grain_desc);
 }
 
@@ -152,7 +153,7 @@ const char test_str[]        PROGMEM = "test";
 const char performance_str[] PROGMEM = "performance";
 const char echo_str[]        PROGMEM = "echo";
 
-cmdlist_entry_t cmdlist[] PROGMEM = {
+const cmdlist_entry_t cmdlist[] PROGMEM = {
        { nessie_str,      NULL, testrun_nessie_grain },
        { test_str,        NULL, testrun_std_grain},
        { performance_str, NULL, testrun_performance_grain},