User guide
44 MPC184/MPC185 Security Co-Processor Software User’s Guide MOTOROLA
PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE
Global Definitions Global Definitions
4.6.8.5 MOD_2OP_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 bDataBytes;
unsigned char* bData;
unsigned long aDataBytes;
unsigned char* aData;
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_2OP_DESC defines the number of descriptors within the DPD_MM_LDCTX_2OP_ULCTX_GROUP
that use this request.
DPD_MM_LDCTX_2OP_ULCTX_GROUP (0x5400) defines the group for all descriptors within this request.
Table 35. MOD_2OP_REQ Valid Descriptors (opId)
Descriptors Value Function Description
DPD_MM_LDCTX_MUL1_ULCTX 0x5400 Load context in a dynamic channel and return the
resulting context from a MUL1 operation
DPD_MM_LDCTX_MUL2_ULCTX 0x5401 Load context in a dynamic channel and return the
resulting context from a MUL2 operation
DPD_MM_LDCTX_ADD_ULCTX 0x5402 Load context in a dynamic channel and return the
resulting context from a ADD operation
DPD_MM_LDCTX_SUB_ULCTX 0x5403 Load context in a dynamic channel and return the
resulting context from a SUB operation
DPD_POLY_LDCTX_A0_B0_MUL1_ULCTX 0x5404 Load context in a dynamic channel and return the
resulting context from a A0-to-B0 MUL1 operation
DPD_POLY_LDCTX_A0_B0_MUL2_ULCTX 0x5405 Load context in a dynamic channel and return the
resulting context from an A0-to-B0 MUL2 operation
DPD_POLY_LDCTX_A0_B0_ADD_ULCTX 0x5406 Load context in a dynamic channel and return the
resulting context from an A0-to-B0 ADD operation
DPD_POLY_LDCTX_A1_B0_MUL1_ULCTX 0x5407 Load context in a dynamic channel and return the
resulting context from an A1-to-B0 MUL1 operation
DPD_POLY_LDCTX_A1_B0_MUL2_ULCTX 0x5408 Load context in a dynamic channel and return the
resulting context from an A1-to-B0 MUL2 operation
DPD_POLY_LDCTX_A1_B0_ADD_ULCTX 0x5409 Load context in a dynamic channel and return the
resulting context from an A1-to-B0 ADD operation
DPD_POLY_LDCTX_A2_B0_MUL1_ULCTX 0x540A Load context in a dynamic channel and return the
resulting context from an A2-to-B0 MUL1 operation










