Skip to main content

Module crypto

Module crypto 

Source
Expand description

TLS cryptographic primitives.

Feature-gated behind the tls feature flag. Implements hash, HMAC, PRF, HKDF, and cipher abstractions.

Re-exports§

pub use hash::TlsHash;
pub use hkdf_tls13::Tls13Hkdf;
pub use hmac_tls::TlsHmac;
pub use prf::Prf;

Modules§

cipher_aead
AEAD cipher implementations for TLS.
cipher_block
Block cipher implementations for TLS.
cipher_stream
Stream cipher implementations for TLS.
compression
TLS compression methods.
groups
TLS Named Groups (key exchange groups).
hash
TLS hash algorithm abstractions.
hkdf_tls13
TLS 1.3 HKDF key schedule (RFC 8446 Section 7.1).
hmac_tls
TLS HMAC abstractions.
prf
TLS Pseudorandom Function (PRF) implementations.
suites
TLS cipher suite definitions and registry.