SEC 2.0 Reference Device Driver User’s Guide, Rev. 0
30 PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE Freescale Semiconductor
Individual Request Type Descriptions
4.9.3 IPSEC_AES_CBC_REQ
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;
unsigned char *cryptDat aOut;
unsigned long hashData OutBytes;
unsigned char *hashData Out;
NUM_IPSEC_AES_CBC_DESC defines the number of descriptors within the DPD_IPSEC_AES_CBC_GROUP th at use
this request.
DPD_IPSEC_AES_CBC_GROUP (0x8000) defines the group for all descriptors within this request.
DPD_IPSEC_ECB_TDES_ENCRYPT_SHA256_PAD 0x7108 Perform the IPSec process of encrypting in triple DES
using ECB mode with SHA-256 padding
DPD_IPSEC_ECB_TDES_DECRYPT_MD5_PAD 0x7109 Perform the IPSec process of decrypting in triple DES
using ECB mode with MD5 padding
DPD_IPSEC_ECB_TDES_DECRYPT_SHA_PAD 0x710A Perform the IPSec process of decrypting in triple DES
using ECB mode with SHA-1 padding
DPD_IPSEC_ECB_TDES_DECRYPT_SHA256_PAD 0x710B Perform the IPSec process of decrypting in triple DES
using ECB mode with SHA-256 padding
Table26. IPSEC_AES_CBC_REQ Valid Descriptors (opId)
Descriptors Value Function Description
DPD_IPSEC_AES_CBC_ENCRYPT_MD5_APAD 0x8000 Perform the IPSec process of encrypting in AES
using CBC mode with MD5 auto padding
DPD_IPSEC_AES_CBC_ENCRYPT_SHA_APAD 0x8001 Perform the IPSec process of encrypting in AES
using CBC mode with SHA-1 auto padding
DPD_IPSEC_AES_CBC_ENCRYPT_SHA256_APAD 0x8002 Perform the IPSec process of encrypting in AES
using CBC mode with SHA-256 auto padding
Table25. IPSEC_ECB_REQ Valid Descriptors (opId) (continued)