Trait InnerIvInit

trait InnerIvInit: InnerUser + IvSizeUser + Sized

Types which can be initialized from another type and additional initialization vector/nonce.

Usually used for initializing types from block ciphers.

Required Methods

fn inner_iv_init(inner: <Self as >::Inner, iv: &Iv<Self>) -> Self

Initialize value using inner and iv array.

Provided Methods

fn inner_iv_slice_init(inner: <Self as >::Inner, iv: &[u8]) -> Result<Self, InvalidLength>

Initialize value using inner and iv slice.