Struct XofFixedWrapper
pub struct XofFixedWrapper<T: ExtendableOutput, S: ArraySize> { /* private fields */ }
Wrapper around ExtendableOutput types adding OutputSizeUser with the given size of S.
Trait Implementations
impl<T: ExtendableOutput + BlockSizeUser, S: ArraySize> BlockSizeUser for XofFixedWrapper<T, S>
type BlockSize = <T as BlockSizeUser>::BlockSize;
impl<T: ExtendableOutput + Clone, S: ArraySize> Clone for XofFixedWrapper<T, S>
fn clone(&self) -> Self
impl<T: ExtendableOutput + CollisionResistance, S: ArraySize> CollisionResistance for XofFixedWrapper<T, S>
type CollisionResistance = <T as CollisionResistance>::CollisionResistance;
impl<T: ExtendableOutput + CustomizedInit, S: ArraySize> CustomizedInit for XofFixedWrapper<T, S>
fn new_customized(customization: &[u8]) -> Self
impl<T: ExtendableOutput + Debug, S: ArraySize> Debug for XofFixedWrapper<T, S>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<T: ExtendableOutput + Default, S: ArraySize> Default for XofFixedWrapper<T, S>
fn default() -> Self
impl<T: ExtendableOutput + HashMarker, S: ArraySize> HashMarker for XofFixedWrapper<T, S>
impl<T: ExtendableOutput + KeyInit, S: ArraySize> KeyInit for XofFixedWrapper<T, S>
fn new(key: &Key<Self>) -> Self
impl<T: ExtendableOutput + KeySizeUser, S: ArraySize> KeySizeUser for XofFixedWrapper<T, S>
type KeySize = <T as KeySizeUser>::KeySize;
impl<T: ExtendableOutput + MacMarker, S: ArraySize> MacMarker for XofFixedWrapper<T, S>
impl<T: ExtendableOutput + Reset, S: ArraySize> Reset for XofFixedWrapper<T, S>
fn reset(&mut self)
impl<T: ExtendableOutput + SerializableState, S: ArraySize> SerializableState for XofFixedWrapper<T, S>
type SerializedStateSize = <T as SerializableState>::SerializedStateSize;fn serialize(&self) -> SerializedState<Self>fn deserialize(serialized_state: &SerializedState<Self>) -> Result<Self, DeserializeStateError>
impl<T: ExtendableOutput + Update, S: ArraySize> FixedOutput for XofFixedWrapper<T, S>
fn finalize_into(self, out: &mut Output<Self>)
impl<T: ExtendableOutput + Update, S: ArraySize> Update for XofFixedWrapper<T, S>
fn update(&mut self, data: &[u8])
impl<T: ExtendableOutput + ZeroizeOnDrop, S: ArraySize> ZeroizeOnDrop for XofFixedWrapper<T, S>
impl<T: ExtendableOutput, S: ArraySize> ExtendableOutput for XofFixedWrapper<T, S>
type Reader = <T as ExtendableOutput>::Reader;fn finalize_xof(self) -> Self::Reader
impl<T: ExtendableOutput, S: ArraySize> OutputSizeUser for XofFixedWrapper<T, S>
type OutputSize = S;
impl<T: ExtendableOutputReset, S: ArraySize> ExtendableOutputReset for XofFixedWrapper<T, S>
fn finalize_xof_reset(&mut self) -> Self::Reader
impl<T: ExtendableOutputReset, S: ArraySize> FixedOutputReset for XofFixedWrapper<T, S>
fn finalize_into_reset(&mut self, out: &mut Output<Self>)