]> git.cryptolib.org Git - arm-crypto-lib.git/blobdiff - test_src/main-bmw-test.c
including even/odd-trick for BMW
[arm-crypto-lib.git] / test_src / main-bmw-test.c
index a648e6ee0f162c770be31229d36401ec80e56642..846fb2babe81df6f39a95ec0a2849d9c4a0c547c 100644 (file)
@@ -24,6 +24,7 @@
 #include <stdint.h>\r
 #include <stdlib.h>\r
 #include <string.h>\r
+#include "config.h"\r
 #include "cli.h"\r
 #include "dump.h"\r
 #include "uart_lowlevel.h"\r
 #include "shavs.h"\r
 #include "nessie_hash_test.h"\r
 #include "performance_test.h"\r
-#include "hfal-nessie.h"\r
-#include "hfal-performance.h"\r
-#include "hfal-test.h"\r
+#include "hfal/hfal-nessie.h"\r
+#include "hfal/hfal-performance.h"\r
+#include "hfal/hfal-test.h"\r
 \r
-#include "hfal_bmw_small.h"\r
-#include "hfal_bmw_large.h"\r
+#include "hfal/hfal_bmw_small.h"\r
+#include "hfal/hfal_bmw_large.h"\r
 #include "bmw_small.h"\r
 #include "bmw_large.h"\r
 \r
@@ -169,7 +170,7 @@ cmdlist_entry_t cmdlist[] = {
 };\r
 \r
 int main(void) {\r
-       sysclk_set_80MHz();\r
+       sysclk_set_freq(SYS_FREQ);\r
        sysclk_mosc_verify_enable();\r
     uart_init(UART_0, 115200, 8, UART_PARATY_NONE, UART_STOPBITS_ONE);\r
     gptm_set_timer_32periodic(TIMER0);\r