Cryptographic Acceleration Unit (CAU)
MCF52235 ColdFire® Integrated Microcontroller Reference Manual, Rev. 6
5-8
Freescale Semiconductor
5.3.3.15
AES Shift Rows (
AESR
)
cp0ld.l #AESR
The
AESR
command performs the AES shift rows operation on registers CA0, CA1, CA2, and CA3.
shows an example.
5.3.3.16
AES Inverse Shift Rows (
AESIR
)
cp0ld.l #AESIR
The
AESIR
command performs the AES inverse shift rows operation on registers CA0, CA1, CA2 and
CA3.
has an example.
5.3.3.17
DES Round (
DESR
)
cp0ld.l #DESR+{IP}+{FP}+{KSx}
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 specific shift function performed based on the KSx field.
Table 5-7.
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
Table 5-8.
AESIR
Command Example
Register
Before
After
CA0
01060B00
01020304
CA1
050A0F04
05060708
CA2
090E0308
090A0B0C
CA3
0D02070C
0D0E0F00
Table 5-9. Key Shift Function Codes
KSx
Code
KSx
Define
Shift Function
0
KSL1
Left 1
1
KSL2
Left 2
Because
of
an
order
from
the
United
States
International
Trade
Commission,
BGA-packaged
product
lines
and
part
numbers
indicated
here
currently
are
not
available
from
Freescale
for
import
or
sale
in
the
United
States
prior
to
September
2010:MCF52234CVM60,
MCF52235CVM60