[Cryptech-Commits] [sw/stm32] 01/02: conditionalize timing tests

git at cryptech.is git at cryptech.is
Wed Mar 4 22:30:18 UTC 2020


This is an automated email from the git hooks/post-receive script.

paul at psgd.org pushed a commit to branch master
in repository sw/stm32.

commit b60bdf04c301aa41ff9e375d13f12c05cee1fdb8
Author: Paul Selkirk <paul at psgd.org>
AuthorDate: Wed Feb 26 12:38:41 2020 -0500

    conditionalize timing tests
---
 projects/hsm/mgmt-cli.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/projects/hsm/mgmt-cli.c b/projects/hsm/mgmt-cli.c
index 10b260f..fd5c90a 100644
--- a/projects/hsm/mgmt-cli.c
+++ b/projects/hsm/mgmt-cli.c
@@ -51,7 +51,9 @@
 #include "mgmt-keystore.h"
 #include "mgmt-masterkey.h"
 #include "mgmt-task.h"
+#ifdef DO_TIMING
 #include "mgmt-timing.h"
+#endif
 
 #undef HAL_OK
 #define HAL_OK LIBHAL_OK
@@ -200,7 +202,9 @@ int cli_main(void)
     configure_cli_bootloader(cli);
     configure_cli_misc(cli);
     configure_cli_task(cli);
+#ifdef DO_TIMING
     configure_cli_timing(cli);
+#endif
 
     while (1) {
         control_mgmt_uart_dma_rx(DMA_RX_START);



More information about the Commits mailing list