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>])