Table 22-94, Shows the representative descriptor used – Freescale Semiconductor MCF5480 User Manual

Page 696

Advertising
background image

MCF548x Reference Manual, Rev. 3

22-94

Freescale Semiconductor

copy the last 8 bytes of the ciphertext to the Security Association Database Entry for this particular session

before transmitting the packet.

Table 22-95

lists typical DEU/HMAC multi-function descriptor header values.

Table 22-94. Descriptor for Dynamic Multi-Function Encryption

Field Name

Value/Type

Description

Header

Table 22-95

Header common to several descriptors (TYPE 0010)

LEN_1

HMAC Key Length

Number of bytes in HMAC Key

PTR_1

HMAC Key Pointer

Address of HMAC Key

LEN_2

HMAC Data Length

Number of bytes to be HMAC’d

PTR_2

HMAC Data Pointer

Address of data to be HMAC’d

LEN_3

Key Length

Number of bytes in Key (8, 16, 24, or 32 bytes)

PTR_3

Key Pointer

Address of Key

LEN_4

IV Length

Number of bytes in IV (8, 24, or 56)

PTR_4

IV Pointer

Address of IV

LEN_5

Data In Length

Bytes of plaintext to be encrypted

PTR_5

Data In Pointer

Address of plaintext to be encrypted

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-95. Typical Header Values for Dynamic Multi-Function DEU Descriptors

Header Value

E/C

S/T

E/D

Algorithm

HMAC

Pad

0x20131D20

ECB

Single DES

Encrypt

SHA256

Yes

Yes

0x20131E20

ECB

Single DES

Encrypt

MD5

Yes

Yes

0x20131C20

ECB

Single DES

Encrypt

SHA

Yes

Yes

0x20531D20

ECB

Triple DES

Encrypt

SHA256

Yes

Yes

0x20531E20

ECB

Triple DES

Encrypt

MD5

Yes

Yes

0x20531C20

ECB

Triple DES

Encrypt

SHA

Yes

Yes

0x20331D20

CBC

Single DES

Encrypt

SHA256

Yes

Yes

0x20331E20

CBC

Single DES

Encrypt

MD5

Yes

Yes

0x20331C20

CBC

Single DES

Encrypt

SHA

Yes

Yes

0x20731D20

CBC

Triple DES

Encrypt

SHA256

Yes

Yes

Advertising
This manual is related to the following products: