Trait crypto_common::InnerIvInit[][src]

pub trait InnerIvInit: InnerUser + IvSizeUser + Sized {
    fn inner_iv_init(inner: Self::Inner, iv: &Iv<Self>) -> Self;

    fn inner_iv_slice_init(
        inner: Self::Inner,
        iv: &[u8]
    ) -> Result<Self, InvalidLength> { ... } }
Expand description

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

Usually used for initializing types from block ciphers.

Required methods

Initialize value using inner and iv array.

Provided methods

Initialize value using inner and iv slice.

Implementors