Cryptographic processor (CRYP)
Figure 204
1. K: key; C: cipher text; I: input Block; o: output block; Ps: plain text before swapping (when decoding) or
after swapping (when encoding); Cs: cipher text after swapping (when decoding) or before swapping (when
encoding); P: plain text; IV: Initialization vectors.
520/1378
and
Figure 205
illustrate AES-CTR encryption and decryption, respectively.
Figure 204. AES-CTR mode encryption
AHB2 data write
(before CRYP
is enabled)
+1
K0...3
(I + 1) is written
back into IV
at same time
than C is pushed
in OUT FIFO
RM0033 Rev 8
IN FIFO
plaintext P
DATATYPE
swapping
IV0...1(L/R)
I, 128 bits
128, 192
or 256
AEA, encrypt
O, 128 bits
+
DATATYPE
swapping
OUT FIFO
ciphertext C
P, 128 bits
Ps, 128 bits
Cs, 128 bit
C, 128 bits
RM0033
ai16073b
Need help?
Do you have a question about the STM32F205 series and is the answer not in the manual?
Questions and answers