aboutsummaryrefslogtreecommitdiff
path: root/eim/sw/cryptech_memory_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'eim/sw/cryptech_memory_map.h')
-rw-r--r--eim/sw/cryptech_memory_map.h20
1 files changed, 17 insertions, 3 deletions
diff --git a/eim/sw/cryptech_memory_map.h b/eim/sw/cryptech_memory_map.h
index dd4dc36..1dea087 100644
--- a/eim/sw/cryptech_memory_map.h
+++ b/eim/sw/cryptech_memory_map.h
@@ -88,12 +88,11 @@
#define NOVENA_BOARD_NAME1 " ";
#define NOVENA_BOARD_VERSION "0.10";
-#define EIM_INTERFACE_NAME0 "eim ";
-#define EIM_INTERFACE_NAME1 " ";
+#define EIM_INTERFACE_NAME0 "eim ";
+#define EIM_INTERFACE_NAME1 " ";
#define EIM_INTERFACE_VERSION "0.10";
-
//------------------------------------------------------------------
// Hashes segment.
//------------------------------------------------------------------
@@ -153,6 +152,18 @@
#define MODE_SHA_384 2 << 2
#define MODE_SHA_512 3 << 2
+#define SHA1_NAME0 "sha1"
+#define SHA1_NAME1 " "
+#define SHA1_VERSION "0.50"
+
+#define SHA256_NAME0 "sha2";
+#define SHA256_NAME1 "-256";
+#define SHA256_VERSION "0.80";
+
+#define SHA512_NAME0 "sha2";
+#define SHA512_NAME1 "-512";
+#define SHA512_VERSION "0.80";
+
// -----------------------------------------------------------------
// TRNG segment.
@@ -221,6 +232,9 @@
#define CSPRNG_ADDR_NBLOCKS_LO CSPRNG_ADDR_BASE + ADDR(0x41)
#define CSPRNG_ADDR_NBLOCKS_HI CSPRNG_ADDR_BASE + ADDR(0x42)
+#define TRNG_NAME0 "trng";
+#define TRNG_NAME1 " ";
+#define TRNG_VERSION "0.01";
#define AVALANCHE_ENTROPY_NAME0 "extn"
#define AVALANCHE_ENTROPY_NAME1 "oise"