[Cryptech-Commits] [core/platform/common] 02/02: Move keywrap from user/js to core/util, replace aes core in the hsm project.

git at cryptech.is git at cryptech.is
Wed Mar 25 17:19:10 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 core/platform/common.

commit 275951ed02caba8e7bff4723de9fdb24a5087da5
Author: Paul Selkirk <paul at psgd.org>
AuthorDate: Wed Mar 25 12:26:35 2020 -0400

    Move keywrap from user/js to core/util, replace aes core in the hsm project.
    
    Also re-order cores to make allocation infinitesimally faster for RSA signing.
---
 config/core.cfg | 19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)

diff --git a/config/core.cfg b/config/core.cfg
index 65985ca..96cae6c 100644
--- a/config/core.cfg
+++ b/config/core.cfg
@@ -76,12 +76,8 @@ cores = trng
 cores = sha256 aes trng modexp mkmif
 
 [project hsm]
-# Make me one with everything, except we want a lot of modexp for RSA signing
-cores = sha1 sha256 sha512 mkmif aes trng modexp modexp modexp modexp ecdsa256 ecdsa384
-
-[project hsm-keywrap]
-# Make me one with everything, except we want a lot of modexp for RSA signing
-cores = sha1 sha256 sha512 mkmif keywrap trng modexp modexp modexp ecdsa256 ecdsa384
+# Make me one with everything
+cores = mkmif keywrap modexp trng ecdsa256 ecdsa384 sha1 sha256 sha512
 
 # [core] sections
 #
@@ -355,13 +351,14 @@ vfiles =
 	lib/lowlevel/artix7/dsp48e1_wrapper.v
 
 [core keywrap]
-# Joachim's experimental AES-keywrap core
+# AES-keywrap core
 requires = aes
-core blocks = 32
+parameter ADDR_BITS = 12
+core blocks = 16
 block memory = yes
 error wire = yes
 module name = keywrap
 vfiles =
-	../user/js/keywrap/src/rtl/keywrap.v
-	../user/js/keywrap/src/rtl/keywrap_core.v
-	../user/js/keywrap/src/rtl/keywrap_mem.v
+	util/keywrap/src/rtl/keywrap.v
+	util/keywrap/src/rtl/keywrap_core.v
+	util/keywrap/src/rtl/keywrap_mem.v



More information about the Commits mailing list