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

Twofish Class Reference

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

#include <twofish.h>

Inheritance diagram for Twofish:

FixedBlockSize VariableKeyLength BlockTransformation TwofishDecryption TwofishEncryption List of all members.

Protected Methods

 Twofish (const byte *userKey,unsigned int keylength)

Protected Attributes

SecBlock<word32> m_k
SecBlock<word32[256]> m_s

Static Protected Methods

word32 h0 (word32 x,const word32 *key,unsigned int kLen)
word32 h (word32 x,const word32 *key,unsigned int kLen)

Static Protected Attributes

const byte q [2][256]
const word32 mds [4][256]

Detailed Description

base class, do not use directly.

Definition at line 13 of file twofish.h.


Constructor & Destructor Documentation

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

Definition at line 51 of file twofish.cpp.


Member Function Documentation

word32 Twofish::h ( word32 x,
const word32 * key,
unsigned int kLen ) [inline, static, protected]
 

Definition at line 45 of file twofish.cpp.

word32 Twofish::h0 ( word32 x,
const word32 * key,
unsigned int kLen ) [inline, static, protected]
 

Definition at line 31 of file twofish.cpp.


Member Data Documentation

SecBlock< word32 > Twofish::m_k [protected]
 

Definition at line 23 of file twofish.h.

SecBlock< word32[256]> Twofish::m_s [protected]
 

Definition at line 24 of file twofish.h.

const word32 Twofish::mds[4][256] [static, protected]
 

Definition at line 21 of file twofish.h.

const byte Twofish::q[2][256] [static, protected]
 

Definition at line 20 of file twofish.h.


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