]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/main-sha1-test.c
a lot of fixes
[avr-crypto-lib.git] / test_src / main-sha1-test.c
index d1d819e3e49de2e9d2385adb18c1a43a5375ce9e..48d26341d11b586a0eb9f0155687fea119431728 100644 (file)
 
 #include "sha1.h"
 #include "nessie_hash_test.h"
-#include "hfal/hfal_sha1.h"
-#include "hfal/hfal-performance.h"
+#include "hfal_sha1.h"
+#include "hfal-performance.h"
 
 #include <stdint.h>
 #include <string.h>
 #include <stdlib.h>
 #include "cli.h"
 #include "shavs.h"
-#include "hfal/hfal_sha1.h"
+#include "hfal_sha1.h"
 #include "dump.h"
 
 char* algo_name = "SHA-1";
 
-const hfdesc_t* algolist[] PROGMEM = {
+const hfdesc_t* const algolist[] PROGMEM = {
        (hfdesc_t*)&sha1_desc,
        NULL
 };
@@ -194,7 +194,7 @@ const char shavs_test2_str[] PROGMEM = "shavs_test2";
 const char dump_str[]        PROGMEM = "dump";
 
 
-cmdlist_entry_t cmdlist[] PROGMEM = {
+const cmdlist_entry_t cmdlist[] PROGMEM = {
        { nessie_str,          NULL, testrun_nessie_sha1},
        { test_str,            NULL, testrun_sha1},
        { test2_str,           NULL, testrun_sha1_2},