]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/main-sha256-test.c
start switching to stdio streams
[avr-crypto-lib.git] / test_src / main-sha256-test.c
index 292a898fe51ab061ed8a9de44dce4cfc25aa35cf..7786759c0770e86b63e31d292386884e02706219 100644 (file)
 #include "sha256.h"
 #include "nessie_hash_test.h"
 #include "performance_test.h"
-#include "hfal/hfal-performance.h"
-#include "hfal/hfal-nessie.h"
+#include "hfal-performance.h"
+#include "hfal-nessie.h"
 
 #include <stdint.h>
 #include <string.h>
 #include <stdlib.h>
 #include "cli.h"
 #include "shavs.h"
-#include "hfal/hfal_sha256.h"
+#include "hfal_sha256.h"
 #include "dump.h"
 
 char* algo_name = "SHA-256";
 
-const hfdesc_t* algolist[] PROGMEM = {
+const hfdesc_t* const algolist[] PROGMEM = {
        (hfdesc_t*)&sha256_desc,
        NULL
 };
@@ -138,7 +138,7 @@ const char shavs_test2_str[] PROGMEM = "shavs_test2";
 const char shavs_test3_str[] PROGMEM = "shavs_test3";
 const char dump_str[]        PROGMEM = "dump";
 
-cmdlist_entry_t cmdlist[] PROGMEM = {
+const cmdlist_entry_t cmdlist[] PROGMEM = {
        { nessie_str,          NULL, testrun_nessie_sha256          },
        { test_str,            NULL, testrun_nessie_sha256          },
        { monte_str,           NULL, test_monte                     },