aboutsummaryrefslogtreecommitdiff
path: root/verilog_constants.h
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2019-02-05 13:11:19 -0500
committerPaul Selkirk <paul@psgd.org>2019-02-12 16:28:42 -0500
commit9bf6075da2640dc57d5a9de5825a249cb3f827c3 (patch)
tree8a720993729ee5493da20132d39c3fc687e6074b /verilog_constants.h
parente4fa00258cd920d4ea91b024ee007f5b44bac196 (diff)
Track Joachim's latest keywrap core - KEK remains in the AES core until it times out or is explicitly zeroed out.
Diffstat (limited to 'verilog_constants.h')
-rw-r--r--verilog_constants.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/verilog_constants.h b/verilog_constants.h
index 8735b12..f058737 100644
--- a/verilog_constants.h
+++ b/verilog_constants.h
@@ -303,10 +303,14 @@
* AES Keywrap core
*/
+#define KEYWRAP_CTRL_ZERO (4)
+#define KEYWRAP_STATUS_LOADED (4)
+
#define KEYWRAP_ADDR_CONFIG (0x0a)
#define KEYWRAP_CONFIG_ENCDEC (1)
#define KEYWRAP_CONFIG_KEYLEN (2)
+#define KEYWRAP_ADDR_TIMEOUT (0x0b)
#define KEYWRAP_ADDR_RLEN (0x0c)
#define KEYWRAP_ADDR_A0 (0x0e)
#define KEYWRAP_ADDR_A1 (0x0f)