2 statically assigned aesu, Statically assigned aesu -85 – Freescale Semiconductor MCF5480 User Manual
Page 687

EU Specific Data Packet Descriptors
MCF548x Reference Manual, Rev. 3
Freescale Semiconductor
22-85
lists several different descriptors that use the format shown in
22.14.5.2 Statically Assigned AESU
shows the first descriptor for a statically assigned AESU.
PTR_6
IV Out Pointer
Address where output IV is to be written (optional)
LEN_7
MAC Out Length
NULL
PTR_7
MAC Out Pointer
NULL
PTR_NEXT
Next Descriptor Pointer Pointer to next data packet descriptor
Table 22-78. Typical Header Values for Dynamic AESU Format
Header Value
Mode
E/D
0x6030010
CBC
Encrypt
0x60200010
CBC
Decrypt
0x6010010
ECB
Encrypt
0x60000010
ECB
Decrypt
0x60600010
CTR
—
Table 22-79. First Descriptor for a Statically Assigned AESU
Field Name
Value/Type
Description
Header
see
Header common to several descriptors (TYPE 0001)
LEN_1
Length (not used)
NULL
PTR_1
Pointer (not used)
NULL
LEN_2
IV Length
Number of bytes in input IV (56 bytes) (optional)
PTR_2
IV Pointer
Address of input IV (optional)
LEN_3
Key Length
Number of bytes in Key (16, 24, or 32 bytes)
PTR_3
Key Pointer
Address of Key
LEN_4
Data In Length
Number of bytes of data to be ciphered (multiple of 16)
PTR_4
Data In Pointer
Address of data to be ciphered
LEN_5
Data Out Length
Bytes of output data (should be equal to length of data in)
PTR_5
Data Out Pointer
Address to write output data
LEN_6
IV Out Length
NULL
PTR_6
IV Out Pointer
NULL
LEN_7
MAC Out Length
NULL
Table 22-77. Descriptor for a Dynamically Assigned AESU (Continued)
Field Name
Value/Type
Description