SEC 2.0 Reference Device Driver User’s Guide, Rev. 0
32 PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE Freescale Semiconductor
Individual Request Type Descriptions
4.9.5 IPSEC_ESP_REQ
COMMON_REQ_PREAMBLE
unsigned long hashKeyB ytes;
unsigned char *hashKeyD ata;
unsigned long cryptKey Bytes;
unsigned char *cryptKey Data;
unsigned long cryptCtx InBytes;
unsigned char *cryptCtx InData;
unsigned long hashInDa taBytes;
unsigned char *hashInDa ta;
unsigned long inDataBy tes;
unsigned char *inData;
Table27. IPSEC_AES_ECB_REQ Valid Descriptors (opId)
Descriptors Value Function Description
DPD_IPSEC_AES_ECB_ENCRYPT_MD5_APAD 0x8100 Perform the IPSec process of encrypting in AES
using ECB mode with MD5 auto padding
DPD_IPSEC_AES_ECB_ENCRYPT_SHA_APAD 0x8101 Perform the IPSec process of encrypting in AES
using ECB mode with SHA-1 auto padding
DPD_IPSEC_AES_ECB_ENCRYPT_SHA256_APAD 0x8102 Perform the IPSec process of encrypting in AES
using ECB mode with SHA-256 auto padding
DPD_IPSEC_AES_ECB_ENCRYPT_MD5 0x8103 Perform the IPSec process of encrypting in AES
using ECB mode with MD5
DPD_IPSEC_AES_ECB_ENCRYPT_SHA 0x8104 Perform the IPSec process of encrypting in AES
using ECB mode with SHA-1
DPD_IPSEC_AES_ECB_ENCRYPT_SHA256 0x8105 Perform the IPSec process of encrypting in AES
using ECB mode with SHA-256
DPD_IPSEC_AES_ECB_DECRYPT_MD5_APAD 0x8106 Perform the IPSec process of decrypting in AES
using ECB mode with MD5 auto padding
DPD_IPSEC_AES_ECB_DECRYPT_SHA_APAD 0x8107 Perform the IPSec process of decrypting in AES
using ECB mode with SHA-1 auto padding
DPD_IPSEC_AES_ECB_DECRYPT_SHA256_APAD 0x8108 Perform the IPSec process of decrypting in AES
using ECB mode with SHA-256 auto padding
DPD_IPSEC_AES_ECB_DECRYPT_MD5 0x8109 Perform the IPSec process of decrypting in AES
using ECB mode with MD5
DPD_IPSEC_AES_ECB_DECRYPT_SHA 0x810A Perform the IPSec process of decrypting in AES
using ECB mode with SHA-1
DPD_IPSEC_AES_ECB_DECRYPT_SHA256 0x810B Perform the IPSec process of decrypting in AES
using ECB mode with SHA-256