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

CAST256 Class Reference

base class, do not use directly. More...

#include <cast.h>

Inheritance diagram for CAST256:

FixedBlockSize VariableKeyLength BlockTransformation CAST256Decryption CAST256Encryption List of all members.

Public Methods

void ProcessBlock (const byte *inBlock,byte *outBlock)const
 encrypt or decrypt one block, may assume inBlock != outBlock. More...

void ProcessBlock (byte *inoutBlock)const
 encrypt or decrypt one block in place. More...


Protected Methods

 CAST256 (const byte *userKey,unsigned int keylength)

Protected Attributes

SecBlock<word32> K

Detailed Description

base class, do not use directly.

Definition at line 54 of file cast.h.


Constructor & Destructor Documentation

CAST256::CAST256 ( const byte * userKey,
unsigned int keylength ) [protected]
 

Definition at line 252 of file cast.cpp.


Member Function Documentation

void CAST256::ProcessBlock ( byte * inoutBlock ) const [inline, virtual]
 

encrypt or decrypt one block in place.

Precondition:
size of inoutBlock == BlockSize()

Reimplemented from BlockTransformation.

Definition at line 58 of file cast.h.

void CAST256::ProcessBlock ( const byte * inBlock,
byte * outBlock ) const [virtual]
 

encrypt or decrypt one block, may assume inBlock != outBlock.

Precondition:
size of inBlock and outBlock == BlockSize()

Reimplemented from BlockTransformation.

Definition at line 212 of file cast.cpp.


Member Data Documentation

SecBlock< word32 > CAST256::K [protected]
 

Definition at line 64 of file cast.h.


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