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

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

Types which process data in blocks.

Required Associated Types§

type BlockSize: ArrayLength<u8> + 'static

Size of the block in bytes.

Provided Methods§

fn block_size() -> usize

Return block size in bytes.

Implementations on Foreign Types§

§

impl<T> BlockSizeUser for &mut Twhere T: BlockSizeUser,

§

impl<T> BlockSizeUser for &Twhere T: BlockSizeUser,

source§

impl<D> BlockSizeUser for HmacCore<D>where D: CoreProxy, <D as CoreProxy>::Core: HashMarker + UpdateCore + FixedOutputCore<BufferKind = Eager> + BufferKindUser + Default + Clone, <<D as CoreProxy>::Core as BlockSizeUser>::BlockSize: IsLess<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>, <<<D as CoreProxy>::Core as BlockSizeUser>::BlockSize as IsLess<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>>::Output: NonZero,

source§

impl BlockSizeUser for Sha256VarCore

source§

impl BlockSizeUser for Sha512VarCore

source§

impl BlockSizeUser for Hash160

§

type BlockSize = <CoreWrapper<Ripemd160Core> as BlockSizeUser>::BlockSize

source§

impl BlockSizeUser for Hash256

§

impl BlockSizeUser for Ripemd256Core

§

impl BlockSizeUser for Ripemd128Core

§

impl BlockSizeUser for Ripemd160Core

§

impl BlockSizeUser for Ripemd320Core

§

impl BlockSizeUser for TurboShake256Core

§

impl BlockSizeUser for Keccak384Core

§

impl BlockSizeUser for Shake256Core

§

impl BlockSizeUser for TurboShake256ReaderCore

§

impl BlockSizeUser for CShake256ReaderCore

§

impl BlockSizeUser for Shake128ReaderCore

§

impl BlockSizeUser for Shake128Core

§

impl BlockSizeUser for CShake128ReaderCore

§

impl BlockSizeUser for CShake128Core

§

impl BlockSizeUser for Shake256ReaderCore

§

impl BlockSizeUser for Sha3_512Core

§

impl BlockSizeUser for Sha3_256Core

§

impl BlockSizeUser for Keccak224Core

§

impl BlockSizeUser for TurboShake128Core

§

impl BlockSizeUser for Keccak256Core

§

impl BlockSizeUser for Sha3_224Core

§

impl BlockSizeUser for CShake256Core

§

impl BlockSizeUser for Keccak512Core

§

impl BlockSizeUser for Keccak256FullCore

§

impl BlockSizeUser for TurboShake128ReaderCore

§

impl BlockSizeUser for Sha3_384Core

Implementors§