38.3. Block Diagram
Figure 38-1. AES Block Diagram
ADD ROUND KEY
SUBBYTES
SHIFT ROWS
MIX COLUMNS
ADD ROUND KEY
SUBBYTES
SHIFT ROWS
ADD ROUND KEY
Nr-1 ro unds
E
N
C
R
Y
P
TI
O
N
R
O
U
N
D
PLAINTEXT
F
IN
A
L
R
O
U
N
D
CIPHERTEXT
ENCRYPTION
Nr-1 ro unds
ADD ROUND KEY
INV SHIFT ROWS
INV SUBBYTES
ADD ROUND KEY
INV MIX COLUMNS
INV SHIFT ROWS
INV SUBBYTES
ADD ROUND KEY
D
E
C
R
Y
P
T
IO
N
R
O
U
N
D
CIPHERTEXT
FI
N
A
L
R
O
U
N
D
PLAINTEXT
DECRYPTION
Atmel SAM L22G / L22J / L22N [DATASHEET]
Atmel-42402E-SAM L22G / L22J / L22N_Datasheet_Complete-07/2016
889