Struct CtOutWrapper

pub struct CtOutWrapper<T, OutSize>
where
    T: VariableOutputCore,
    OutSize: ArraySize + IsLessOrEqual<T::OutputSize, Output = True>, { /* private fields */ }

Wrapper around VariableOutputCore which selects output size at compile time.

Trait Implementations

impl<T, OutSize> AlgorithmName for CtOutWrapper<T, OutSize> where T: VariableOutputCore + AlgorithmName, OutSize: ArraySize + IsLessOrEqual<T::OutputSize, Output = True>,

fn write_alg_name(f: &mut Formatter<'_>) -> Result

impl<T, OutSize> BlockSizeUser for CtOutWrapper<T, OutSize> where T: VariableOutputCore, OutSize: ArraySize + IsLessOrEqual<T::OutputSize, Output = True>,

type BlockSize = <T as BlockSizeUser>::BlockSize;

impl<T, OutSize> BufferKindUser for CtOutWrapper<T, OutSize> where T: VariableOutputCore, OutSize: ArraySize + IsLessOrEqual<T::OutputSize, Output = True>,

type BufferKind = <T as BufferKindUser>::BufferKind;

impl<T, OutSize> Clone for CtOutWrapper<T, OutSize> where T: VariableOutputCore + Clone, OutSize: ArraySize + IsLessOrEqual<T::OutputSize, Output = True>,

fn clone(&self) -> Self

impl<T, OutSize> CollisionResistance for CtOutWrapper<T, OutSize> where T: VariableOutputCore + CollisionResistance, OutSize: ArraySize + IsLessOrEqual<T::OutputSize, Output = True>,

type CollisionResistance = <T as CollisionResistance>::CollisionResistance;

impl<T, OutSize> CustomizedInit for CtOutWrapper<T, OutSize> where T: VariableOutputCoreCustomized, OutSize: ArraySize + IsLessOrEqual<T::OutputSize, Output = True>,

fn new_customized(customization: &[u8]) -> Self

impl<T, OutSize> Debug for CtOutWrapper<T, OutSize> where T: VariableOutputCore + AlgorithmName, OutSize: ArraySize + IsLessOrEqual<T::OutputSize, Output = True>,

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<T, OutSize> Default for CtOutWrapper<T, OutSize> where T: VariableOutputCore, OutSize: ArraySize + IsLessOrEqual<T::OutputSize, Output = True>,

fn default() -> Self

impl<T, OutSize> FixedOutputCore for CtOutWrapper<T, OutSize> where T: VariableOutputCore, OutSize: ArraySize + IsLessOrEqual<T::OutputSize, Output = True>,

fn finalize_fixed_core(&mut self, buffer: &mut Buffer<Self>, out: &mut Array<u8, Self::OutputSize>)

impl<T, OutSize> HashMarker for CtOutWrapper<T, OutSize> where T: VariableOutputCore + HashMarker, OutSize: ArraySize + IsLessOrEqual<T::OutputSize, Output = True>,

impl<T, OutSize> MacMarker for CtOutWrapper<T, OutSize> where T: VariableOutputCore + MacMarker, OutSize: ArraySize + IsLessOrEqual<T::OutputSize, Output = True>,

impl<T, OutSize> OutputSizeUser for CtOutWrapper<T, OutSize> where T: VariableOutputCore, OutSize: ArraySize + IsLessOrEqual<T::OutputSize, Output = True>,

type OutputSize = OutSize;

impl<T, OutSize> Reset for CtOutWrapper<T, OutSize> where T: VariableOutputCore, OutSize: ArraySize + IsLessOrEqual<T::OutputSize, Output = True>,

fn reset(&mut self)

impl<T, OutSize> SerializableState for CtOutWrapper<T, OutSize> where T: VariableOutputCore + SerializableState, OutSize: ArraySize + IsLessOrEqual<T::OutputSize, Output = True>,

type SerializedStateSize = <T as SerializableState>::SerializedStateSize;
fn serialize(&self) -> SerializedState<Self>
fn deserialize(serialized_state: &SerializedState<Self>) -> Result<Self, DeserializeStateError>

impl<T, OutSize> UpdateCore for CtOutWrapper<T, OutSize> where T: VariableOutputCore, OutSize: ArraySize + IsLessOrEqual<T::OutputSize, Output = True>,

fn update_blocks(&mut self, blocks: &[Block<Self>])

impl<T, OutSize> ZeroizeOnDrop for CtOutWrapper<T, OutSize> where T: VariableOutputCore + ZeroizeOnDrop, OutSize: ArraySize + IsLessOrEqual<T::OutputSize, Output = True>,

Auto Trait Implementations

impl<T, OutSize> Freeze for CtOutWrapper<T, OutSize> where T: Freeze, PhantomData<OutSize>: Freeze,

impl<T, OutSize> RefUnwindSafe for CtOutWrapper<T, OutSize> where T: RefUnwindSafe, PhantomData<OutSize>: RefUnwindSafe,

impl<T, OutSize> Send for CtOutWrapper<T, OutSize> where T: Send, PhantomData<OutSize>: Send,

impl<T, OutSize> Sync for CtOutWrapper<T, OutSize> where T: Sync, PhantomData<OutSize>: Sync,

impl<T, OutSize> Unpin for CtOutWrapper<T, OutSize> where T: Unpin, PhantomData<OutSize>: Unpin,

impl<T, OutSize> UnsafeUnpin for CtOutWrapper<T, OutSize> where T: UnsafeUnpin, PhantomData<OutSize>: UnsafeUnpin,

impl<T, OutSize> UnwindSafe for CtOutWrapper<T, OutSize> where T: UnwindSafe, PhantomData<OutSize>: UnwindSafe,

Blanket Implementations

impl<T> Any for CtOutWrapper<T, OutSize> where T: 'static + ?Sized,

impl<T> Borrow<T> for CtOutWrapper<T, OutSize> where T: ?Sized,

impl<T> BorrowMut<T> for CtOutWrapper<T, OutSize> where T: ?Sized,

impl<T> CloneToUninit for CtOutWrapper<T, OutSize> where T: Clone,

impl<T> From<T> for CtOutWrapper<T, OutSize>

impl<T> Same for CtOutWrapper<T, OutSize>

impl<T> SmallBlockSizeUser for CtOutWrapper<T, OutSize> where T: BlockSizeUser, <T as BlockSizeUser>::BlockSize: BlockSizes,

impl<T> ToOwned for CtOutWrapper<T, OutSize> where T: Clone,

impl<T> TryCustomizedInit for CtOutWrapper<T, OutSize> where T: CustomizedInit,

impl<T, U> Into<U> for CtOutWrapper<T, OutSize> where U: From<T>,

impl<T, U> TryFrom<U> for CtOutWrapper<T, OutSize> where U: Into<T>,

impl<T, U> TryInto<U> for CtOutWrapper<T, OutSize> where U: TryFrom<T>,