User guide

MOTOROLA MPC184/MPC185 Security Co-Processor Software User’s Guide 51
PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE
Global Definitions
4.6.9.4 ECC_POINT_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 par2DataBytes;
unsigned char* par2Data;
unsigned long par1DataBytes;
unsigned char* par1Data;
unsigned long expDataBytes;
unsigned char* expData;
unsigned long pDataBytes;
unsigned char* pData;
unsigned long pOutDataBytes;
unsigned char* pOutData;
Dynamic channels are valid for this request. A channel value of zero is valid.
NUM_EC_POINT_DESC defines the number of descriptors within the DPD_EC_LDCTX_kP_ULCTX_GROUP
that use this request.
DPD_EC_LDCTX_kP_ULCTX_GROUP (0x5800) defines the group for all descriptors within this request.
Table 40. ECC_POINT_REQ Valid Descriptors (opId)
Descriptors Value Function Description
DPD_EC_FP_AFF_LDCTX_kP_ULCTX 0x5800 Load context in a dynamic channel to using an
electronic codebook for the FP AFF then get the
resulting P multiplier context
DPD_EC_FP_PROJ_LDCTX_kP_ULCTX 0x5801 Load context in a dynamic channel to using an
electronic codebook for the FP project then get the
resulting P multiplier context
DPD_EC_F2M_AFF_LDCTX_kP_ULCT 0x5802 Load context in a dynamic channel to using an
electronic codebook for the F2M AFF then get the
resulting P multiplier context
DPD_EC_F2M_PROJ_LDCTX_kP_ULCTX 0x5803 Load context in a dynamic channel to using an
electronic codebook for the F2M project then get the
resulting P multiplier context
DPD_EC_FP_LDCTX_ADD_ULCT 0x5804 Load context in a dynamic channel to using an
electronic codebook for the FP then get the resulting
context from an add operation
DPD_EC_FP_LDCTX_DOUBLE_ULCTX 0x5805 Load context in a dynamic channel to using an
electronic codebook for the FP then get the resulting
context from a double operation