User guide

48 MPC184/MPC185 Security Co-Processor Software User’s Guide MOTOROLA
PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE
Global Definitions Global Definitions
4.6.9 ECC Public Key Request Structures
The following sections provide structure definitions for ECC public key requests.
4.6.9.1 ECC_LOADPOINTK_STATIC_REQ
unsigned long opId;
unsigned long channel;
PMPC18x_NOTIFY_ROUTINE notify;
PMPC18x_NOTIFY_CTX pNotifyCtx;
PMPC18x_NOTIFY_ON_ERROR_ROUTINE notify_on_error;
MPC18x_NOTIFY_ON_ERROR_CTX ctxNotifyOnErr;
int status;
void* nextReq;
unsigned long x1DataBytes;
unsigned char* x1Data;
unsigned long y1DataBytes;
unsigned char* y1Data;
unsigned long z1DataBytes;
unsigned char* z1Data;
Dynamic channels are not valid for this request. A channel value of zero is invalid.
NUM_EC_STATIC_LOADCTX_DESC defines the number of descriptors within the
DPD_EC_SA_LOADCTX_GROUP that use this request.
DPD_EC_SA_LOADCTX_GROUP (0x5500) defines the group for all descriptors within this request.
Table 37. ECC_LOADPOINTK_STATIC_REQ Valid Descriptors (opId)
Descriptors Value Function Description
DPD_EC_SA_FP_AFF_LDCTX 0x5500 Load the context of a static channel for an electronic
codebook for the FP AFF
DPD_EC_SA_FP_PROJ_LDCTX 0x5501 Load the context of a static channel for an electronic
codebook for the FP project
DPD_EC_SA_F2M_AFF_LDCTX 0x5502 Load the context of a static channel for an electronic
codebook for the F2M AFF
DPD_EC_SA_F2M_PROJ_LDCTX 0x5503 Load the context of a static channel for an electronic
codebook for the F2M project