Module cipher

Module cipher 

Source

Structsยง

AesGcm
ChaCha20Poly1305
ChaCha20Poly1305MessageDecrypter ๐Ÿ”’
The RFC7905/RFC7539 ChaCha20Poly1305 construction. This implementation does the AAD construction required in TLS1.2. TLS1.3 uses TLS13MessageDecrypter.
ChaCha20Poly1305MessageEncrypter ๐Ÿ”’
The RFC7905/RFC7539 ChaCha20Poly1305 construction. This implementation does the AAD construction required in TLS1.2. TLS1.3 uses TLS13MessageEncrypter.
GcmMessageDecrypter ๐Ÿ”’
A MessageDecrypter for AES-GCM AEAD ciphersuites. TLS1.2 only.
GcmMessageEncrypter ๐Ÿ”’
A MessageEncrypter for AES-GCM AEAD ciphersuites. TLS 1.2 only.

Constantsยง

CHACHAPOLY1305_OVERHEAD ๐Ÿ”’
GCM_EXPLICIT_NONCE_LEN ๐Ÿ”’
GCM_OVERHEAD ๐Ÿ”’
TLS12_AAD_SIZE ๐Ÿ”’

Traitsยง

Tls12AeadAlgorithm

Functionsยง

make_tls12_aad ๐Ÿ”’