We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc5eb74 commit f0ed8c8Copy full SHA for f0ed8c8
hw/opentitan/ot_aes.c
@@ -122,7 +122,7 @@ REG32(STATUS, 0x84u)
122
123
#define OT_AES_DATA_SIZE (PARAM_NUM_REGS_DATA * sizeof(uint32_t))
124
#define OT_AES_KEY_SIZE (PARAM_NUM_REGS_KEY * sizeof(uint32_t))
125
-#define OT_AES_IV_SIZE (PARAM_NUM_REGS_KEY * sizeof(uint32_t))
+#define OT_AES_IV_SIZE (PARAM_NUM_REGS_IV * sizeof(uint32_t))
126
127
/* arbitrary value long enough to give back execution to vCPU */
128
#define OT_AES_RETARD_DELAY_NS 10000u /* 10 us */
0 commit comments