
Table 15-4. AESR command example
Register
Before
After
CA0
0x0102_0304
0x0106_0B00
CA1
0x0506_0708
0x050A_0F04
CA2
0x090A_0B0C
0x090E_0308
CA3
0x0D0E_0F00
0x0D02_070C
Where:
• row 1 = CA0[31:24], CA1[31:24], CA2[31:24], CA3[31:24]
• row 2 = CA0[23:16], CA1[23:16], CA2[23:16], CA3[23:16]
• row 3 = CA0[15:8], CA1[15:8], CA2[15:8], CA3[15:8]
• row 4 = CA0[7:0], CA1[7:0], CA2[7:0], CA3[7:0]
15.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. The table below shows an example.
Table 15-5. AESIR command example
Register
Before
After
CA0
0x0106_0B00
0x0102_0304
CA1
0x050A_0F04
0x0506_0708
CA2
0x090E_0308
0x090A_0B0C
CA3
0x0D02_070C
0x0D0E_0F00
Where:
• row 1 = CA0[31:24], CA1[31:24], CA2[31:24], CA3[31:24]
• row 2 = CA0[23:16], CA1[23:16], CA2[23:16], CA3[23:16]
• row 3 = CA0[15:8], CA1[15:8], CA2[15:8], CA3[15:8]
• row 4 = CA0[7:0], CA1[7:0], CA2[7:0], CA3[7:0]
15.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, that is, inverse initial
permutation, performs on CA2 and CA3 after the round operation. The round operation
Functional description
K32 L2A Reference Manual, Rev. 2, 01/2020
338
NXP Semiconductors
Summary of Contents for K32 L2A Series
Page 2: ...K32 L2A Reference Manual Rev 2 01 2020 2 NXP Semiconductors...
Page 42: ...K32 L2A Reference Manual Rev 2 01 2020 42 NXP Semiconductors...
Page 122: ...Flash Memory Clock K32 L2A Reference Manual Rev 2 01 2020 122 NXP Semiconductors...
Page 158: ...Debug and security K32 L2A Reference Manual Rev 2 01 2020 158 NXP Semiconductors...
Page 174: ...Module Signal Description Tables K32 L2A Reference Manual Rev 2 01 2020 174 NXP Semiconductors...
Page 246: ...Application information K32 L2A Reference Manual Rev 2 01 2020 246 NXP Semiconductors...
Page 374: ...CMP Trigger Mode K32 L2A Reference Manual Rev 2 01 2020 374 NXP Semiconductors...
Page 384: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 384 NXP Semiconductors...
Page 592: ...Application Information K32 L2A Reference Manual Rev 2 01 2020 592 NXP Semiconductors...
Page 656: ...Functional Description K32 L2A Reference Manual Rev 2 01 2020 656 NXP Semiconductors...
Page 664: ...Functional Description K32 L2A Reference Manual Rev 2 01 2020 664 NXP Semiconductors...
Page 744: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 744 NXP Semiconductors...
Page 762: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 762 NXP Semiconductors...
Page 806: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 806 NXP Semiconductors...
Page 868: ...Integer square root K32 L2A Reference Manual Rev 2 01 2020 868 NXP Semiconductors...
Page 976: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 976 NXP Semiconductors...
Page 1012: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1012 NXP Semiconductors...
Page 1094: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1094 NXP Semiconductors...
Page 1132: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1132 NXP Semiconductors...
Page 1182: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1182 NXP Semiconductors...
Page 1290: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1290 NXP Semiconductors...