User guide

MOTOROLA MPC184/MPC185 Security Co-Processor Software User’s Guide 41
PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE
Global Definitions
4.6.8.2 MOD_EXP_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 aDataBytes;
unsigned char* aData;
unsigned long expBytes;
unsigned char* expData;
unsigned long modBytes;
unsigned char* modData;
unsigned long outBytes;
unsigned char* outData;
Dynamic channels are valid for this request. A channel value of zero is valid.
NUM_MM_EXP_DESC defines the number of descriptors within the DPD_MM_LDCTX_EXP_ULCTX_GROUP
that use this request.
DPD_MM_LDCTX_EXP_ULCTX_GROUP (0x5100) defines the group for all descriptors within this request.
Table 32. MOD_EXP_REQ Valid Descriptor (opId)
Descriptor Value Function Description
DPD_MM_LDCTX_EXP_ULCTX 0x5100 Load context in a dynamic channel and return the
resulting context from a MOD operation