ESP Constant Enumerations¶
This module contains all constant enumerations of
ESP implementations. Available
enumerations include:
ESP has no algorithm registry of its own: an SA’s algorithms are negotiated by
IKEv2, so both enumerations are the corresponding IKEv2 transform ID
sub-registries. They live here rather than under an ikev2 package because
ESP is the only thing in
pcapkit that consumes them.
Both enumerate every transform IANA has registered, which is a much larger
set than pcapkit can apply. Which of them ESP actually implements is a
separate question, answered by
CIPHER_SUITES and
INTEGRITY_SUITES.
ESP Encryption Algorithm Transform IDs¶
This module contains the constant enumeration for Transform Type 1 -
Encryption Algorithm Transform IDs, which is automatically generated from
pcapkit.vendor.esp.cipher.Cipher.
- class pcapkit.const.esp.cipher.Cipher(*values)[source]¶
Bases:
IntEnum[Cipher] Transform Type 1 - Encryption Algorithm Transform IDs
- DES_IV64 = 1¶
Alias of
Cipher.ENCR_DES_IV64.
- DES = 2¶
Alias of
Cipher.ENCR_DES.
- RC5 = 4¶
Alias of
Cipher.ENCR_RC5.
- IDEA = 5¶
Alias of
Cipher.ENCR_IDEA.
- CAST = 6¶
Alias of
Cipher.ENCR_CAST.
- BLOWFISH = 7¶
Alias of
Cipher.ENCR_BLOWFISH.
- DES_IV32 = 9¶
Alias of
Cipher.ENCR_DES_IV32.
- NULL = 11¶
Alias of
Cipher.ENCR_NULL.
- AES_CBC = 12¶
Alias of
Cipher.ENCR_AES_CBC.
- AES_CTR = 13¶
Alias of
Cipher.ENCR_AES_CTR.
- AES_CCM_8 = 14¶
Alias of
Cipher.ENCR_AES_CCM_8.
- AES_CCM_12 = 15¶
Alias of
Cipher.ENCR_AES_CCM_12.
- AES_CCM_16 = 16¶
Alias of
Cipher.ENCR_AES_CCM_16.
- Unassigned_17 = 17¶
Unassigned
- AES_GCM_8 = 18¶
Alias of
Cipher.ENCR_AES_GCM_8.
- AES_GCM_12 = 19¶
Alias of
Cipher.ENCR_AES_GCM_12.
- AES_GCM_16 = 20¶
Alias of
Cipher.ENCR_AES_GCM_16.
- NULL_AUTH_AES_GMAC = 21¶
Alias of
Cipher.ENCR_NULL_AUTH_AES_GMAC.
- Reserved_for_IEEE_P1619_XTS_AES = 22¶
Reserved for IEEE P1619 XTS-AES [Matt Ball]
- CAMELLIA_CBC = 23¶
Alias of
Cipher.ENCR_CAMELLIA_CBC.
- CAMELLIA_CTR = 24¶
Alias of
Cipher.ENCR_CAMELLIA_CTR.
- CAMELLIA_CCM_8 = 25¶
Alias of
Cipher.ENCR_CAMELLIA_CCM_8.
- CAMELLIA_CCM_12 = 26¶
Alias of
Cipher.ENCR_CAMELLIA_CCM_12.
- CAMELLIA_CCM_16 = 27¶
Alias of
Cipher.ENCR_CAMELLIA_CCM_16.
- CHACHA20_POLY1305 = 28¶
Alias of
Cipher.ENCR_CHACHA20_POLY1305.
- AES_CCM_8_IIV = 29¶
Alias of
Cipher.ENCR_AES_CCM_8_IIV.
- AES_GCM_16_IIV = 30¶
Alias of
Cipher.ENCR_AES_GCM_16_IIV.
- CHACHA20_POLY1305_IIV = 31¶
Alias of
Cipher.ENCR_CHACHA20_POLY1305_IIV.
- KUZNYECHIK_MGM_KTREE = 32¶
Alias of
Cipher.ENCR_KUZNYECHIK_MGM_KTREE.
- MAGMA_MGM_KTREE = 33¶
Alias of
Cipher.ENCR_MAGMA_MGM_KTREE.
- KUZNYECHIK_MGM_MAC_KTREE = 34¶
Alias of
Cipher.ENCR_KUZNYECHIK_MGM_MAC_KTREE.
- MAGMA_MGM_MAC_KTREE = 35¶
Alias of
Cipher.ENCR_MAGMA_MGM_MAC_KTREE.
ESP Integrity Algorithm Transform IDs¶
This module contains the constant enumeration for Transform Type 3 -
Integrity Algorithm Transform IDs, which is automatically generated from
pcapkit.vendor.esp.integrity.Integrity.
- class pcapkit.const.esp.integrity.Integrity(*values)[source]¶
Bases:
IntEnum[Integrity] Transform Type 3 - Integrity Algorithm Transform IDs
- HMAC_MD5_96 = 1¶
Alias of
Integrity.AUTH_HMAC_MD5_96.
- HMAC_SHA1_96 = 2¶
Alias of
Integrity.AUTH_HMAC_SHA1_96.
- DES_MAC = 3¶
Alias of
Integrity.AUTH_DES_MAC.
- KPDK_MD5 = 4¶
Alias of
Integrity.AUTH_KPDK_MD5.
- AES_XCBC_96 = 5¶
Alias of
Integrity.AUTH_AES_XCBC_96.
- HMAC_MD5_128 = 6¶
Alias of
Integrity.AUTH_HMAC_MD5_128.
- HMAC_SHA1_160 = 7¶
Alias of
Integrity.AUTH_HMAC_SHA1_160.
- AES_CMAC_96 = 8¶
Alias of
Integrity.AUTH_AES_CMAC_96.
- AES_128_GMAC = 9¶
Alias of
Integrity.AUTH_AES_128_GMAC.
- AES_192_GMAC = 10¶
Alias of
Integrity.AUTH_AES_192_GMAC.
- AES_256_GMAC = 11¶
Alias of
Integrity.AUTH_AES_256_GMAC.
- HMAC_SHA2_256_128 = 12¶
Alias of
Integrity.AUTH_HMAC_SHA2_256_128.
- HMAC_SHA2_384_192 = 13¶
Alias of
Integrity.AUTH_HMAC_SHA2_384_192.
- HMAC_SHA2_512_256 = 14¶
Alias of
Integrity.AUTH_HMAC_SHA2_512_256.