Table 20. ecc_point_req valid descriptors (opid), 2 ecc_2op_req – Freescale Semiconductor SEC2SWUG User Manual

Page 25

Advertising
background image

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

Freescale Semiconductor

PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE

25

Individual Request Type Descriptions

unsigned char *b1Data;

unsigned long b2DataBytes;

unsigned char *b2Data;

unsigned long b3OutDataBytes;

unsigned char *b3OutData;

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.

4.8.2 ECC_2OP_REQ

COMMON_REQ_PREAMBLE

unsigned long bDataBytes;

unsigned char *bData;

unsigned long aDataBytes;

unsigned char *aData;

unsigned long modBytes;

unsigned char *modData;

unsigned long outBytes;

unsigned char *outData;

NUM_EC_2OP_DESC

defines the number of descriptors within the

DPD_EC_2OP_GROUP

that use this request.

Table 20. ECC_POINT_REQ Valid Descriptors (opId)

Descriptors Value

Function

Description

DPD_EC_FP_AFF_PT_MULT

0x5800

Perform a PT_MULT operation in an affine system

DPD_EC_FP_PROJ_PT_MULT

0x5801

Perform a PT_MULT operation in a projective system

DPD_EC_F2M_AFF_PT_MULT

0x5802

Perform an F2M PT_MULT operation in an affine
system

DPD_EC_F2M_PROJ_PT_MULT

0x5803

Perform an F2M PT_MULT operation in a projective
system

DPD_EC_FP_LDCTX_ADD_ULCTX

0x5804

Perform an FP add operation

DPD_EC_FP_LDCTX_DOUBLE_ULCTX

0x5805

Perform an FP double operation

DPD_EC_F2M_LDCTX_ADD_ULCTX

0x5806

Perform an F2M add operation

DPD_EC_F2M_LDCTX_DOUBLE_ULCTX

0x5807

Perform an F2M double operation

Advertising