Struct hmac_drbg::HmacDrbg
[−]
[src]
pub struct HmacDrbg<D> where
D: Input + BlockInput + FixedOutput + Default,
D::BlockSize: ArrayLength<u8>,
D::OutputSize: ArrayLength<u8>, { /* fields omitted */ }
Methods
impl<D> HmacDrbg<D> where
D: Input + BlockInput + FixedOutput + Default,
D::BlockSize: ArrayLength<u8>,
D::OutputSize: ArrayLength<u8>,
[src]
D: Input + BlockInput + FixedOutput + Default,
D::BlockSize: ArrayLength<u8>,
D::OutputSize: ArrayLength<u8>,
fn new(entropy: &[u8], nonce: &[u8], pers: &[u8]) -> Self
[src]
fn count(&self) -> usize
[src]
fn reseed(&mut self, entropy: &[u8], add: Option<&[u8]>)
[src]
fn generate<T: ArrayLength<u8>>(
&mut self,
add: Option<&[u8]>
) -> GenericArray<u8, T>
[src]
&mut self,
add: Option<&[u8]>
) -> GenericArray<u8, T>