EasyManua.ls Logo

STMicroelectronics STM32F405

STMicroelectronics STM32F405
1731 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
Loading...
Cryptographic processor (CRYP) RM0090
724/1731 DocID018909 Rev 11
Figure 226 and Figure 227 illustrate AES-CTR encryption and decryption, respectively.
Figure 226. AES-CTR mode encryption
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.
).&)&/
!%!ENCRYPT
3 E L W V
/54&)&/
&VELW
PLAINTEXT0
CIPHERTEXT#
SWAPPING
)6,2
2ELWV
,ELWV
$+%GDWDZULWH
EHIRUH&5<3
LVHQDEOHG
,LVZULWWHQ
EDFNLQWR,9
DWVDPHWLPH
WKDQ&LVSXVKHG
LQ287),)2
SWAPPING
&ELWV
'$7$7<3(
'$7$7<3(
+

OR
3VELWV

AIB

Table of Contents

Related product manuals