Struct ring::hkdf::Okm [−][src]
pub struct Okm<'a, L: KeyType> { /* fields omitted */ }
Expand description
An HKDF OKM (Output Keying Material)
Intentionally not Clone
or Copy
as an OKM is generally only safe to
use once.
Implementations
Fills out
with the output of the HKDF-Expand operation for the given
inputs.
Fails if (and only if) the requested output length is larger than 255 times the size of the digest algorithm’s output. (This is the limit imposed by the HKDF specification due to the way HKDF’s counter is constructed.)