2 mod_ss_exp_req, Table 16. mod_ss_exp_req valid descriptor (opid), 3 mod_r2modn_req – Freescale Semiconductor SEC2SWUG User Manual

Page 21: Table 17. mod_r2modn_req valid descriptor (opid)

Advertising
background image

SEC 2.0 Reference Device Driver User’s Guide, Rev. 0

Freescale Semiconductor

PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE

21

Individual Request Type Descriptions

4.7.2 MOD_SS_EXP_REQ

COMMON_REQ_PREAMBLE

unsigned long expBytes;

unsigned char *expData;

unsigned long modBytes;

unsigned char *modData;

unsigned long aDataBytes;

unsigned char *aData;

unsigned long bDataBytes;

unsigned char *bData;

NUM_MM_SS_EXP_DESC

defines the number of descriptors within the

DPD_MM_SS_EXP_GROUP

that use this

request.

DPD_MM_SS_EXP_GROUP

(0x5B00) defines the group for all descriptors within this request.

4.7.3 MOD_R2MODN_REQ

COMMON_REQ_PREAMBLE

unsigned long modBytes;

unsigned char *modData;

unsigned long outBytes;

unsigned char *outData;

NUM_MM_R2MODN_DESC

defines the number of descriptors within the

DPD_MM_LDCTX_R2MODN_ULCTX_GROUP

that use this request.

DPD_MM_LDCTX_R2MODN_ULCTX_GROUP

(0x5200) defines the group for all descriptors within this request.

Table 16. MOD_SS_EXP_REQ Valid Descriptor (opId)

Descriptors Value

Function

Description

DPD_MM_SS_RSA_EXP

0x5B00

Perform a single-stage RSA exponentiation operation

Table 17. MOD_R2MODN_REQ Valid Descriptor (opId)

Descriptor Value

Function

Description

DPD_MM_LDCTX_R2MODN_ULCTX

0x5200

Perform a R2MOD operation upon a public key

Advertising