Struct crypto::blockmodes::CtrModeX8
source · [−]pub struct CtrModeX8<A> { /* private fields */ }
Expand description
CTR Mode that operates on 8 blocks at a time
Implementations
sourceimpl<A: BlockEncryptorX8> CtrModeX8<A>
impl<A: BlockEncryptorX8> CtrModeX8<A>
Trait Implementations
sourceimpl<A: BlockEncryptorX8> Decryptor for CtrModeX8<A>
impl<A: BlockEncryptorX8> Decryptor for CtrModeX8<A>
fn decrypt(
&mut self,
input: &mut RefReadBuffer<'_>,
output: &mut RefWriteBuffer<'_>,
_: bool
) -> Result<BufferResult, SymmetricCipherError>
sourceimpl<A: BlockEncryptorX8> Encryptor for CtrModeX8<A>
impl<A: BlockEncryptorX8> Encryptor for CtrModeX8<A>
fn encrypt(
&mut self,
input: &mut RefReadBuffer<'_>,
output: &mut RefWriteBuffer<'_>,
_: bool
) -> Result<BufferResult, SymmetricCipherError>
Auto Trait Implementations
impl<A> RefUnwindSafe for CtrModeX8<A> where
A: RefUnwindSafe,
impl<A> Send for CtrModeX8<A> where
A: Send,
impl<A> Sync for CtrModeX8<A> where
A: Sync,
impl<A> Unpin for CtrModeX8<A> where
A: Unpin,
impl<A> UnwindSafe for CtrModeX8<A> where
A: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more