Table 14. aesa_crypt_req valid descriptors (opid), 7 integer public key requests, 1 mod_exp_req – Freescale Semiconductor SEC2SWUG User Manual

Page 20: Table 15. mod_exp_req valid descriptor (opid)

Advertising
background image

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

20

PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE

Freescale Semiconductor

Individual Request Type Descriptions

4.7 Integer Public Key Requests

4.7.1 MOD_EXP_REQ

COMMON_REQ_PREAMBLE

unsigned long aDataBytes;

unsigned char *aData;

unsigned long expBytes;

unsigned char *expData;

unsigned long modBytes;

unsigned char *modData;

unsigned long outBytes;

unsigned char *outData;

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 14. AESA_CRYPT_REQ Valid Descriptors (opId)

Descriptors Value

Function

Description

DPD_AESA_CBC_ENCRYPT_CRYPT

0x6000

Perform encryption in AESA using CBC mode

DPD_AESA_CBC_DECRYPT_CRYPT

0x6001

Perform decryption in AESA using CBC mode

DPD_AESA_CBC_DECRYPT_CRYPT_RDK

0x6002

Perform decryption in AESA using CBC mode with
RDK

DPD_AESA_ECB_ENCRYPT_CRYPT

0x6003

Perform encryption in AESA using ECB mode

DPD_AESA_ECB_DECRYPT_CRYPT

0x6004

Perform decryption in AESA using ECB mode

DPD_AESA_ECB_DECRYPT_CRYPT_RDK

0x6005

Perform decryption in AESA using ECB mode with
RDK

DPD_AESA_CTR_CRYPT

0x6006

Perform CTR in AESA

DPD_AESA_CTR_HMAC

0x6007

Perform AES CTR-mode cipher operation with
integrated authentication as part of the operation

Table 15. MOD_EXP_REQ Valid Descriptor (opId)

Descriptors Value

Function

Description

DPD_MM_LDCTX_EXP_ULCTX

0x5100

Perform a modular exponentiation operation

Advertising