[Cryptech-Commits] [core/platform/novena] 01/01: Changed to use common define of expected board and eim interface name and version strings.

git at cryptech.is git at cryptech.is
Tue Apr 21 07:21:21 UTC 2015


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

joachim at secworks.se pushed a commit to branch master
in repository core/platform/novena.

commit e6f9e4ed4c69a04b4d7240b9ebc3a6966efc026b
Author: Joachim Strömbergson <joachim at secworks.se>
Date:   Tue Apr 21 09:21:15 2015 +0200

    Changed to use common define of expected board and eim interface name and version strings.
---
 eim/sw/hash_tester_eim.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/eim/sw/hash_tester_eim.c b/eim/sw/hash_tester_eim.c
index 8b4f04b..da61cf1 100644
--- a/eim/sw/hash_tester_eim.c
+++ b/eim/sw/hash_tester_eim.c
@@ -231,13 +231,13 @@ const uint8_t SHA512_DOUBLE_DIGEST[] =
 
 int TC0()
 {
-    uint8_t board_name0[4]      = "PVT1";
-    uint8_t board_name1[4]      = "    ";
-    uint8_t board_version[4]    = "0.10";
+    uint8_t board_name0[4]      = NOVENA_BOARD_NAME0;
+    uint8_t board_name1[4]      = NOVENA_BOARD_NAME1;
+    uint8_t board_version[4]    = NOVENA_BOARD_VERSION;
 
-    uint8_t comm_name0[4]       = "eim ";
-    uint8_t comm_name1[4]       = "    ";
-    uint8_t comm_version[4]     = "0.10";
+    uint8_t comm_name0[4]       = EIM_INTERFACE_NAME0;
+    uint8_t comm_name1[4]       = EIM_INTERFACE_NAME1;
+    uint8_t comm_version[4]     = EIM_INTERFACE_VERSION;
 
     uint8_t t[4];
 



More information about the Commits mailing list