Download Print this page

Aes Chaining Algorithms - ST STM32F413 Reference Manual

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32F413:

Advertisement

RM0430
to switch the AES to mode 3 (decryption mode), there is no need to write the AES_KEYRx
registers if their content corresponds to the derivation key (previously computed by mode 2).
In mode 4 (key derivation + decryption), the AES_KEYRx registers contain only the
encryption key. The derivation key is calculated internally without any write to these
registers.
24.5

AES chaining algorithms

Five algorithms are supported by the AES hardware and can be selected through the
CHMOD[2:0] bits in the AES_CR register when the AES is disabled (bit EN = 0):
Electronic codebook (ECB)
Cipher block chaining (CBC)
Counter mode (CTR)
Galois counter mode (GCM) and Galois message authentication code mode (GMAC)
Cipher message authentication code mode (CMAC)
24.5.1
Electronic codebook (ECB)
This is the default mode. This mode does not use the AES_IVR register. There are no
chaining operations. The message is divided into blocks and each block is encrypted
separately
Figure 225
encryption and decryption respectively.
Advanced encryption standard hardware accelerator (AES)
.
and
Figure 226
describe the principle of the electronic codebook algorithm for
Figure 225. ECB encryption mode
DocID029473 Rev 3
683/1284
715

Advertisement

loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32f423