crypto_common

Trait IvSizeUser

source
pub trait IvSizeUser {
    type IvSize: ArrayLength<u8> + 'static;

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

Types which use initialization vector (nonce) for initialization.

Generally it’s used indirectly via KeyIvInit or InnerIvInit.

Required Associated Types§

source

type IvSize: ArrayLength<u8> + 'static

Initialization vector size in bytes.

Provided Methods§

source

fn iv_size() -> usize

Return IV size in bytes.

Object Safety§

This trait is not object safe.

Implementors§