Cryptographic processor (CRYP)
RM0090
732/1731
DocID018909 Rev 11
cryptographic algorithm (for the AES, the block length is four 32-bit words, but swapping
only takes place at word level, so it is identical to the one described here for the TDES).
Note:
The same swapping is performed between the IN FIFO and the CRYP data block, and
between the CRYP data block and the OUT FIFO.
Figure 229. 64-bit block construction according to DATATYPE
"YTE
"YTE
"YTE
"YTE
-
-
-
-
).&)&/
BITSTRING
-
-
-
--
BITSWAPPINGOPERATION
).&)&/
BITSTRING
BYTESWAPPINGOPERATION
"YTE
"YTE
"YTE
"YTE
BITS
BITS
BITS
BITS
).&)&/
BITSTRING
HALDWORDSWAPPINGOPERATION
(ALFWORD
BITS
$!4!490%B
$!4!490%B
$!4!490%B
(ALFWORD
BITS
(ALFWORD
-
(ALFWORD
-
-
--
-
-
BIT
BIT
BIT
BIT
BIT
BIT
BIT
BIT
BIT
BIT
FIRSTWORDWRITTENINTOTHE#290?$).REGISTER
SECONDWORDWRITTENINTOTHE#290?$).REGISTER
"YTE
"YTE
"YTE
"YTE
BITS
BITS
BITS
BITS
FIRSTWORDWRITTENINTOTHE#290?$).REGISTER
SECONDWORDWRITTENINTOTHE#290?$).REGISTER
"YTE
"YTE
"YTE
"YTE
-
-
-
-
BITORDERINGWITHINBYTEISUNCHANGED
(ALFWORD
BITS
(ALFWORD
BITS
FIRSTWORDWRITTENINTOTHE#290?$).REGISTER
SECONDWORDWRITTENINTOTHE#290?$).REGISTER
(ALFWORD
-
(ALFWORD
-
).&)&/
BITSTRING
.OSWAPPINGOPERATION
$!4!490%B
7ORD
BITS
7ORD
-
7ORD
BITS
FIRSTWORDWRITTENINTOTHE#290?$).REGISTER
SECONDWORDWRITTENINTOTHE#290?$).REGISTER
7ORD
-
AI