Trait elliptic_curve::hash2curve::Expander

source ·
pub trait Expander {
    // Required method
    fn fill_bytes(&mut self, okm: &mut [u8]);
}
Available on crate feature hash2curve only.
Expand description

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

Required Methods§

source

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

Fill the array with the expanded bytes

Implementors§

source§

impl<'a, HashT> Expander for ExpanderXmd<'a, HashT>

source§

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