]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/main-bmw-test.c
a lot of fixes
[avr-crypto-lib.git] / test_src / main-bmw-test.c
index 1aadbf1aa5a27ffb952639e5b46b8f41696898ae..a78e1a5d6304501459b700ec9dc9895852a762d8 100644 (file)
@@ -44,7 +44,7 @@
 char* algo_name = "BlueMidnightWish";
 
 
-const hfdesc_t* algolist[] PROGMEM = {
+const hfdesc_t* const algolist[] PROGMEM = {
        (hfdesc_t*)&bmw224_desc,
        (hfdesc_t*)&bmw256_desc,
        (hfdesc_t*)&bmw384_desc,
@@ -156,20 +156,20 @@ const char shavs_set_str[]   PROGMEM = "shavs_set";
 const char shavs_test1_str[] PROGMEM = "shavs_test1";
 const char shavs_test3_str[] PROGMEM = "shavs_test3";
 
-cmdlist_entry_t cmdlist[] PROGMEM = {
-       { nessie_str,          NULL, testrun_nessie_bmw},
-       { test_str,            NULL, testrun_stdtest_bmw},
-       { testshort_str,       NULL, testshort},
-       { testlshort_str,      NULL, testlshort},
-       { test506_str,         NULL, test506},
-       { test507_str,         NULL, test507},
-       { performance_str,     NULL, performance_bmw},
-       { shavs_list_str,      NULL, shavs_listalgos},
-       { shavs_set_str,   (void*)1, (void_fpt)shavs_setalgo},
-       { shavs_test1_str,     NULL, shavs_test1},
-       { shavs_test3_str,     NULL, shavs_test3},
-       { echo_str,        (void*)1, (void_fpt)echo_ctrl},
-       { NULL,                NULL, NULL}
+const cmdlist_entry_t cmdlist[] PROGMEM = {
+       { nessie_str,                  NULL, testrun_nessie_bmw            },
+       { test_str,                    NULL, testrun_stdtest_bmw           },
+       { testshort_str,               NULL, testshort                     },
+       { testlshort_str,              NULL, testlshort                    },
+       { test506_str,                 NULL, test506                       },
+       { test507_str,                 NULL, test507                       },
+       { performance_str,             NULL, performance_bmw               },
+       { shavs_list_str,              NULL, shavs_listalgos               },
+       { shavs_set_str,           (void*)1, (void_fpt)shavs_setalgo       },
+       { shavs_test1_str,             NULL, shavs_test1                   },
+       { shavs_test3_str,             NULL, shavs_test3                   },
+       { echo_str,                (void*)1, (void_fpt)echo_ctrl           },
+       { NULL,                        NULL, NULL                          }
 };
 
 int main (void){