Generated register defines for hmac. More...
Go to the source code of this file.
Generated register defines for hmac.
Definition in file hmac_regs.h.
| #define HMAC_ALERT_TEST_FATAL_FAULT_BIT 0 |
Definition at line 60 of file hmac_regs.h.
| #define HMAC_ALERT_TEST_REG_OFFSET 0xc |
Definition at line 58 of file hmac_regs.h.
| #define HMAC_ALERT_TEST_REG_RESVAL 0x80000000u |
Definition at line 59 of file hmac_regs.h.
| #define HMAC_ALERT_TEST_REGWEN_BIT 31 |
Definition at line 61 of file hmac_regs.h.
| #define HMAC_CFG_DIGEST_SIZE_FIELD ((bitfield_field32_t) { .mask = HMAC_CFG_DIGEST_SIZE_MASK, .index = HMAC_CFG_DIGEST_SIZE_OFFSET }) |
Definition at line 73 of file hmac_regs.h.
| #define HMAC_CFG_DIGEST_SIZE_MASK 0xfu |
Definition at line 71 of file hmac_regs.h.
| #define HMAC_CFG_DIGEST_SIZE_OFFSET 5 |
Definition at line 72 of file hmac_regs.h.
| #define HMAC_CFG_DIGEST_SIZE_VALUE_SHA2_256 0x1 |
Definition at line 75 of file hmac_regs.h.
| #define HMAC_CFG_DIGEST_SIZE_VALUE_SHA2_384 0x2 |
Definition at line 76 of file hmac_regs.h.
| #define HMAC_CFG_DIGEST_SIZE_VALUE_SHA2_512 0x4 |
Definition at line 77 of file hmac_regs.h.
| #define HMAC_CFG_DIGEST_SIZE_VALUE_SHA2_NONE 0x8 |
Definition at line 78 of file hmac_regs.h.
| #define HMAC_CFG_DIGEST_SWAP_BIT 3 |
Definition at line 69 of file hmac_regs.h.
| #define HMAC_CFG_ENDIAN_SWAP_BIT 2 |
Definition at line 68 of file hmac_regs.h.
| #define HMAC_CFG_HMAC_EN_BIT 0 |
Definition at line 66 of file hmac_regs.h.
| #define HMAC_CFG_KEY_LENGTH_FIELD ((bitfield_field32_t) { .mask = HMAC_CFG_KEY_LENGTH_MASK, .index = HMAC_CFG_KEY_LENGTH_OFFSET }) |
Definition at line 81 of file hmac_regs.h.
| #define HMAC_CFG_KEY_LENGTH_MASK 0x3fu |
Definition at line 79 of file hmac_regs.h.
| #define HMAC_CFG_KEY_LENGTH_OFFSET 9 |
Definition at line 80 of file hmac_regs.h.
| #define HMAC_CFG_KEY_LENGTH_VALUE_KEY_1024 0x10 |
Definition at line 87 of file hmac_regs.h.
| #define HMAC_CFG_KEY_LENGTH_VALUE_KEY_128 0x1 |
Definition at line 83 of file hmac_regs.h.
| #define HMAC_CFG_KEY_LENGTH_VALUE_KEY_256 0x2 |
Definition at line 84 of file hmac_regs.h.
| #define HMAC_CFG_KEY_LENGTH_VALUE_KEY_384 0x4 |
Definition at line 85 of file hmac_regs.h.
| #define HMAC_CFG_KEY_LENGTH_VALUE_KEY_512 0x8 |
Definition at line 86 of file hmac_regs.h.
| #define HMAC_CFG_KEY_LENGTH_VALUE_KEY_NONE 0x20 |
Definition at line 88 of file hmac_regs.h.
| #define HMAC_CFG_KEY_SWAP_BIT 4 |
Definition at line 70 of file hmac_regs.h.
| #define HMAC_CFG_REG_OFFSET 0x10 |
Definition at line 64 of file hmac_regs.h.
| #define HMAC_CFG_REG_RESVAL 0x4100u |
Definition at line 65 of file hmac_regs.h.
| #define HMAC_CFG_SHA_EN_BIT 1 |
Definition at line 67 of file hmac_regs.h.
| #define HMAC_CFG_SIDELOAD_BIT 15 |
Definition at line 89 of file hmac_regs.h.
| #define HMAC_CMD_HASH_CONTINUE_BIT 3 |
Definition at line 97 of file hmac_regs.h.
| #define HMAC_CMD_HASH_PROCESS_BIT 1 |
Definition at line 95 of file hmac_regs.h.
| #define HMAC_CMD_HASH_START_BIT 0 |
Definition at line 94 of file hmac_regs.h.
| #define HMAC_CMD_HASH_STOP_BIT 2 |
Definition at line 96 of file hmac_regs.h.
| #define HMAC_CMD_REG_OFFSET 0x14 |
Definition at line 92 of file hmac_regs.h.
| #define HMAC_CMD_REG_RESVAL 0x0u |
Definition at line 93 of file hmac_regs.h.
| #define HMAC_DIGEST_0_REG_OFFSET 0xa4 |
Definition at line 255 of file hmac_regs.h.
| #define HMAC_DIGEST_0_REG_RESVAL 0x0u |
Definition at line 256 of file hmac_regs.h.
| #define HMAC_DIGEST_10_REG_OFFSET 0xcc |
Definition at line 295 of file hmac_regs.h.
| #define HMAC_DIGEST_10_REG_RESVAL 0x0u |
Definition at line 296 of file hmac_regs.h.
| #define HMAC_DIGEST_11_REG_OFFSET 0xd0 |
Definition at line 299 of file hmac_regs.h.
| #define HMAC_DIGEST_11_REG_RESVAL 0x0u |
Definition at line 300 of file hmac_regs.h.
| #define HMAC_DIGEST_12_REG_OFFSET 0xd4 |
Definition at line 303 of file hmac_regs.h.
| #define HMAC_DIGEST_12_REG_RESVAL 0x0u |
Definition at line 304 of file hmac_regs.h.
| #define HMAC_DIGEST_13_REG_OFFSET 0xd8 |
Definition at line 307 of file hmac_regs.h.
| #define HMAC_DIGEST_13_REG_RESVAL 0x0u |
Definition at line 308 of file hmac_regs.h.
| #define HMAC_DIGEST_14_REG_OFFSET 0xdc |
Definition at line 311 of file hmac_regs.h.
| #define HMAC_DIGEST_14_REG_RESVAL 0x0u |
Definition at line 312 of file hmac_regs.h.
| #define HMAC_DIGEST_15_REG_OFFSET 0xe0 |
Definition at line 315 of file hmac_regs.h.
| #define HMAC_DIGEST_15_REG_RESVAL 0x0u |
Definition at line 316 of file hmac_regs.h.
| #define HMAC_DIGEST_1_REG_OFFSET 0xa8 |
Definition at line 259 of file hmac_regs.h.
| #define HMAC_DIGEST_1_REG_RESVAL 0x0u |
Definition at line 260 of file hmac_regs.h.
| #define HMAC_DIGEST_2_REG_OFFSET 0xac |
Definition at line 263 of file hmac_regs.h.
| #define HMAC_DIGEST_2_REG_RESVAL 0x0u |
Definition at line 264 of file hmac_regs.h.
| #define HMAC_DIGEST_3_REG_OFFSET 0xb0 |
Definition at line 267 of file hmac_regs.h.
| #define HMAC_DIGEST_3_REG_RESVAL 0x0u |
Definition at line 268 of file hmac_regs.h.
| #define HMAC_DIGEST_4_REG_OFFSET 0xb4 |
Definition at line 271 of file hmac_regs.h.
| #define HMAC_DIGEST_4_REG_RESVAL 0x0u |
Definition at line 272 of file hmac_regs.h.
| #define HMAC_DIGEST_5_REG_OFFSET 0xb8 |
Definition at line 275 of file hmac_regs.h.
| #define HMAC_DIGEST_5_REG_RESVAL 0x0u |
Definition at line 276 of file hmac_regs.h.
| #define HMAC_DIGEST_6_REG_OFFSET 0xbc |
Definition at line 279 of file hmac_regs.h.
| #define HMAC_DIGEST_6_REG_RESVAL 0x0u |
Definition at line 280 of file hmac_regs.h.
| #define HMAC_DIGEST_7_REG_OFFSET 0xc0 |
Definition at line 283 of file hmac_regs.h.
| #define HMAC_DIGEST_7_REG_RESVAL 0x0u |
Definition at line 284 of file hmac_regs.h.
| #define HMAC_DIGEST_8_REG_OFFSET 0xc4 |
Definition at line 287 of file hmac_regs.h.
| #define HMAC_DIGEST_8_REG_RESVAL 0x0u |
Definition at line 288 of file hmac_regs.h.
| #define HMAC_DIGEST_9_REG_OFFSET 0xc8 |
Definition at line 291 of file hmac_regs.h.
| #define HMAC_DIGEST_9_REG_RESVAL 0x0u |
Definition at line 292 of file hmac_regs.h.
| #define HMAC_DIGEST_DIGEST_FIELD_WIDTH 32 |
Definition at line 251 of file hmac_regs.h.
| #define HMAC_DIGEST_MULTIREG_COUNT 16 |
Definition at line 252 of file hmac_regs.h.
| #define HMAC_ERR_CODE_REG_OFFSET 0x1c |
Definition at line 111 of file hmac_regs.h.
| #define HMAC_ERR_CODE_REG_RESVAL 0x0u |
Definition at line 112 of file hmac_regs.h.
| #define HMAC_INTR_COMMON_FIFO_EMPTY_BIT 1 |
Definition at line 33 of file hmac_regs.h.
| #define HMAC_INTR_COMMON_HMAC_DONE_BIT 0 |
Definition at line 32 of file hmac_regs.h.
| #define HMAC_INTR_COMMON_HMAC_ERR_BIT 2 |
Definition at line 34 of file hmac_regs.h.
| #define HMAC_INTR_ENABLE_FIFO_EMPTY_BIT 1 |
Definition at line 47 of file hmac_regs.h.
| #define HMAC_INTR_ENABLE_HMAC_DONE_BIT 0 |
Definition at line 46 of file hmac_regs.h.
| #define HMAC_INTR_ENABLE_HMAC_ERR_BIT 2 |
Definition at line 48 of file hmac_regs.h.
| #define HMAC_INTR_ENABLE_REG_OFFSET 0x4 |
Definition at line 44 of file hmac_regs.h.
| #define HMAC_INTR_ENABLE_REG_RESVAL 0x0u |
Definition at line 45 of file hmac_regs.h.
| #define HMAC_INTR_STATE_FIFO_EMPTY_BIT 1 |
Definition at line 40 of file hmac_regs.h.
| #define HMAC_INTR_STATE_HMAC_DONE_BIT 0 |
Definition at line 39 of file hmac_regs.h.
| #define HMAC_INTR_STATE_HMAC_ERR_BIT 2 |
Definition at line 41 of file hmac_regs.h.
| #define HMAC_INTR_STATE_REG_OFFSET 0x0 |
Definition at line 37 of file hmac_regs.h.
| #define HMAC_INTR_STATE_REG_RESVAL 0x0u |
Definition at line 38 of file hmac_regs.h.
| #define HMAC_INTR_TEST_FIFO_EMPTY_BIT 1 |
Definition at line 54 of file hmac_regs.h.
| #define HMAC_INTR_TEST_HMAC_DONE_BIT 0 |
Definition at line 53 of file hmac_regs.h.
| #define HMAC_INTR_TEST_HMAC_ERR_BIT 2 |
Definition at line 55 of file hmac_regs.h.
| #define HMAC_INTR_TEST_REG_OFFSET 0x8 |
Definition at line 51 of file hmac_regs.h.
| #define HMAC_INTR_TEST_REG_RESVAL 0x0u |
Definition at line 52 of file hmac_regs.h.
| #define HMAC_KEY_0_REG_OFFSET 0x24 |
Definition at line 123 of file hmac_regs.h.
| #define HMAC_KEY_0_REG_RESVAL 0x0u |
Definition at line 124 of file hmac_regs.h.
| #define HMAC_KEY_10_REG_OFFSET 0x4c |
Definition at line 163 of file hmac_regs.h.
| #define HMAC_KEY_10_REG_RESVAL 0x0u |
Definition at line 164 of file hmac_regs.h.
| #define HMAC_KEY_11_REG_OFFSET 0x50 |
Definition at line 167 of file hmac_regs.h.
| #define HMAC_KEY_11_REG_RESVAL 0x0u |
Definition at line 168 of file hmac_regs.h.
| #define HMAC_KEY_12_REG_OFFSET 0x54 |
Definition at line 171 of file hmac_regs.h.
| #define HMAC_KEY_12_REG_RESVAL 0x0u |
Definition at line 172 of file hmac_regs.h.
| #define HMAC_KEY_13_REG_OFFSET 0x58 |
Definition at line 175 of file hmac_regs.h.
| #define HMAC_KEY_13_REG_RESVAL 0x0u |
Definition at line 176 of file hmac_regs.h.
| #define HMAC_KEY_14_REG_OFFSET 0x5c |
Definition at line 179 of file hmac_regs.h.
| #define HMAC_KEY_14_REG_RESVAL 0x0u |
Definition at line 180 of file hmac_regs.h.
| #define HMAC_KEY_15_REG_OFFSET 0x60 |
Definition at line 183 of file hmac_regs.h.
| #define HMAC_KEY_15_REG_RESVAL 0x0u |
Definition at line 184 of file hmac_regs.h.
| #define HMAC_KEY_16_REG_OFFSET 0x64 |
Definition at line 187 of file hmac_regs.h.
| #define HMAC_KEY_16_REG_RESVAL 0x0u |
Definition at line 188 of file hmac_regs.h.
| #define HMAC_KEY_17_REG_OFFSET 0x68 |
Definition at line 191 of file hmac_regs.h.
| #define HMAC_KEY_17_REG_RESVAL 0x0u |
Definition at line 192 of file hmac_regs.h.
| #define HMAC_KEY_18_REG_OFFSET 0x6c |
Definition at line 195 of file hmac_regs.h.
| #define HMAC_KEY_18_REG_RESVAL 0x0u |
Definition at line 196 of file hmac_regs.h.
| #define HMAC_KEY_19_REG_OFFSET 0x70 |
Definition at line 199 of file hmac_regs.h.
| #define HMAC_KEY_19_REG_RESVAL 0x0u |
Definition at line 200 of file hmac_regs.h.
| #define HMAC_KEY_1_REG_OFFSET 0x28 |
Definition at line 127 of file hmac_regs.h.
| #define HMAC_KEY_1_REG_RESVAL 0x0u |
Definition at line 128 of file hmac_regs.h.
| #define HMAC_KEY_20_REG_OFFSET 0x74 |
Definition at line 203 of file hmac_regs.h.
| #define HMAC_KEY_20_REG_RESVAL 0x0u |
Definition at line 204 of file hmac_regs.h.
| #define HMAC_KEY_21_REG_OFFSET 0x78 |
Definition at line 207 of file hmac_regs.h.
| #define HMAC_KEY_21_REG_RESVAL 0x0u |
Definition at line 208 of file hmac_regs.h.
| #define HMAC_KEY_22_REG_OFFSET 0x7c |
Definition at line 211 of file hmac_regs.h.
| #define HMAC_KEY_22_REG_RESVAL 0x0u |
Definition at line 212 of file hmac_regs.h.
| #define HMAC_KEY_23_REG_OFFSET 0x80 |
Definition at line 215 of file hmac_regs.h.
| #define HMAC_KEY_23_REG_RESVAL 0x0u |
Definition at line 216 of file hmac_regs.h.
| #define HMAC_KEY_24_REG_OFFSET 0x84 |
Definition at line 219 of file hmac_regs.h.
| #define HMAC_KEY_24_REG_RESVAL 0x0u |
Definition at line 220 of file hmac_regs.h.
| #define HMAC_KEY_25_REG_OFFSET 0x88 |
Definition at line 223 of file hmac_regs.h.
| #define HMAC_KEY_25_REG_RESVAL 0x0u |
Definition at line 224 of file hmac_regs.h.
| #define HMAC_KEY_26_REG_OFFSET 0x8c |
Definition at line 227 of file hmac_regs.h.
| #define HMAC_KEY_26_REG_RESVAL 0x0u |
Definition at line 228 of file hmac_regs.h.
| #define HMAC_KEY_27_REG_OFFSET 0x90 |
Definition at line 231 of file hmac_regs.h.
| #define HMAC_KEY_27_REG_RESVAL 0x0u |
Definition at line 232 of file hmac_regs.h.
| #define HMAC_KEY_28_REG_OFFSET 0x94 |
Definition at line 235 of file hmac_regs.h.
| #define HMAC_KEY_28_REG_RESVAL 0x0u |
Definition at line 236 of file hmac_regs.h.
| #define HMAC_KEY_29_REG_OFFSET 0x98 |
Definition at line 239 of file hmac_regs.h.
| #define HMAC_KEY_29_REG_RESVAL 0x0u |
Definition at line 240 of file hmac_regs.h.
| #define HMAC_KEY_2_REG_OFFSET 0x2c |
Definition at line 131 of file hmac_regs.h.
| #define HMAC_KEY_2_REG_RESVAL 0x0u |
Definition at line 132 of file hmac_regs.h.
| #define HMAC_KEY_30_REG_OFFSET 0x9c |
Definition at line 243 of file hmac_regs.h.
| #define HMAC_KEY_30_REG_RESVAL 0x0u |
Definition at line 244 of file hmac_regs.h.
| #define HMAC_KEY_31_REG_OFFSET 0xa0 |
Definition at line 247 of file hmac_regs.h.
| #define HMAC_KEY_31_REG_RESVAL 0x0u |
Definition at line 248 of file hmac_regs.h.
| #define HMAC_KEY_3_REG_OFFSET 0x30 |
Definition at line 135 of file hmac_regs.h.
| #define HMAC_KEY_3_REG_RESVAL 0x0u |
Definition at line 136 of file hmac_regs.h.
| #define HMAC_KEY_4_REG_OFFSET 0x34 |
Definition at line 139 of file hmac_regs.h.
| #define HMAC_KEY_4_REG_RESVAL 0x0u |
Definition at line 140 of file hmac_regs.h.
| #define HMAC_KEY_5_REG_OFFSET 0x38 |
Definition at line 143 of file hmac_regs.h.
| #define HMAC_KEY_5_REG_RESVAL 0x0u |
Definition at line 144 of file hmac_regs.h.
| #define HMAC_KEY_6_REG_OFFSET 0x3c |
Definition at line 147 of file hmac_regs.h.
| #define HMAC_KEY_6_REG_RESVAL 0x0u |
Definition at line 148 of file hmac_regs.h.
| #define HMAC_KEY_7_REG_OFFSET 0x40 |
Definition at line 151 of file hmac_regs.h.
| #define HMAC_KEY_7_REG_RESVAL 0x0u |
Definition at line 152 of file hmac_regs.h.
| #define HMAC_KEY_8_REG_OFFSET 0x44 |
Definition at line 155 of file hmac_regs.h.
| #define HMAC_KEY_8_REG_RESVAL 0x0u |
Definition at line 156 of file hmac_regs.h.
| #define HMAC_KEY_9_REG_OFFSET 0x48 |
Definition at line 159 of file hmac_regs.h.
| #define HMAC_KEY_9_REG_RESVAL 0x0u |
Definition at line 160 of file hmac_regs.h.
| #define HMAC_KEY_KEY_FIELD_WIDTH 32 |
Definition at line 119 of file hmac_regs.h.
| #define HMAC_KEY_MULTIREG_COUNT 32 |
Definition at line 120 of file hmac_regs.h.
| #define HMAC_MSG_FIFO_REG_OFFSET 0x1000 |
Definition at line 328 of file hmac_regs.h.
| #define HMAC_MSG_FIFO_SIZE_BYTES 4096 |
Definition at line 330 of file hmac_regs.h.
| #define HMAC_MSG_FIFO_SIZE_WORDS 1024 |
Definition at line 329 of file hmac_regs.h.
| #define HMAC_MSG_LENGTH_LOWER_REG_OFFSET 0xe4 |
Definition at line 319 of file hmac_regs.h.
| #define HMAC_MSG_LENGTH_LOWER_REG_RESVAL 0x0u |
Definition at line 320 of file hmac_regs.h.
| #define HMAC_MSG_LENGTH_UPPER_REG_OFFSET 0xe8 |
Definition at line 323 of file hmac_regs.h.
| #define HMAC_MSG_LENGTH_UPPER_REG_RESVAL 0x0u |
Definition at line 324 of file hmac_regs.h.
| #define HMAC_PARAM_NUM_ALERTS 1 |
Definition at line 26 of file hmac_regs.h.
| #define HMAC_PARAM_NUM_DIGEST_WORDS 16 |
Definition at line 20 of file hmac_regs.h.
| #define HMAC_PARAM_NUM_KEY_WORDS 32 |
Definition at line 23 of file hmac_regs.h.
| #define HMAC_PARAM_REG_WIDTH 32 |
Definition at line 29 of file hmac_regs.h.
| #define HMAC_STATUS_FIFO_DEPTH_FIELD ((bitfield_field32_t) { .mask = HMAC_STATUS_FIFO_DEPTH_MASK, .index = HMAC_STATUS_FIFO_DEPTH_OFFSET }) |
Definition at line 107 of file hmac_regs.h.
| #define HMAC_STATUS_FIFO_DEPTH_MASK 0x3fu |
Definition at line 105 of file hmac_regs.h.
| #define HMAC_STATUS_FIFO_DEPTH_OFFSET 4 |
Definition at line 106 of file hmac_regs.h.
| #define HMAC_STATUS_FIFO_EMPTY_BIT 1 |
Definition at line 103 of file hmac_regs.h.
| #define HMAC_STATUS_FIFO_FULL_BIT 2 |
Definition at line 104 of file hmac_regs.h.
| #define HMAC_STATUS_HMAC_IDLE_BIT 0 |
Definition at line 102 of file hmac_regs.h.
| #define HMAC_STATUS_REG_OFFSET 0x18 |
Definition at line 100 of file hmac_regs.h.
| #define HMAC_STATUS_REG_RESVAL 0x3u |
Definition at line 101 of file hmac_regs.h.
| #define HMAC_WIPE_SECRET_REG_OFFSET 0x20 |
Definition at line 115 of file hmac_regs.h.
| #define HMAC_WIPE_SECRET_REG_RESVAL 0x0u |
Definition at line 116 of file hmac_regs.h.