[][src]Struct crypto::blockmodes::CtrModeX8

pub struct CtrModeX8<A> { /* fields omitted */ }

CTR Mode that operates on 8 blocks at a time

Methods

impl<A: BlockEncryptorX8> CtrModeX8<A>[src]

pub fn new(algo: A, ctr: &[u8]) -> CtrModeX8<A>[src]

Create a new CTR object that operates on 8 blocks at a time

pub fn reset(&mut self, ctr: &[u8])[src]

Trait Implementations

impl<A: BlockEncryptorX8> Encryptor for CtrModeX8<A>[src]

impl<A: BlockEncryptorX8> Decryptor for CtrModeX8<A>[src]

impl<A: BlockEncryptorX8> SynchronousStreamCipher for CtrModeX8<A>[src]

Auto Trait Implementations

impl<A> Unpin for CtrModeX8<A> where
    A: Unpin

impl<A> Sync for CtrModeX8<A> where
    A: Sync

impl<A> Send for CtrModeX8<A> where
    A: Send

impl<A> UnwindSafe for CtrModeX8<A> where
    A: UnwindSafe

impl<A> RefUnwindSafe for CtrModeX8<A> where
    A: RefUnwindSafe

Blanket Implementations

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

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

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.

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

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

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