Struct rfc6979::HmacDrbg

source ·
pub struct HmacDrbg<D>where
    D: BlockInput + FixedOutput + Clone + Default + Reset + Update,
{ /* private fields */ }
Expand description

Internal implementation of HMAC_DRBG as described in NIST SP800-90A.

https://csrc.nist.gov/publications/detail/sp/800-90a/rev-1/final

This is a HMAC-based deterministic random bit generator used compute a deterministic ephemeral scalar k.

Implementations§

Initialize HMAC_DRBG

Write the next HMAC_DRBG output to the given byte slice.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.