pub struct CbcCs3<C: BlockSizeUser> { /* private fields */ }Expand description
The CBC-CS-3 ciphertext stealing mode.
Trait Implementations§
Source§impl<C: BlockCipherDecrypt> Decrypt for CbcCs3<C>
impl<C: BlockCipherDecrypt> Decrypt for CbcCs3<C>
Source§impl<C: BlockCipherEncrypt> Encrypt for CbcCs3<C>
impl<C: BlockCipherEncrypt> Encrypt for CbcCs3<C>
Source§impl<C: BlockSizeUser> InnerIvInit for CbcCs3<C>
impl<C: BlockSizeUser> InnerIvInit for CbcCs3<C>
Source§fn inner_iv_init(cipher: Self::Inner, iv: &Iv<Self>) -> Self
fn inner_iv_init(cipher: Self::Inner, iv: &Iv<Self>) -> Self
Initialize value using
inner and iv array.Source§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>
Source§impl<C: BlockSizeUser> IvSizeUser for CbcCs3<C>
impl<C: BlockSizeUser> IvSizeUser for CbcCs3<C>
Auto Trait Implementations§
impl<C> Freeze for CbcCs3<C>
impl<C> RefUnwindSafe for CbcCs3<C>where
C: RefUnwindSafe,
<<C as BlockSizeUser>::BlockSize as ArraySize>::ArrayType<u8>: RefUnwindSafe,
impl<C> Send for CbcCs3<C>where
C: Send,
impl<C> Sync for CbcCs3<C>where
C: Sync,
impl<C> Unpin for CbcCs3<C>
impl<C> UnsafeUnpin for CbcCs3<C>
impl<C> UnwindSafe for CbcCs3<C>
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
Source§impl<T> KeyIvInit for T
impl<T> KeyIvInit for T
Source§fn new(
key: &Array<u8, <T as KeySizeUser>::KeySize>,
iv: &Array<u8, <T as IvSizeUser>::IvSize>,
) -> T
fn new( key: &Array<u8, <T as KeySizeUser>::KeySize>, iv: &Array<u8, <T as IvSizeUser>::IvSize>, ) -> T
Create new value from fixed length key and nonce.
Source§fn new_from_slices(key: &[u8], iv: &[u8]) -> Result<T, InvalidLength>
fn new_from_slices(key: &[u8], iv: &[u8]) -> Result<T, InvalidLength>
Create new value from variable length key and nonce. Read more