Table 179. Aes Register Map - ST STM32L4 5 Series Reference Manual

Advanced arm-based 32-bit mcus
Table of Contents

Advertisement

RM0351
28.14.17 AES
Suspend
Address offset: 0x040 (AES_SUSP0R) to 0x05C (AES_SUSP7R)
Reset value: 0x0000 0000
These registers contain the complete internal register states of the AES processor when the
GCM/GMAC is selected, and are useful when a suspend has to be done because a high-
priority task has to use the AES processor while it is already in use by another task.
When such an event occurs, the AES_SUSP0..7R registers (when GCM/GMAC is selected)
have to be read and the read values have to be saved somewhere in the memory space.
Then the AES processor can be used by the preemptive task, and when AES computation is
finished, the saved context can be read from memory and written back into their
corresponding suspend registers.
Note:
1
These registers are used only when GCM/GMAC algorithm mode is selected.
2
These registers can only be read when AES is enabled (Bit [0] set to 1 in AES_CR register), else
reading these registers while AES is disabled will return the value 0x00000000.
31
30
29
rw
rw
rw
15
14
13
rw
rw
rw
28.14.18 AES register map
Offset
Register
AES_CR
0x0000
Reset value
AES_SR
0x0004
Reset value
AES_DINR
0x0008
Reset value
AES_DOUTR
0x000C
Reset value
AES_KEYR0
0x0010
Reset value
AES_KEYR1
0x0014
Reset value
AES_KEYR2
0x0018
Reset value
Advanced encryption standard hardware accelerator (AES)
registers (AES_SUSPxR) (x = 0..7)
28
27
26
25
rw
rw
rw
rw
12
11
10
9
rw
rw
rw
rw

Table 179. AES register map

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
0
0
0
0
0
0
0
0
0
0
0
0
0
24
23
22
AES_SUSPxR
rw
rw
rw
8
7
6
AES_SUSPxR
rw
rw
rw
0
0
AES_DINR[31:0]
0
0
0
0
0
0
0
0
AES_DOUTR[31:0]
0
0
0
0
0
0
0
0
AES_KEYR0[31:0]
0
0
0
0
0
0
0
0
AES_KEYR1[31:0]
0
0
0
0
0
0
0
0
AES_KEYR2[31:0]
0
0
0
0
0
0
0
0
DocID024597 Rev 5
21
20
19
18
rw
rw
rw
rw
5
4
3
rw
rw
rw
rw
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
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
17
16
rw
rw
2
1
0
rw
rw
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
0
0
0
0
0
0
0
0
851/1830
852

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32L4 5 Series and is the answer not in the manual?

Table of Contents

Save PDF