pub struct Cfb<C> { /* private fields */ }Expand description
Cipher Feedback (CFB) mode with a segment size equal to the full block.
Implementations§
Source§impl<C: BlockCipher> Cfb<C>
impl<C: BlockCipher> Cfb<C>
Sourcepub fn encrypt_nopad(&self, iv: &[u8], data: &mut [u8])
pub fn encrypt_nopad(&self, iv: &[u8], data: &mut [u8])
§Panics
Panics if iv.len() does not match the block size, or if data.len()
is not an exact multiple of the block size.
Sourcepub fn decrypt_nopad(&self, iv: &[u8], data: &mut [u8])
pub fn decrypt_nopad(&self, iv: &[u8], data: &mut [u8])
§Panics
Panics if iv.len() does not match the block size, or if data.len()
is not an exact multiple of the block size.
Auto Trait Implementations§
impl<C> Freeze for Cfb<C>where
C: Freeze,
impl<C> RefUnwindSafe for Cfb<C>where
C: RefUnwindSafe,
impl<C> Send for Cfb<C>where
C: Send,
impl<C> Sync for Cfb<C>where
C: Sync,
impl<C> Unpin for Cfb<C>where
C: Unpin,
impl<C> UnsafeUnpin for Cfb<C>where
C: UnsafeUnpin,
impl<C> UnwindSafe for Cfb<C>where
C: 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