Trait elliptic_curve::hash2curve::ExpandMsg
source · [−]pub trait ExpandMsg<'a> {
type Expander: Expander + Sized;
fn expand_message(
msgs: &[&[u8]],
dst: &'a [u8],
len_in_bytes: usize
) -> Result<Self::Expander>;
}
Available on crate feature
hash2curve
only.Expand description
Required Associated Types
Required Methods
Implementors
sourceimpl<'a, HashT> ExpandMsg<'a> for ExpandMsgXmd<HashT> where
HashT: Digest + BlockSizeUser,
HashT::OutputSize: IsLess<U256>,
HashT::OutputSize: IsLessOrEqual<HashT::BlockSize>,
impl<'a, HashT> ExpandMsg<'a> for ExpandMsgXmd<HashT> where
HashT: Digest + BlockSizeUser,
HashT::OutputSize: IsLess<U256>,
HashT::OutputSize: IsLessOrEqual<HashT::BlockSize>,
ExpandMsgXmd implements expand_message_xmd for the ExpandMsg trait
type Expander = ExpanderXmd<'a, HashT>
sourceimpl<'a, HashT> ExpandMsg<'a> for ExpandMsgXof<HashT> where
HashT: Default + ExtendableOutput + Update,
impl<'a, HashT> ExpandMsg<'a> for ExpandMsgXof<HashT> where
HashT: Default + ExtendableOutput + Update,
ExpandMsgXof implements expand_message_xof
for the ExpandMsg
trait