Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

CBC_CTS_Decryptor Class Reference

CBC/CTS mode with ciphertext stealing. More...

#include <cbc.h>

Inheritance diagram for CBC_CTS_Decryptor:

FilterWithBufferedInput Filter BufferedTransformation List of all members.

Public Methods

 CBC_CTS_Decryptor (const BlockTransformation &cipher,const byte *IV,BufferedTransformation *outQueue=NULL)

Protected Methods

void FirstPut (const byte *inString)
void NextPut (const byte *inString,unsigned int length)
void LastPut (const byte *inString,unsigned int length)

Detailed Description

CBC/CTS mode with ciphertext stealing.

Compatible with RFC 2040. Ciphertext stealing requires at least cipher.BlockSize()+1 bytes of plaintext. Shorter plaintext will be padded with '\0's unless IV stealing is specified.

Definition at line 98 of file cbc.h.


Constructor & Destructor Documentation

CBC_CTS_Decryptor::CBC_CTS_Decryptor ( const BlockTransformation & cipher,
const byte * IV,
BufferedTransformation * outQueue = NULL )
 

Definition at line 147 of file cbc.cpp.


Member Function Documentation

void CBC_CTS_Decryptor::FirstPut ( const byte * inString ) [inline, protected, virtual]
 

Reimplemented from FilterWithBufferedInput.

Definition at line 104 of file cbc.h.

void CBC_CTS_Decryptor::LastPut ( const byte * inString,
unsigned int length ) [protected, virtual]
 

Reimplemented from FilterWithBufferedInput.

Definition at line 160 of file cbc.cpp.

void CBC_CTS_Decryptor::NextPut ( const byte * inString,
unsigned int length ) [protected, virtual]
 

Reimplemented from FilterWithBufferedInput.

Definition at line 152 of file cbc.cpp.


The documentation for this class was generated from the following files:
Generated at Mon Jan 15 01:16:43 2001 for Crypto++ by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000