Struct cfb_mode::BufDecryptor
source · [−]pub struct BufDecryptor<C>where
C: BlockEncryptMut + BlockCipher,{ /* private fields */ }
Expand description
CFB mode buffered decryptor.
Implementations
sourceimpl<C> BufDecryptor<C>where
C: BlockEncryptMut + BlockCipher,
impl<C> BufDecryptor<C>where
C: BlockEncryptMut + BlockCipher,
Trait Implementations
sourceimpl<C> AlgorithmName for BufDecryptor<C>where
C: BlockEncryptMut + BlockCipher + AlgorithmName,
impl<C> AlgorithmName for BufDecryptor<C>where
C: BlockEncryptMut + BlockCipher + AlgorithmName,
sourcefn write_alg_name(f: &mut Formatter<'_>) -> Result
fn write_alg_name(f: &mut Formatter<'_>) -> Result
Write algorithm name into f
.
sourceimpl<C: Clone> Clone for BufDecryptor<C>where
C: BlockEncryptMut + BlockCipher,
impl<C: Clone> Clone for BufDecryptor<C>where
C: BlockEncryptMut + BlockCipher,
sourcefn clone(&self) -> BufDecryptor<C>
fn clone(&self) -> BufDecryptor<C>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<C> Debug for BufDecryptor<C>where
C: BlockEncryptMut + BlockCipher + AlgorithmName,
impl<C> Debug for BufDecryptor<C>where
C: BlockEncryptMut + BlockCipher + AlgorithmName,
sourceimpl<C: BlockEncryptMut + BlockCipher> Drop for BufDecryptor<C>
Available on crate feature zeroize
only.
impl<C: BlockEncryptMut + BlockCipher> Drop for BufDecryptor<C>
Available on crate feature
zeroize
only.sourceimpl<C> InnerIvInit for BufDecryptor<C>where
C: BlockEncryptMut + BlockCipher,
impl<C> InnerIvInit for BufDecryptor<C>where
C: BlockEncryptMut + BlockCipher,
sourcefn inner_iv_init(cipher: C, iv: &Iv<Self>) -> Self
fn inner_iv_init(cipher: C, iv: &Iv<Self>) -> Self
Initialize value using inner
and iv
array.
fn inner_iv_slice_init(
inner: Self::Inner,
iv: &[u8]
) -> Result<Self, InvalidLength>
fn inner_iv_slice_init(
inner: Self::Inner,
iv: &[u8]
) -> Result<Self, InvalidLength>
Initialize value using inner
and iv
slice.
sourceimpl<C> InnerUser for BufDecryptor<C>where
C: BlockEncryptMut + BlockCipher,
impl<C> InnerUser for BufDecryptor<C>where
C: BlockEncryptMut + BlockCipher,
type Inner = C
type Inner = C
Inner type.
sourceimpl<C> IvSizeUser for BufDecryptor<C>where
C: BlockEncryptMut + BlockCipher,
impl<C> IvSizeUser for BufDecryptor<C>where
C: BlockEncryptMut + BlockCipher,
impl<C: BlockEncryptMut + BlockCipher + ZeroizeOnDrop> ZeroizeOnDrop for BufDecryptor<C>
Available on crate feature
zeroize
only.Auto Trait Implementations
impl<C> RefUnwindSafe for BufDecryptor<C>where
C: RefUnwindSafe,
<<C as BlockSizeUser>::BlockSize as ArrayLength<u8>>::ArrayType: RefUnwindSafe,
impl<C> Send for BufDecryptor<C>where
C: Send,
impl<C> Sync for BufDecryptor<C>where
C: Sync,
impl<C> Unpin for BufDecryptor<C>where
C: Unpin,
<<C as BlockSizeUser>::BlockSize as ArrayLength<u8>>::ArrayType: Unpin,
impl<C> UnwindSafe for BufDecryptor<C>where
C: UnwindSafe,
<<C as BlockSizeUser>::BlockSize as ArrayLength<u8>>::ArrayType: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more