Download Security Engine 2.x Reference Device Driver User`s Guide: For
Transcript
Individual Request Type Descriptions 4.8 4.8.1 ECC Public Key Requests ECC_POINT_REQ COMMON_REQ_PREAMBLE unsigned long nDataBytes; unsigned char *nData; unsigned long eDataBytes; unsigned char *eData; unsigned long buildDataBytes; unsigned char *buildData; unsigned long b1DataBytes; 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. Table 24. Table 24. 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 4.8.2 ECC_2OP_REQ COMMON_REQ_PREAMBLE unsigned long bDataBytes; unsigned char *bData; unsigned long aDataBytes; unsigned char *aData; unsigned long modBytes; Security Engine 2.x Reference Device Driver User’s Guide, Rev. 1 28 Freescale Semiconductor