Address offset: 0x900
Defines the cryptographic flow.
| Bit number | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ID | A | A | A | A | A | ||||||||||||||||||||||||||||||
| Reset 0x00000000 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||
| ID | R/W | Field | Value ID | Value | Description | ||||||||||||||||||||||||||||||
| A |
W |
MODE |
Configure the cryptographic engine mode. The HASH engine is determined by register HASH_SELECT. |
||||||||||||||||||||||||||||||||
|
Bypass |
0 |
Bypass cryptographic engine |
|||||||||||||||||||||||||||||||||
|
AESActive |
1 |
Use AES engine |
|||||||||||||||||||||||||||||||||
|
AESToHashActive |
2 |
Pipe AES engine output to HASH engine input |
|||||||||||||||||||||||||||||||||
|
AESAndHashActive |
3 |
Process input using both AES and HASH engine in parallell |
|||||||||||||||||||||||||||||||||
|
HashActive |
7 |
Use HASH engine |
|||||||||||||||||||||||||||||||||
|
AESMACAndBypassActive |
9 |
Calculate AES MAC and bypass |
|||||||||||||||||||||||||||||||||
|
AESToHashAndDOUTActive |
10 |
Pipe AES engine output to HASH engine input. The resulting digest output is piped to DOUT buffer. |
|||||||||||||||||||||||||||||||||
|
ChaChaActive |
16 |
Use CHACHA engine |
|||||||||||||||||||||||||||||||||