[Cryptech-Commits] [core/util/keywrap] 14/37: Completed the functionality that should be in the wrapper. Now its just debugging...
git at cryptech.is
git at cryptech.is
Wed Apr 29 16:51:50 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/util/keywrap.
commit d832fcd65677d54b23dce2f08fd7208c21e50564
Author: Joachim Strömbergson <joachim at secworks.se>
AuthorDate: Fri Sep 28 12:21:10 2018 +0200
Completed the functionality that should be in the wrapper. Now its just debugging...
---
src/rtl/keywrap_mkmif.v | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/rtl/keywrap_mkmif.v b/src/rtl/keywrap_mkmif.v
index 72eaaf4..31b7c09 100644
--- a/src/rtl/keywrap_mkmif.v
+++ b/src/rtl/keywrap_mkmif.v
@@ -367,7 +367,7 @@ module keywrap_mkmif (
mkm_write_op = 1'h1;
mkm_addr_new = MKM_STATUS_WORD + {key_word_ctr_reg, 2'h0};
mkm_addr_we = 1'h1;
- mkm_write_data_new = key;
+ mkm_write_data_new = key[key_word_ctr_reg * 32 +: 32];
mkm_write_data_we = 1'h1;
keywrap_mkmif_ctrl_new = CTRL_WRITE_KEY_WAIT;
keywrap_mkmif_ctrl_we = 1'h1;
More information about the Commits
mailing list