Module tls13

Module tls13 

Available on (crate features rustls or boring or acme) and crate feature rustls only.
Expand description

Cryptography specific to TLS1.3.

Structs§

HkdfExpanderUsingHmac
Implementation of HkdfExpander via hmac::Key.
HkdfUsingHmac
Implementation of Hkdf (and thence HkdfExpander) via hmac::Hmac.
OkmBlock
Output key material from HKDF, as a value type.
OutputLengthError
An error type used for HkdfExpander::expand_slice when the slice exceeds the maximum HKDF output length.

Traits§

Hkdf
A HKDF implementation oriented to the needs of TLS1.3.
HkdfExpander
Implementation of HKDF-Expand with an implicitly stored and immutable PRK.

Functions§

expand
HKDF-Expand(PRK, info, L) to construct any type from a byte array.