Struct block_modes::Cbc[][src]

pub struct Cbc<C: BlockCipher + BlockEncrypt + BlockDecrypt, P: Padding> { /* fields omitted */ }

Cipher Block Chaining (CBC) block cipher mode instance.

Trait Implementations

impl<C, P> BlockMode<C, P> for Cbc<C, P> where
    C: BlockCipher + BlockEncrypt + BlockDecrypt,
    P: Padding
[src]

type IvSize = C::BlockSize

Initialization Vector size.

impl<C: Clone + BlockCipher + BlockEncrypt + BlockDecrypt, P: Clone + Padding> Clone for Cbc<C, P> where
    C::BlockSize: Clone
[src]

impl<C, P> IvState<C, P> for Cbc<C, P> where
    C: BlockCipher + BlockEncrypt + BlockDecrypt,
    P: Padding
[src]

Auto Trait Implementations

impl<C, P> RefUnwindSafe for Cbc<C, P> where
    C: RefUnwindSafe,
    P: RefUnwindSafe,
    <<C as BlockCipher>::BlockSize as ArrayLength<u8>>::ArrayType: RefUnwindSafe

impl<C, P> Send for Cbc<C, P> where
    C: Send,
    P: Send

impl<C, P> Sync for Cbc<C, P> where
    C: Sync,
    P: Sync

impl<C, P> Unpin for Cbc<C, P> where
    C: Unpin,
    P: Unpin,
    <<C as BlockCipher>::BlockSize as ArrayLength<u8>>::ArrayType: Unpin

impl<C, P> UnwindSafe for Cbc<C, P> where
    C: UnwindSafe,
    P: UnwindSafe,
    <<C as BlockCipher>::BlockSize as ArrayLength<u8>>::ArrayType: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.