AES Accelerator Registers
418
SLAU367P – October 2012 – Revised April 2020
Copyright © 2012–2020, Texas Instruments Incorporated
AES256 Accelerator
14.3.1 AESACTL0 Register
AES Accelerator Control Register 0
Figure 14-14. AESACTL0 Register
15
14
13
12
11
10
9
8
AESCMEN
Reserved
AESRDYIE
AESERRFG
Reserved
AESRDYIFG
rw-0
r0
r0
rw-0
rw-0
r0
r0
rw-0
7
6
5
4
3
2
1
0
AESSWRST
AESCMx
Reserved
AESKLx
AESOPx
rw-0
r0
r0
r0
rw-0
rw-0
rw-0
rw-0
Writes are ignored when AESCMEN = 1 and AESBLKCNTx > 0.
Table 14-12. AESACTL0 Register Description
Bit
Field
Type
Reset
Description
15
AESCMEN
RW
0h
AESCMEN enables the support of the cipher modes ECB, CBC, OFB and CFB
together with the DMA. Writes are ignored when AESCMEN = 1 and
AESBLKCNTx > 0.
0 = No DMA triggers are generated
1 = DMA cipher mode support operation is enabled and the corresponding DMA
triggers are generated.
14-13
Reserved
R
0h
Reserved
12
AESRDYIE
RW
0h
AES ready interrupt enable. AESRDYIE is not reset by AESSWRST = 1.
0b = Interrupt disabled
1b = Interrupt enabled
11
AESERRFG
RW
0h
AES error flag. AESAKEY or AESADIN were written while an AES operation was
in progress. The bit must be cleared by software.
0b = No error
1b = Error occurred
10-9
Reserved
R
0h
Reserved
8
AESRDYIFG
RW
0h
AES ready interrupt flag. Set when the selected AES operation was completed
and the result can be read from AESADOUT. Automatically cleared when
AESADOUT is read or AESAKEY or AESADIN is written.
0b = No interrupt pending
1b = Interrupt pending
7
AESSWRST
RW
0h
AES software reset. Immediately resets the complete AES accelerator module
even when busy except for the AESRDYIE, the AESKLx and the AESOPx bits. It
also clears the (internal) state memory.
The AESSWRST bit is automatically reset and is always read as zero.
0b = No reset
1b = Reset AES accelerator module
6-5
AESCMx
RW
0h
AES cipher mode select. These bits are ignored for AESCMEN = 0. Writes are
ignored when AESCMEN = 1 and AESBLKCNTx > 0.
00b = ECB
01b = CBC
10b = OFB
11b = CFB
4
Reserved
R
0h
Reserved
3-2
AESKLx
RW
0h
AES key length. These bits define which of the 3 AES standards is performed.
The AESKLx bits are not reset by AESSWRST = 1. Writes are ignored when
AESCMEN = 1 and AESBLKCNTx > 0.
00b = AES128. The key size is 128 bit.
01b = AES192. The key size is 192 bit.
10b = AES256. The key size is 256 bit.
11b = Reserved