scapy.layers.tls.crypto.cipher_aead

Authenticated Encryption with Associated Data ciphers.

RFC 5288 introduces new ciphersuites for TLS 1.2 which are based on AES in Galois/Counter Mode (GCM). RFC 6655 in turn introduces AES_CCM ciphersuites. The related AEAD algorithms are defined in RFC 5116. Later on, RFC 7905 introduced cipher suites based on a ChaCha20-Poly1305 construction.

exception scapy.layers.tls.crypto.cipher_aead.AEADTagError

Bases: Exception

Raised when MAC verification fails.

class scapy.layers.tls.crypto.cipher_aead.AESCCM

Bases: object