Trait crypto_common::Reset

source ·
pub trait Reset {
    fn reset(&mut self);
}
Expand description

Resettable types.

Required Methods§

Reset state to its initial value.

Implementors§

impl<T, OutSize, O> Reset for CtVariableCoreWrapper<T, OutSize, O>where
    T: VariableOutputCore,
    OutSize: ArrayLength<u8> + IsLessOrEqual<T::OutputSize>,
    LeEq<OutSize, T::OutputSize>: NonZero,
    T::BlockSize: IsLess<U256>,
    Le<T::BlockSize, U256>: NonZero,

impl<T> Reset for RtVariableCoreWrapper<T>where
    T: VariableOutputCore + UpdateCore + Reset,
    T::BlockSize: IsLess<U256>,
    Le<T::BlockSize, U256>: NonZero,

impl<T> Reset for CoreWrapper<T>where
    T: BufferKindUser + Reset,
    T::BlockSize: IsLess<U256>,
    Le<T::BlockSize, U256>: NonZero,