Aes Data Input Register (Aes_Dinr) - ST STM32L4x6 Reference Manual

Table of Contents

Advertisement

Advanced encryption standard hardware accelerator (AES)
25.14.3

AES data input register (AES_DINR)

Address offset: 0x08
Reset value: 0x0000 0000
31
30
29
28
rw
rw
rw
rw
15
14
13
12
rw
rw
rw
rw
Bits 31:0 DINR[31:0]: Data input register
This register must be written 4 times during the input phase:
– In mode 1 (encryption), 4 words must be written which represent the plain text from MSB to LSB.
– In mode 2 (key derivation), This register is not used because this mode concerns only derivative key
calculation starting from the AES_KEYRx register.
– In mode 3 (decryption) and 4 (Key derivation + decryption), 4 words must be written which represent
the cipher text MSB to LSB.
Note: This register must be accessed with 32-bit data width.
25.14.4
AES data output register (AES_DOUTR)
Address offset: 0x0C
Reset value: 0x0000 0000
31
30
29
28
r
r
r
r
15
14
13
12
r
r
r
r
Bits 31:0 DOUTR[31:0]: Data output register
This register is read only.
Once the CCF flag (computation complete flag) is set, reading this data register 4 times gives access
to the 128-bit output results:
– In mode 1 (encryption), the 4 words read represent the cipher text from MSB to LSB.
– In mode 2 (key derivation), there is no need to read this register because the derivative key is
located in the AES_KEYRx registers.
– In mode 3 (decryption) and mode 4 (key derivation + decryption), the 4 words read represent the
plain text from MSB to LSB.
Note: This register must be accessed with 32-bit data width.
742/1693
27
26
25
24
rw
rw
rw
rw
11
10
9
8
rw
rw
rw
rw
27
26
25
24
DOUTR[31:16]
r
r
r
r
11
10
9
8
DOUTR[15:0]
r
r
r
r
DocID024597 Rev 3
23
22
21
DINR[31:16]
rw
rw
rw
7
6
5
DINR[15:0]
rw
rw
rw
23
22
21
r
r
r
7
6
5
r
r
r
20
19
18
17
rw
rw
rw
rw
4
3
2
1
rw
rw
rw
rw
20
19
18
17
r
r
r
r
4
3
2
1
r
r
r
r
RM0351
16
rw
0
rw
16
r
0
r

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32L4x6 and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF