14.6.1.7.1 AES_CTRL

The AES_CTRL register controls the operation of the security module.

Note:
  1. Do not access this register during AES operation to read the AES core status. A read or write access during AES operation stops the actual processing.
  2. To read the AES status use register bit AES_DONE (register 0x82, AES_STATUS).
Name: AES_CTRL
Offset: 0x83
Reset: 0x00
Property: -

Bit 76543210 
 AES_REQUESTAES_MODE[2:0]AES_DIR 
Access WR/WR/WR/WR/WRRR 
Reset 00000000 

Bit 7 – AES_REQUEST AES_REQUEST

A write access with AES_REQUEST = 1 initiates the AES operation.

Table 14-38. AES_REQUEST
Value Description
0x0 Security module, AES core idle
0x1 A write access starts the AES operation

Bits 6:4 – AES_MODE[2:0] AES_MODE

This register bit sets the AES operation mode.

Table 14-36. AES_MODE
Value Description
0x0 ECB mode
0x1 KEY mode
0x2 CBC mode
0x3 - 0x7 Reserved

Bit 3 – AES_DIR AES_DIR

The register bit AES_DIR sets the AES operation direction, either encryption or decryption.

Table 14-37. AES_DIR
Value Description
0x0 AES encryption (ECB, CBC)
0x1 AES decryption (ECB)