]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/main-noekeon-test.c
a lot of fixes
[avr-crypto-lib.git] / test_src / main-noekeon-test.c
index ad60d7acc24116a5103aa00cb8a02f5b605e3d43..0f7c6b76a0c8d10a1355317009ddf647e2d152d3 100644 (file)
@@ -27,7 +27,6 @@
 #include "debug.h"
 
 #include "noekeon.h"
-#include "nessie_bc_test.h"
 #include "bcal-nessie.h"
 #include "performance_test.h"
 #include "bcal-performance.h"
@@ -40,7 +39,7 @@
 
 char* algo_name = "Noekeon";
 
-const bcdesc_t* algolist[] PROGMEM = {
+const bcdesc_t* const algolist[] PROGMEM = {
        (bcdesc_t*)&noekeon_direct_desc,
        (bcdesc_t*)&noekeon_indirect_desc,
        NULL
@@ -50,7 +49,7 @@ const bcdesc_t* algolist[] PROGMEM = {
  *****************************************************************************/
 
 void testrun_nessie_noekeon(void){
-       bcal_nessie_multiple(&algolist);
+       bcal_nessie_multiple(algolist);
 }
 
 
@@ -154,7 +153,7 @@ const char indirect_str[]    PROGMEM = "indirect";
 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_noekeon},
        { test_str,        NULL, testrun_stdtest_noekeon},
 //     { direct_str,      NULL, testrun_nessie_noekeon_direct},