logo
pub trait KeySizeUser {
    type KeySize: ArrayLength<u8> + 'static;
    fn key_size() -> usize { ... }
}
Expand description

Types which use key for initialization.

Generally it’s used indirectly via KeyInit or KeyIvInit.

Associated Types

Key size in bytes.

Provided methods

Return key size in bytes.

Implementors

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