EU Specific Data Packet Descriptors
MCF548x Reference Manual, Rev. 3
Freescale Semiconductor 22-101

Table 22-104 lists typical DEU/HMAC multi-function descriptor header values for the first descriptor.

LEN_4 IV Length NULL
PTR_4 IV Pointer NULL
LEN_5 Data In Length Bytes of input data
PTR_5 Data In Pointer Address of ciphertext to be decrypted
LEN_6 Data Out Length Bytes of output data (should be equal to length of data in)
PTR_6 Data Out Pointer Address where output data is to be written
LEN_7 HMAC Out Length Number of bytes HMAC output (16, 20 or 32 bytes)
PTR_7 HMAC Out Pointer Address where hash output is to be written
PTR_NEXT Next Descriptor Pointer Pointer to next data packet descriptor

Table 22-104. Typical Header Values for Final Static Multi-Function DEU Descriptors

Header Value E/C S/T E/D Algorithm HMAC Pad
0x20038D22 ECB Single DES Decrypt SHA256 Yes Yes
0x20138D20 ECB Single DES Encrypt SHA256 Yes Yes
0x20038E22 ECB Single DES Decrypt MD5 Yes Yes
0x20138E20 ECB Single DES Encrypt MD5 Yes Yes
0x20038C22 ECB Single DES Decrypt SHA Yes Yes
0x20138C20 ECB Single DES Encrypt SHA Yes Yes
0x20438D22 ECB Triple DES Decrypt SHA256 Yes Yes
0x20538D20 ECB Triple DES Encrypt SHA256 Yes Yes
0x20438E22 ECB Triple DES Decrypt MD5 Yes Yes
0x20538E20 ECB Triple DES Encrypt MD5 Yes Yes
0x20438C22 ECB Triple DES Decrypt SHA Yes Yes
0x20538C20 ECB Triple DES Encrypt SHA Yes Yes
0x20238D22 CBC Single DES Decrypt SHA256 Yes Yes
0x20338D20 CBC Single DES Encrypt SHA256 Yes Yes
0x20238E22 CBC Single DES Decrypt MD5 Yes Yes
0x20338E20 CBC Single DES Encrypt MD5 Yes Yes
0x20238C22 CBC Single DES Decrypt SHA Yes Yes
0x20338C20 CBC Single DES Encrypt SHA Yes Yes
0x20638D22 CBC Triple DES Decrypt SHA256 Yes Yes
0x20738D20 CBC Triple DES Encrypt SHA256 Yes Yes

Table 22-103. Final Descriptor for Multi-Function Encrytion/Decryption (Continued)

Field Name Value/Type Description