English
Language : 

K60P100M100SF2RM Datasheet, PDF (778/1809 Pages) Freescale Semiconductor, Inc – K60 Sub-Family Reference Manual
Functional Description
Register
CA0
CA1
CA2
CA3
Table 32-17. AESR Command Example
Before
0x0102_0304
0x0506_0708
0x090A_0B0C
0x0D0E_0F00
After
0x0106_0B00
0x050A_0F04
0x090E_0308
0x0D02_070C
32.6.3.16 AES Inverse Shift Rows (AESIR)
The AESIR command performs the AES inverse shift rows operation on registers CA0,
CA1, CA2 and CA3. This table shows an example.
Table 32-18. AESIR Command Example
Register
CA0
CA1
CA2
CA3
Before
0x0106_0B00
0x050A_0F04
0x090E_0308
0x0D02_070C
After
0x0102_0304
0x0506_0708
0x090A_0B0C
0x0D0E_0F00
32.6.3.17 DES Round (DESR)
The DESR command performs a round of the DES algorithm and a key schedule update
with the following source and destination designations: CA0=C, CA1=D, CA2=L,
CA3=R. If the IP bit is set, DES initial permutation performs on CA2 and CA3 before the
round operation. If the FP bit is set, DES final permutation (inverse initial permutation)
performs on CA2 and CA3 after the round operation. The round operation uses the source
values from registers CA0 and CA1 for the key addition operation. The KSx field
specifies the shift for the key schedule operation to update the values in CA0 and CA1.
The following table defines the specific shift function performed based on the KSx field.
Table 32-19. Key Shift Function Codes
KSx Code
0
1
2
3
KSx
Define
KSL1
KSL2
KSR1
KSR2
Shift Function
Left 1
Left 2
Right 1
Right 2
K60 Sub-Family Reference Manual, Rev. 6, Nov 2011
778
Freescale Semiconductor, Inc.