]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/main-groestl-test.c
a lot of fixes
[avr-crypto-lib.git] / test_src / main-groestl-test.c
index ff47dc4c2a71e0edafb227e5c7b3c80020edc585..b51b049f22cc12a84a66f66630c58d8f65718e7f 100644 (file)
 
 #include "groestl_small.h"
 #include "groestl_large.h"
-#include "hfal/hfal_groestl_small.h"
-#include "hfal/hfal_groestl_large.h"
-#include "hfal/hfal-nessie.h"
-#include "hfal/hfal-test.h"
-#include "hfal/hfal-performance.h"
+#include "hfal_groestl_small.h"
+#include "hfal_groestl_large.h"
+#include "hfal-nessie.h"
+#include "hfal-test.h"
+#include "hfal-performance.h"
 #include "shavs.h"
 #include "cli.h"
 #include "nessie_hash_test.h"
@@ -45,7 +45,7 @@
 char* algo_name = "Groestl";
 
 
-const hfdesc_t* algolist[] PROGMEM = {
+const hfdesc_t* const algolist[] PROGMEM = {
        (hfdesc_t*)&groestl224_desc,
        (hfdesc_t*)&groestl256_desc,
        (hfdesc_t*)&groestl384_desc,
@@ -132,7 +132,7 @@ const char shavs_list_str[]   PROGMEM = "shavs_list";
 const char shavs_set_str[]    PROGMEM = "shavs_set";
 const char shavs_test1_str[]  PROGMEM = "shavs_test1";
 
-cmdlist_entry_t cmdlist[] PROGMEM = {
+const cmdlist_entry_t cmdlist[] PROGMEM = {
        { nessie_str,          NULL, testrun_nessie_groestl},
        { test_str,            NULL, testrun_stdtest_groestl},
        { testshort_str,       NULL, testshort},