pub struct CtrModeX8<A> { /* private fields */ }
Expand description
CTR Mode that operates on 8 blocks at a time
Implementations§
Trait Implementations§
Source§impl<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>
Source§impl<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>
Source§impl<A: BlockEncryptorX8> SynchronousStreamCipher for CtrModeX8<A>
impl<A: BlockEncryptorX8> SynchronousStreamCipher for CtrModeX8<A>
Auto Trait Implementations§
impl<A> Freeze for CtrModeX8<A>where
A: Freeze,
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more