[Cryptech-Commits] [core/platform/novena] 01/02: Updated TRNG version number. Minor fix to use the same base for prefixes for at least the values in the same segment.

git at cryptech.is git at cryptech.is
Mon Apr 27 12:07:46 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 93f3fc70b402891b1d24b30761ad5db3eaf2df1a
Author: Joachim Strömbergson <joachim at secworks.se>
Date:   Mon Apr 27 13:54:47 2015 +0200

    Updated TRNG version number. Minor fix to use the same base for prefixes for at least the values in the same segment.
---
 eim/sw/cryptech_memory_map.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/eim/sw/cryptech_memory_map.h b/eim/sw/cryptech_memory_map.h
index 1dea087..1f6bcaa 100644
--- a/eim/sw/cryptech_memory_map.h
+++ b/eim/sw/cryptech_memory_map.h
@@ -171,7 +171,7 @@
 #define TRNG_CORE_SIZE          ADDR(0x100)
 
 // addresses and codes for the TRNG cores */
-#define TRNG_ADDR_BASE          SEGMENT_OFFSET_RNGS + (0 * TRNG_CORE_SIZE)
+#define TRNG_ADDR_BASE          SEGMENT_OFFSET_RNGS + (0x00 * TRNG_CORE_SIZE)
 #define TRNG_ADDR_NAME0         TRNG_ADDR_BASE + ADDR_NAME0
 #define TRNG_ADDR_NAME1         TRNG_ADDR_BASE + ADDR_NAME1
 #define TRNG_ADDR_VERSION       TRNG_ADDR_BASE + ADDR_VERSION
@@ -182,7 +182,7 @@
 // no status bits defined (yet)
 #define TRNG_ADDR_DELAY         TRNG_ADDR_BASE + ADDR(0x13)
 
-#define ENTROPY1_ADDR_BASE      SEGMENT_OFFSET_RNGS + (5 * TRNG_CORE_SIZE)
+#define ENTROPY1_ADDR_BASE      SEGMENT_OFFSET_RNGS + (0x05 * TRNG_CORE_SIZE)
 #define ENTROPY1_ADDR_NAME0     ENTROPY1_ADDR_BASE + ADDR_NAME0
 #define ENTROPY1_ADDR_NAME1     ENTROPY1_ADDR_BASE + ADDR_NAME1
 #define ENTROPY1_ADDR_VERSION   ENTROPY1_ADDR_BASE + ADDR_VERSION
@@ -193,7 +193,7 @@
 #define ENTROPY1_ADDR_ENTROPY   ENTROPY1_ADDR_BASE + ADDR(0x20)
 #define ENTROPY1_ADDR_DELTA     ENTROPY1_ADDR_BASE + ADDR(0x30)
 
-#define ENTROPY2_ADDR_BASE      SEGMENT_OFFSET_RNGS + (6 * TRNG_CORE_SIZE)
+#define ENTROPY2_ADDR_BASE      SEGMENT_OFFSET_RNGS + (0x06 * TRNG_CORE_SIZE)
 #define ENTROPY2_ADDR_NAME0     ENTROPY2_ADDR_BASE + ADDR_NAME0
 #define ENTROPY2_ADDR_NAME1     ENTROPY2_ADDR_BASE + ADDR_NAME1
 #define ENTROPY2_ADDR_VERSION   ENTROPY2_ADDR_BASE + ADDR_VERSION
@@ -234,7 +234,7 @@
 
 #define TRNG_NAME0   "trng";
 #define TRNG_NAME1   "    ";
-#define TRNG_VERSION "0.01";
+#define TRNG_VERSION "0.50";
 
 #define AVALANCHE_ENTROPY_NAME0   "extn"
 #define AVALANCHE_ENTROPY_NAME1   "oise"



More information about the Commits mailing list