[Cryptech-Commits] [user/js/keywrap] branch integrate_mkmif updated: Completed the functionality that should be in the wrapper. Now its just debugging...

git at cryptech.is git at cryptech.is
Fri Sep 28 10:21:23 UTC 2018


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

joachim at secworks.se pushed a commit to branch integrate_mkmif
in repository user/js/keywrap.

The following commit(s) were added to refs/heads/integrate_mkmif by this push:
     new d832fcd  Completed the functionality that should be in the wrapper. Now its just debugging...
d832fcd is described below

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;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Commits mailing list