GD32F20x User Manual
208
5:3
ALGM[2:0]
Encryption/decryption algorithm mode, must be configured when BUSY=0
000: TDES-ECB with CAU_KEY1, 2, 3.
Initialization vectors (CAU_IV0..1) are not used
001: TDES-CBC with CAU_KEY1, 2, 3.
Initialization vectors (CAU_IV0) is used to XOR with data blocks
010: DES-ECB with only CAU_KEY1
Initialization vectors (CAU_IV0..1) are not used
011: DES-CBC with only CAU_KEY1
Initialization vectors (CAU_IV0) is used to XOR with data blocks
100: AES-ECB with CAU_KEY0, 1, 2, 3.
Initialization vectors (CAU_IV0..1) are not used
101: AES-CBC with CAU_KEY0, 1, 2, 3.
Initialization vectors (CAU_IV0..1) are used to XOR with data blocks
110: AES_CTR with CAU_KEY0, 1, 2, 3.
Initialization vectors (CAU_IV0..1) are used to XOR with data blocks
In this mode, encryption and decryption are same, then the CAUDIR is
disregarded.
111: AES key derivation for decryption mode. The input key must be same to that
used in encryption. The BUSY bit is set until the process has been finished, and
CAUEN is then cleared.
2
CAUDIR
CAU direction, must be configured when BUSY=0
0: encryption
1: decryption
1:0
Reserved
Must keep the reset value
10.9.2.
CAU Status register 0 (CAU_STAT0)
Address offset: 0x04
Reset value: 0x0000 0003
This register has to be accessed by word (32-bit)
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
BUSY
OFU
ONE
INF
IEM
r
r
r
r
r
Bits
Fields
Descriptions
31:5
Reserved
Must keep the reset value
4
BUSY
Busy bit
0: No processing. This is because:
Содержание GD32F20 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F20x ARM Cortex M3 32 bit MCU User Manual Revision 2 2 Oct 2019 ...
Страница 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Страница 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Страница 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Страница 385: ...GD32F20x User Manual 385 ...
Страница 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...