Figure 102. Ecb Encryption And Decryption Principle - STMicroelectronics STM32WL5 Series Reference Manual

Advanced arm-based 32-bit mcus with sub-ghz radio solution
Table of Contents

Advertisement

AES hardware accelerator (AES)
Note:
The chaining mode may be changed only when AES is disabled (bit EN of the AES_CR
register cleared).
Principle of each AES chaining mode is provided in the following subsections.
Detailed information is in dedicated sections, starting from
chaining modes (ECB,
Electronic codebook (ECB) mode
Legend
ECB is the simplest mode of operation. There are no chaining operations, and no special
initialization stage. The message is divided into blocks and each block is encrypted or
decrypted separately.
Note:
For decryption, a special key scheduling is required before processing the first block.
650/1450
CBC).

Figure 102. ECB encryption and decryption principle

Plaintext block 1
key
Encrypt
Ciphertext block 1
Plaintext block 1
key
input
output
key
scheduling
Ciphertext block 1
Encryption
Plaintext block 2
key
Encrypt
Ciphertext block 2
Decryption
Plaintext block 2
key
Decrypt
Decrypt
Ciphertext block 2
RM0453 Rev 5
Section 23.4.8: AES basic
Plaintext block 3
key
Encrypt
Ciphertext block 3
Plaintext block 3
key
Decrypt
Ciphertext block 3
RM0453
MSv42140V1

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32wl55 seriesStm32wl54 series

Table of Contents