Freescale-semiconductor SEC2SWUG Manual de usuario Pagina 20

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 44
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 19
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
Vista de pagina 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 43 44

Comentarios a estos manuales

Sin comentarios