pub struct CtrMode<A> { /* private fields */ }
Expand description
CTR Mode
Implementations§
Trait Implementations§
Source§impl<A: BlockEncryptor> Decryptor for CtrMode<A>
impl<A: BlockEncryptor> Decryptor for CtrMode<A>
fn decrypt( &mut self, input: &mut RefReadBuffer<'_>, output: &mut RefWriteBuffer<'_>, _: bool, ) -> Result<BufferResult, SymmetricCipherError>
Source§impl<A: BlockEncryptor> Encryptor for CtrMode<A>
impl<A: BlockEncryptor> Encryptor for CtrMode<A>
fn encrypt( &mut self, input: &mut RefReadBuffer<'_>, output: &mut RefWriteBuffer<'_>, _: bool, ) -> Result<BufferResult, SymmetricCipherError>
Source§impl<A: BlockEncryptor> SynchronousStreamCipher for CtrMode<A>
impl<A: BlockEncryptor> SynchronousStreamCipher for CtrMode<A>
Auto Trait Implementations§
impl<A> Freeze for CtrMode<A>where
A: Freeze,
impl<A> RefUnwindSafe for CtrMode<A>where
A: RefUnwindSafe,
impl<A> Send for CtrMode<A>where
A: Send,
impl<A> Sync for CtrMode<A>where
A: Sync,
impl<A> Unpin for CtrMode<A>where
A: Unpin,
impl<A> UnwindSafe for CtrMode<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