📄 ipsec_request.h
字号:
unsigned char *a3Data; unsigned long b0DataBytes; unsigned char *b0Data; unsigned long b1DataBytes; unsigned char *b1Data; unsigned long buildDataBytes; unsigned char *buildData;} ECC_SPKBUILD_REQ;
/* * ECC_PTADD_DBL_REQ - elliptic curve point add */typedef struct{ COMMON_REQ_PREAMBLE unsigned long modBytes; unsigned char *modData; unsigned long buildDataBytes; unsigned char *buildData; unsigned long b2InDataBytes; unsigned char *b2InData; unsigned long b3InDataBytes; unsigned char *b3InData; unsigned long b1DataBytes; unsigned char *b1Data; unsigned long b2DataBytes; unsigned char *b2Data; unsigned long b3DataBytes; unsigned char *b3Data;} ECC_PTADD_DBL_REQ;
/* * IPSEC_CBC_REQ - common IPSec/DES-CBC compound request operations * */typedef struct{ COMMON_REQ_PREAMBLE unsigned long hashKeyBytes; unsigned char *hashKeyData; unsigned long cryptKeyBytes; unsigned char *cryptKeyData; unsigned long cryptCtxInBytes; unsigned char *cryptCtxInData; unsigned long hashInDataBytes; unsigned char *hashInData; unsigned long inDataBytes; unsigned char *inData; unsigned char *cryptDataOut; unsigned long hashDataOutBytes; unsigned char *hashDataOut;} IPSEC_CBC_REQ;
/*
* IPSEC_ECB_REQ - common IPSec/DES-ECB compound request operations * */typedef struct{ COMMON_REQ_PREAMBLE unsigned long hashKeyBytes; unsigned char *hashKeyData; unsigned long cryptKeyBytes; unsigned char *cryptKeyData; unsigned long hashInDataBytes; unsigned char *hashInData; unsigned long inDataBytes; unsigned char *inData; unsigned long hashDataOutBytes; unsigned char *hashDataOut; unsigned char *cryptDataOut;} IPSEC_ECB_REQ;
/* * IPSEC_AES_CBC_REQ - common IPSec/AES-CBC compound request operations * */typedef struct{ COMMON_REQ_PREAMBLE unsigned long hashKeyBytes; unsigned char *hashKeyData; unsigned long cryptKeyBytes; unsigned char *cryptKeyData; unsigned long cryptCtxInBytes; unsigned char *cryptCtxInData; unsigned long hashInDataBytes; unsigned char *hashInData; unsigned long inDataBytes; unsigned char *inData; unsigned char *cryptDataOut; unsigned long hashDataOutBytes; unsigned char *hashDataOut;} IPSEC_AES_CBC_REQ;
/* * IPSEC_AES_ECB_REQ - common IPSec/AES-ECB compound request operations * */typedef struct{ COMMON_REQ_PREAMBLE unsigned long hashKeyBytes; unsigned char *hashKeyData; unsigned long cryptKeyBytes; unsigned char *cryptKeyData; unsigned long hashInDataBytes; unsigned char *hashInData; unsigned long inDataBytes; unsigned char *inData; unsigned char *cryptDataOut; unsigned long hashDataOutBytes; unsigned char *hashDataOut;} IPSEC_AES_ECB_REQ;
/* * IPSEC_ESP_REQ - IPSec Encapsulated system payload compound operations * */typedef struct{ COMMON_REQ_PREAMBLE unsigned long hashKeyBytes; unsigned char *hashKeyData; unsigned long cryptKeyBytes; unsigned char *cryptKeyData; unsigned long cryptCtxInBytes; unsigned char *cryptCtxInData; unsigned long hashInDataBytes; unsigned char *hashInData; unsigned long inDataBytes; unsigned char *inData; unsigned char *cryptDataOut; unsigned long hashDataOutBytes; /* out ICV is always at the end of cryptDataOut */ unsigned long cryptCtxOutBytes; unsigned char *cryptCtxOutData;} IPSEC_ESP_REQ;
/* * CCMP_REQ 802.11 counter mode with CBC MAC protocol operation * */typedef struct{ COMMON_REQ_PREAMBLE unsigned long keyBytes; unsigned char *keyData; unsigned long ctxBytes; unsigned char *context; unsigned long FrameDataBytes; unsigned char *FrameData; unsigned long AADBytes; unsigned char *AADData; unsigned long cryptDataBytes; unsigned char *cryptDataOut; unsigned long MICBytes; unsigned char *MICData;} CCMP_REQ;
/* * SRTP_REQ - secure RTP compound operations * */ typedef struct{ COMMON_REQ_PREAMBLE unsigned long hashKeyBytes; unsigned char *hashKeyData; unsigned long keyBytes; unsigned char *keyData; unsigned long ivBytes; unsigned char *ivData; unsigned long HeaderBytes; unsigned long inBytes; unsigned char *inData; unsigned long ROCBytes; unsigned long cryptDataBytes; unsigned char *cryptDataOut; unsigned long digestBytes; unsigned char *digestData; unsigned long outIvBytes; unsigned char *outIvData;} SRTP_REQ;
/* * TLS request types * * Note that this differs from many similar types of requests * on account that there are significant differences is the needed * format for a DPD for each of the different types of TLS packets * * Since DPD's are built according to a translation table that's * determined on a group basis (not on individual requests), and * since the DPDs have to be constructed differently for each type * of TLS packet/payload, there are individual request structs for * each */ /* * TLS_BLOCK_INBOUND_REQ - SSL/TLS block cipher inbound operation * This is a 2.1 request type only */typedef struct{ COMMON_REQ_PREAMBLE unsigned long hashKeyBytes; unsigned char* hashKeyData; unsigned long hashOnlyBytes; unsigned char* hashOnlyData; unsigned long ivBytes; unsigned char* ivData; unsigned long cipherKeyBytes; unsigned char* cipherKeyData; unsigned long inBytes; unsigned char* inData; unsigned long MACcmpBytes; unsigned long outBytes; unsigned char* outData; unsigned long MACoutBytes; unsigned long ivOutBytes; unsigned char* ivOutData;} TLS_BLOCK_INBOUND_REQ;
/* * TLS_BLOCK_OUTBOUND_REQ - SSL/TLS block cipher outbound operation * This is a 2.1 request type only */typedef struct{ COMMON_REQ_PREAMBLE unsigned long hashKeyBytes; unsigned char* hashKeyData; unsigned long ivBytes; unsigned char* ivData; unsigned long cipherKeyBytes; unsigned char* cipherKeyData; unsigned long hashOnlyBytes; unsigned char* hashOnlyData; unsigned long mainDataBytes; unsigned long outBytes; unsigned char* outData; unsigned long MACbytes; unsigned long cipherOnlyBytes; unsigned char* cipherOnlyData; unsigned long ivOutBytes; unsigned char* ivOutData;} TLS_BLOCK_OUTBOUND_REQ;
/* * TLS_STREAM_INBOUND_REQ - SSL/TLS stream cipher inbound operation * This is a 2.1 request type only */typedef struct{ COMMON_REQ_PREAMBLE unsigned long hashKeyBytes; unsigned char* hashKeyData; unsigned long hashOnlyBytes; unsigned char* hashOnlyData; unsigned long ivBytes; unsigned char* ivData; unsigned long cipherKeyBytes; unsigned char* cipherKeyData; unsigned long inBytes; unsigned char* inData; unsigned long MACcmpBytes; unsigned long outBytes; unsigned char* outData; unsigned long MACoutBytes; unsigned long ivOutBytes; unsigned char* ivOutData;} TLS_STREAM_INBOUND_REQ;
/* * TLS_STREAM_OUTBOUND_REQ - SSL/TLS stream cipher outbound operation * This is a 2.1 request type only */typedef struct{ COMMON_REQ_PREAMBLE unsigned long hashKeyBytes; unsigned char* hashKeyData; unsigned long ivBytes; unsigned char* ivData; unsigned long cipherKeyBytes; unsigned char* cipherKeyData; unsigned long hashOnlyBytes; unsigned char* hashOnlyData; unsigned long mainDataBytes; unsigned long outBytes; unsigned char* outData; unsigned long MACbytes; unsigned long ivOutBytes; unsigned char* ivOutData;} TLS_STREAM_OUTBOUND_REQ;
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -