logo
pub trait BlockSizeUser {
    type BlockSize: ArrayLength<u8> + 'static;

    fn block_size() -> usize { ... }
}
Expand description

Types which process data in blocks.

Required Associated Types

Size of the block in bytes.

Provided Methods

Return block size in bytes.

Implementations on Foreign Types

Implementors

impl<T, OutSize, O> BlockSizeUser 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> BlockSizeUser for CoreWrapper<T> where
    T: BufferKindUser + HashMarker,
    T::BlockSize: IsLess<U256>,
    Le<T::BlockSize, U256>: NonZero