Table 22-80 – Freescale Semiconductor MCF5480 User Manual

Page 688

Advertising
background image

MCF548x Reference Manual, Rev. 3

22-86

Freescale Semiconductor

Table 22-80

lists several different descriptors that use the format shown in

Table 22-79

.

Table 22-81

shows the middle descriptor for a statically assigned AESU.

Table 22-82

lists several different descriptors that use the middle descriptor format shown in

Table 22-81

.

PTR_7

MAC Out Pointer

NULL

PTR_NEXT

Next Descriptor Pointer Pointer to next data packet descriptor

Table 22-80. Typical Header Values for Using First Static AESU Descriptor Format

Header Value

Mode

E/D

0x6030010

CBC

Encrypt

0x60200010

CBC

Decrypt

0x6010010

ECB

Encrypt

0x60000010

ECB

Decrypt

0x60600010

CTR

Table 22-81. Middle Descriptor for a Statically Assigned AESU

Field Name

Value/Type

Description

Header

see

Table 22-82

Header common to several descriptors (TYPE 0001)

LEN_1

Length (not used)

NULL

PTR_1

Pointer (not used)

NULL

LEN_2

IV Length

NULL

PTR_2

IV Pointer

NULL

LEN_3

Key Length

NULL

PTR_3

Key Pointer

NULL

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

PTR_7

MAC Out Pointer

NULL

PTR_NEXT

Next Descriptor Pointer Pointer to next data packet descriptor

Table 22-79. First Descriptor for a Statically Assigned AESU (Continued)

Field Name

Value/Type

Description

Advertising
This manual is related to the following products: