RM0440 Rev 4 1493/2126
RM0440 AES hardware accelerator (AES)
1538
Cipher block chaining (CBC) mode
Figure 503. CBC encryption and decryption principle
In CBC mode the output of each block chains with the input of the following block. To make
each message unique, an initialization vector is used during the first block processing.
Note: For decryption, a special key scheduling is required before processing the first block.
MSv42141V1
Encryption
Plaintext block 1 Plaintext block 2 Plaintext block 3
Ciphertext block 1 Ciphertext block 2 Ciphertext block 3
Encrypt Encrypt Encrypt
Decryption
key key key
Plaintext block 1 Plaintext block 2 Plaintext block 3
Ciphertext block 1 Ciphertext block 2 Ciphertext block 3
Decrypt Decrypt Decrypt
key key key
input
output
key
scheduling
Legend
initialization
vector
initialization
vector