AES hardware accelerator (AES)
20.4.7
AES task suspend and resume
A message can be suspended if another message with a higher priority must be processed.
When this highest priority message is sent, the suspended message can resume in both
encryption or decryption mode.
Suspend/resume operations do not break the chaining operation and the message
processing can resume as soon as AES is enabled again to receive the next data block.
Figure 82
order to send a shorter and higher-priority Message 2.
New higher-priority
message 2 to be
processed
A detailed description of suspend/resume operations is in the sections dedicated to each
AES mode.
20.4.8
AES basic chaining modes (ECB, CBC)
Overview
This section gives a brief explanation of the four basic operation modes provided by the
AES core: ECB encryption, ECB decryption, CBC encryption and CBC decryption. For
detailed information, refer to the FIPS publication 197 from November 26, 2001.
484/1390
gives an example of suspend/resume operation: Message 1 is suspended in
Figure 82. Example of suspend mode management
Message 1
128-bit block 1
128-bit block 2
128-bit block 3
128-bit block 4
128-bit block 5
128-bit block 6
...
AES suspend
sequence
AES resume
sequence
RM0444 Rev 5
RM0444
Message 2
128-bit block 1
128-bit block 2
MSv42148V1
Need help?
Do you have a question about the STM32G0 1 Series and is the answer not in the manual?