MSC8144E Reference Manual, Rev. 3
26-4
Freescale
Semiconductor
Security Engine (SEC)
26.1.2.2 Descriptors and Link Tables
The SEC controller uses descriptors to access all cryptographic functions. A descriptor specifies
the cryptographic function to perform and contains pointers to all necessary input and output data
locations. Some descriptor types perform multiple functions as required by specific protocols. A
sample descriptor is described in Table 26-1.
Each descriptor contains eight 64-bit sets, consisting of the following:
One 64-bit header. The header describes the required services and encodes information
that indicates the EUs to use and the modes to set. It also indicates whether notification
should be sent to the core processor when the descriptor operation is complete.
Seven 64-bit pointers used to locate input or output data. Each pointer can point either
directly to the data or to a link table that lists a set of data segments to concatenate.
Link tables are used by the descriptors to allow concatenation of data parcels as required.
Note:
For details, see Section 26.2.1.1, Descriptors, on page 26-9.
Table 26-1. Example Descriptor
Field Name
Value
Description
Header
0x20531E0800000000
Example header for IPsec ESP outbound using DES and MD-5
Length0
Extent0
Pointer0
16
0
(32 or 36-bit pointer)
Number of bytes in authenticate key
Unused
Pointer to authentication key
Length1
Extent1
Pointer1
16
0
(32 or 36-bit pointer)
Number of bytes in authentication-only data
Unused
Pointer to authentication-only data
Length2
Extent2
Pointer2
8
0
(32 or 36-bit pointer)
Length of input context (initialization vector—IV)
Unused
Pointer to input context
Length3
Extent3
Pointer3
8
0
(32 or 36-bit pointer)
Number of bytes in cipher key
Unused
Pointer to cipher key
Length4
Extent4
Pointer4
1500
0
(32 or 36-bit pointer)
Number of bytes of data to be ciphered
Unused
Pointer to input data to perform ciphering upon
Length5
Extent5
Pointer5
1500
12
(32 or 36-bit pointer)
Number of bytes of data after ciphering
Number of bytes in authentication result (ICV)
Pointer to location where cipher output is to be written, followed by ICV
Length6
Extent6
Pointer6
8
0
(32 or 36-bit pointer)
Length of output Context (IV)
Unused
Pointer to location where altered Context is to be written
Содержание MSC8144E
Страница 1: ...MSC8144E Reference Manual Quad Core Media Signal Processor MSC8144ERM Rev 3 July 2009 ...
Страница 40: ...MSC8144E Reference Manual Rev 3 xl Freescale Semiconductor Contents 26 5 12 8 RNG Output FIFO 26 186 ...
Страница 48: ...MSC8144E Reference Manual Rev 3 xlviii Freescale Semiconductor ...
Страница 86: ...MSC8144E Reference Manual Rev 3 1 38 Freescale Semiconductor Overview ...
Страница 167: ...OCE Event and JTAG Test Access Port Signals MSC8144E Reference Manual Rev 3 Freescale Semiconductor 3 59 ...
Страница 168: ...MSC8144E Reference Manual Rev 3 3 60 Freescale Semiconductor External Signals ...
Страница 242: ...MSC8144E Reference Manual Rev 3 5 26 Freescale Semiconductor Reset ...
Страница 314: ...MSC8144E Reference Manual Rev 3 8 24 Freescale Semiconductor General Configuration Registers ...
Страница 414: ...MSC8144E Reference Manual Rev 3 10 14 Freescale Semiconductor MSC8144E SC3400 DSP Subsystem ...
Страница 452: ...MSC8144E Reference Manual Rev 3 11 38 Freescale Semiconductor Internal Memory Subsystem ...
Страница 520: ...MSC8144E Reference Manual Rev 3 12 68 Freescale Semiconductor DDR SDRAM Memory Controller ...
Страница 884: ...MSC8144E Reference Manual Rev 3 17 44 Freescale Semiconductor RapidIO Interface Dedicated DMA Controller ...
Страница 1070: ...MSC8144E Reference Manual Rev 3 21 28 Freescale Semiconductor Timers ...