SEC 2.0 Reference Device Driver User’s Guide, Rev. 0
Freescale Semiconductor PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE 33
Individual Request Type Descriptions
unsigned char *cryptDat aOut;
unsigned long hashData OutBytes;
unsigned char *hashData Out;
unsigned long cryptCtx OutBytes;
unsigned char *cryptCtx OutData;
NUM_IPSEC_ESP_DESC defines the number of descriptors within the DPD_IPSEC_ESP_GROUP that use this
request.
DPD_IPSEC_ESP_GROUP (0x7500) defines the group for all descriptors within this request.
Table28. IPSEC_ESP_REQ Valid Descriptors (opId)
Descriptors Value Function Description
DPD_IPSEC_ESP_OUT_SDES_ECB_CRPT_MD5_PAD 0x7500 Process an outbound IPSec encapsulated system
payload packet using single DES in ECB mode and
MD5 with auto padding
DPD_IPSEC_ESP_OUT_SDES_ECB_CRPT_SHA_PAD 0x7501 Process an outbound IPSec encapsulated system
payload packet using single DES in ECB mode, and
SHA1 with auto padding
DPD_IPSEC_ESP_OUT_SDES_ECB_CRPT_SHA256_
PAD
0x7502 Process an outbound IPSec encapsulated system
payload packet using single DES in ECB mode, and
SHA256 with auto padding
DPD_IPSEC_ESP_IN_SDES_ECB_DCRPT_MD5_PAD 0x7503 Process an inbound IPSec encapsulated system
payload packet using single DES in ECB mode, and
MD5 with auto padding
DPD_IPSEC_ESP_IN_SDES_ECB_DCRPT_SHA_PAD 0x7504 Process an inbound IPSec encapsulated system
payload packet using single DES in ECB mode, and
SHA1 with auto padding
DPD_IPSEC_ESP_IN_SDES_ECB_DCRPT_SHA256_
PAD
0x7505 Process an inbound IPSec encapsulated system
payload packet using single DES in ECB mode, and
SHA256 with auto padding
DPD_IPSEC_ESP_OUT_SDES_CBC_CRPT_MD5_PAD 0x7506 Process an outbound IPSec encapsulated system
payload packet using single DES in CBC mode, and
MD5 with auto padding
DPD_IPSEC_ESP_OUT_SDES_CBC_CRPT_SHA_PAD 0x7507 Process an outbound IPSec encapsulated system
payload packet using single DES in CBC mode, and
SHA1 with auto padding
DPD_IPSEC_ESP_OUT_SDES_CBC_CRPT_SHA256_
PAD
0x7508 Process an outbound IPSec encapsulated system
payload packet using single DES in CBC mode, and
SHA256 with auto padding
DPD_IPSEC_ESP_IN_SDES_CBC_DCRPT_MD5_PAD 0x7509 Process an inbound IPSec encapsulated system
payload packet using single DES in CBC mode, and
MD5 with auto padding