EasyManuals Logo

STMicroelectronics STM32F405 User Manual

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
Page #734 background imageLoading...
Page #734 background image
Cryptographic processor (CRYP) RM0090
734/1731 DocID018909 Rev 11
Figure 230. Initialization vectors use in the TDES-CBC encryption
23.3.5 CRYP busy state
When there is enough data in the input FIFO (at least 2 words for the DES or TDES
algorithm mode, 4 words for the AES algorithm mode) and enough free-space in the output
FIFO (at least 2 (DES/TDES) or 4 (AES) word locations), and when the bit CRYPEN = 1 in
the CRYP_CR register, then the cryptographic processor automatically starts an encryption
or decryption process (according to the value of the ALGODIR bit in the CRYP_CR
register).
This process takes 48 AHB2 clock cycles for the Triple-DES algorithm, 16 AHB2 clock
cycles for the simple DES algorithm, and 14, 16 or 18 AHB2 clock cycles for the AES with
key lengths of 128, 192 or 256 bits, respectively. During the whole process, the BUSY bit in
the CRYP_SR register is set to ‘1’. At the end of the process, two (DES/TDES) or four (AES)
words are written by the CRYP Core into the output FIFO, and the BUSY bit is cleared. In
#290?)6,
BITSTRING
-----
4$%3#"# ENCRYPTION EXAMPLE $!4!490% B
-----
BIT
BITBITBITBIT
BITBITBITBITBIT
FIRSTWORDWRITTENINTOTHE#290?$).REGISTER
SECONDWORDWRITTENINTOTHE#290?$).REGISTER
)6
#290?)62
 
$%!%NCRYPT +
$%!$ECRYPT +
$%!%NCRYPT +
#290?)6, #290?)62
 
#290RESULTISCOPIED
BACKTOTHE#290?)6,2
REGISTERSAFTERCYPHERING
/54&)&/
&IRSTWORDFROMTHE/54&)&/CONTAINSTHELEFTPARTOFTHECYPHERTEXTBLOCK/
3ECONDWORDFROM/54&)&/CONTAINSTHERIGHTPARTOFCYPHERTEXTBLOCK/
)6 )6 )6 )6 )6 )6 )6 )6 )6
)
) ) ) ) ) ) )) )
)6
)6 )6 )6 )6 )6 )6 )6 )6 )6
AI

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the STMicroelectronics STM32F405 and is the answer not in the manual?

STMicroelectronics STM32F405 Specifications

General IconGeneral
BrandSTMicroelectronics
ModelSTM32F405
CategoryController
LanguageEnglish

Related product manuals