Initialization Vectors - Cryp_Iv0; Figure 207. 64-Bit Block Construction According To Datatype - ST STM32F205 series Reference Manual

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32F205 series:
Table of Contents

Advertisement

Cryptographic processor (CRYP)
bit swapping operation
IN FIFO
bit string
byte swapping operation
IN FIFO
bit string
hald-word swapping operation
IN FIFO
bit string
No swapping operation
IN FIFO
bit string
19.3.4
Initialization vectors - CRYP_IV0...1(L/R)
Initialization vectors are considered as two 64-bit data items. They therefore do not have the
same data format and representation in system memory as plaintext or cypher data, and
they are not affected by the DATATYPE value.
Initialization vectors are defined by two consecutive 32-bit words, CRYP_IVL (left part,
noted as bits IV1...32) and CRYP_IVR (right part, noted as bits IV33...64).
524/1378

Figure 207. 64-bit block construction according to DATATYPE

bit 31
bit 30
bit 2
bit 31
bit 30
bit 2
M1
M2
M30
Byte 1,3
Byte 1,2
Byte 1,1
bits 7...0
bits 7...0
bits 7...0
Byte 0,3
Byte 0,2
Byte 0,1
bits 7...0
bits 7...0
bits 7...0
Byte 0,0
Byte 0,1
Byte 0,2
M1...8
M9...16
M17...24
Half-word 1,1
bits 15...0
Half-word 0,1
bits 15...0
Half-word 0,0
M1...16
Word 1
bits 31...0
Word 0
bits 31...0
Word 0
M1...32
RM0033 Rev 8
bit 1
bit 0
second word written into the CRYP_DIN register
first word written into the CRYP_DIN register
bit 1
bit 0
M31
M32
M33
Byte 1,0
second word written into the CRYP_DIN register
bits 7...0
Byte 0,0
first word written into the CRYP_DIN register
bits 7...0
Byte 0,3
Byte 1,0
M33...40
M25...32
Half-word 1,0
second word written into the CRYP_DIN register
bits 15...0
Half-word 0,0
first word written into the CRYP_DIN register
bits 15...0
Half-word 0,1
Half-word 1,0
M17...32
M33...48
second word written into the CRYP_DIN register
first word written into the CRYP_DIN register
DATATYPE = 11b
M34
M62
M63
DATATYPE = 10b
(bit ordering within byte is unchanged)
Byte 1,1
Byte 1,2
M41...48
M49...56
M57...64
DATATYPE = 01b
Half-word 1,1
M49...64
DATATYPE = 00b
Word 1
M33...64
RM0033
M64
Byte 1,3
ai16075

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F205 series and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Stm32f207 seriesStm32f215 seriesStm32f217 series

Table of Contents