[−][src]Struct crypto::blockmodes::CbcDecryptor
CBC decryption mode
Methods
impl<T: BlockDecryptor, X: PaddingProcessor> CbcDecryptor<T, X>
[src]
pub fn new(algo: T, padding: X, iv: Vec<u8>) -> CbcDecryptor<T, DecPadding<X>>
[src]
Create a new CBC decryption mode object
pub fn reset(&mut self, iv: &[u8])
[src]
Trait Implementations
impl<T: BlockDecryptor, X: PaddingProcessor> Decryptor for CbcDecryptor<T, X>
[src]
fn decrypt(
&mut self,
input: &mut RefReadBuffer,
output: &mut RefWriteBuffer,
eof: bool
) -> Result<BufferResult, SymmetricCipherError>
[src]
&mut self,
input: &mut RefReadBuffer,
output: &mut RefWriteBuffer,
eof: bool
) -> Result<BufferResult, SymmetricCipherError>
Auto Trait Implementations
impl<T, X> Unpin for CbcDecryptor<T, X> where
T: Unpin,
X: Unpin,
T: Unpin,
X: Unpin,
impl<T, X> Sync for CbcDecryptor<T, X> where
T: Sync,
X: Sync,
T: Sync,
X: Sync,
impl<T, X> Send for CbcDecryptor<T, X> where
T: Send,
X: Send,
T: Send,
X: Send,
impl<T, X> UnwindSafe for CbcDecryptor<T, X> where
T: UnwindSafe,
X: UnwindSafe,
T: UnwindSafe,
X: UnwindSafe,
impl<T, X> RefUnwindSafe for CbcDecryptor<T, X> where
T: RefUnwindSafe,
X: RefUnwindSafe,
T: RefUnwindSafe,
X: RefUnwindSafe,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,