Struct crypto::blockmodes::CbcDecryptor [-] [+] [src]

pub struct CbcDecryptor<T, X> {
    // some fields omitted
}

CBC decryption mode

Methods

impl<T: BlockDecryptor, X: PaddingProcessor> CbcDecryptor<T, X>

fn new(algo: T, padding: X, iv: Vec<u8>) -> CbcDecryptor<T, DecPadding<X>>

Create a new CBC decryption mode object

fn reset(&mut self, iv: &[u8])

Trait Implementations

impl<T: BlockDecryptor, X: PaddingProcessor> Decryptor for CbcDecryptor<T, X>

fn decrypt(&mut self, input: &mut RefReadBuffer, output: &mut RefWriteBuffer, eof: bool) -> Result<BufferResult, SymmetricCipherError>