EasyManuals Logo
Home>ST>Microcontrollers>STM32L4x6

ST STM32L4x6 User Manual

ST STM32L4x6
1693 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #718 background imageLoading...
Page #718 background image
Advanced encryption standard hardware accelerator (AES) RM0351
718/1693 DocID024597 Rev 3
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.
25.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)
25.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 172 and Figure 173 describe the principle of the electronic codebook algorithm for
encryption and decryption respectively.
Figure 172. ECB encryption mode
069
%ORFNFLSKHU
(QFU\SWLRQ
$(6B.(<5[
'DWDW\SH>@
6:$3
PDQDJHPHQW
$(6B',153ODLQWH[W
6:$3
PDQDJHPHQW
'DWDW\SH>@
$(6B'2875&LSKHUWH[W

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32L4x6 Specifications

General IconGeneral
BrandST
ModelSTM32L4x6
CategoryMicrocontrollers
LanguageEnglish

Related product manuals