Skip to main content

Module cipher

Module cipher 

Source
Expand description

CipherAlgEVP_CIPHER algorithm descriptor.

Phase 3.2 delivers CipherAlg; Phase 4.2 extends this module with CipherCtx<Dir>, AeadEncryptCtx, and AeadDecryptCtx.

Structs§

AeadDecryptCtx
AEAD decryption context.
AeadEncryptCtx
AEAD encryption context (GCM, CCM, ChaCha20-Poly1305).
CipherAlg
An OpenSSL symmetric cipher algorithm descriptor (EVP_CIPHER*).
CipherCtx
Stateful symmetric cipher context.
Decrypt
Marker type for decrypt direction.
Encrypt
Marker type for encrypt direction.

Traits§

IsEncrypt
Helper trait that routes to the correct EVP_Encrypt* or EVP_Decrypt* functions.