pub trait Expander {
    // Required method
    fn fill_bytes(&mut self, okm: &mut [u8]);
}
Expand description

Expander that, call read until enough bytes have been consumed.

Required Methods§

fn fill_bytes(&mut self, okm: &mut [u8])

Fill the array with the expanded bytes

Implementors§

§

impl<'a, HashT> Expander for ExpanderXmd<'a, HashT>where HashT: BlockSizeUser + Default + FixedOutput + HashMarker, <HashT as OutputSizeUser>::OutputSize: IsLess<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>> + IsLessOrEqual<<HashT as BlockSizeUser>::BlockSize>,

§

impl<HashT> Expander for ExpandMsgXof<HashT>where HashT: Default + ExtendableOutput + Update,