SEC 2.0 Reference Device Driver User's Guide
Table Of Contents
- SEC 2.0 Reference Device Driver User’s Guide
- 1 Overview
- 2 Device Driver Components
- 3 User Interface
- 4 Individual Request Type Descriptions
- 4.1 Random Number Requests
- 4.2 DES Requests
- 4.3 ARC4 Requests
- 4.4 Hash Requests
- 4.5 HMAC Requests
- 4.6 AES Requests
- 4.7 Integer Public Key Requests
- 4.8 ECC Public Key Requests
- 4.9 IPSec Requests
- 4.10 802.11 Protocol Requests
- 4.11 SRTP Protocol Requests
- 5 Sample Code
- 6 Linux Environment
- 7 VxWorks Environment
- 8 Porting

SEC 2.0 Reference Device Driver User’s Guide, Rev. 0
26 PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE Freescale Semiconductor
Individual Request Type Descriptions
DPD_EC_2OP_GROUP (0x5900) defines the group for all descriptors within this request.
4.8.3 ECC_SPKBUILD_REQ
COMMON_REQ_PREAMBLE
unsigned long a0DataBytes;
unsigned char *a0Data;
unsigned long a1DataBytes;
unsigned char *a1Data;
unsigned long a2DataBytes;
unsigned char *a2Data;
unsigned long a3DataBytes;
unsigned char *a3Data;
unsigned long b0DataBytes;
unsigned char *b0Data;
unsigned long b1DataBytes;
unsigned char *b1Data;
unsigned long buildDataBytes;
unsigned char *buildData;
NUM_EC_SPKBUILD_DESC defines the number of descriptors within the DPD_EC_SPKBUILD_GROUP that use this
request.
DPD_EC_SPKBUILD_GROUP (0x5a00) defines the group for all descriptors within this request.
Table 21. ECC_2OP_REQ Valid Descriptors (opId)
Descriptor Value Function Description
DPD_EC_F2M_LDCTX_MUL1_ULCTX 0x5900 Perform an F2M MULT1 operation
Table 22. ECC_SPKBUILD_REQ Valid Descriptor (opId)
Descriptor Value Function Description
DPD_EC_SPKBUILD_ULCTX 0x5A00 Using separate values for a0-a3 and b0-b1, build a
uniform data block that can be used to condense data
to a point that allow it to be used with ECC operational
requests.