Table 22-97, Shows the representative descri – Freescale Semiconductor MCF5480 User Manual

Page 698

Advertising
background image

MCF548x Reference Manual, Rev. 3

22-96

Freescale Semiconductor

Table 22-98

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

Table 22-97. First Descriptor for Static Multi-Function Encryption/Decryption

Field Name

Value/Type

Description

Header

Table 22-98

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 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

NULL

PTR_7

HMAC Out Pointer

NULL

PTR_NEXT

Next Descriptor Pointer Pointer to next data packet descriptor

Table 22-98. Typical Header Values for First Static Multi-Function DEU Descriptors

Header Value

E/C

S/T

E/D

Algorithm

HMAC

Pad

0x20039922

ECB

Single DES

Decrypt

SHA256

Yes

No

0x20139920

ECB

Single DES

Encrypt

SHA256

Yes

No

0x20039A22

ECB

Single DES

Decrypt

MD5

Yes

No

0x20139A20

ECB

Single DES

Encrypt

MD5

Yes

No

0x20039822

ECB

Single DES

Decrypt

SHA

Yes

No

0x20139820

ECB

Single DES

Encrypt

SHA

Yes

No

0x20439922

ECB

Triple DES

Decrypt

SHA256

Yes

No

0x20539920

ECB

Triple DES

Encrypt

SHA256

Yes

No

0x20439A22

ECB

Triple DES

Decrypt

MD5

Yes

No

0x20539A20

ECB

Triple DES

Encrypt

MD5

Yes

No

0x20439822

ECB

Triple DES

Decrypt

SHA

Yes

No

0x20539820

ECB

Triple DES

Encrypt

SHA

Yes

No

0x20239222

CBC

Single DES

Decrypt

SHA256

Yes

No

Advertising
This manual is related to the following products: