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

Diamond2LiteDecryption Class Reference

Diamond2 Lite. More...

#include <diamond.h>

Inheritance diagram for Diamond2LiteDecryption:

Diamond2LiteBase FixedBlockSize VariableKeyLength BlockTransformation List of all members.

Public Methods

 Diamond2LiteDecryption (const byte *key,unsigned int key_size=DEFAULT_KEYLENGTH,unsigned int rounds=DEFAULT_ROUNDS)
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...


Detailed Description

Diamond2 Lite.

Definition at line 94 of file diamond.h.


Constructor & Destructor Documentation

Diamond2LiteDecryption::Diamond2LiteDecryption ( const byte * key,
unsigned int key_size = DEFAULT_KEYLENGTH,
unsigned int rounds = DEFAULT_ROUNDS ) [inline]
 

Definition at line 97 of file diamond.h.


Member Function Documentation

void Diamond2LiteDecryption::ProcessBlock ( byte * y ) const [virtual]
 

encrypt or decrypt one block in place.

Precondition:
size of inoutBlock == BlockSize()

Reimplemented from BlockTransformation.

Definition at line 543 of file diamond.cpp.

void Diamond2LiteDecryption::ProcessBlock ( const byte * x,
byte * y ) const [virtual]
 

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

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

Reimplemented from BlockTransformation.

Definition at line 553 of file diamond.cpp.


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