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-04-09 18:08:45 -0400
commit1376b16e3bead769e56e531b1c121ea68b60f49f (patch)
treed82db424fb43708baae51210f9ec7afb47d991a3 /verilog_constants.h
parent411b5a9ee7d28d2bce9b297a865132e39712d93b (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)