tCryptDummy Class Reference

Inheritance diagram for tCryptDummy:

Inheritance graph
[legend]
Collaboration diagram for tCryptDummy:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ~tCryptDummy ()
virtual int KeyLength ()
virtual int MinDataLen ()
virtual int MaxDataLen ()
virtual int StepDataLen ()
virtual void CreateRandomKey (void *keydata)
virtual bool SetKey (const void *keydata)
virtual bool Crypt (const void *data_in, int data_len, void *data_out)


Detailed Description

Definition at line 34 of file tCrypt.cpp.


Constructor & Destructor Documentation

virtual tCryptDummy::~tCryptDummy (  )  [inline, virtual]

Definition at line 37 of file tCrypt.cpp.

00037 {}


Member Function Documentation

virtual int tCryptDummy::KeyLength (  )  [inline, virtual]

Implements tCrypt.

Definition at line 39 of file tCrypt.cpp.

00039 {return 0;}   // the key length in bytes (NOT BITS)

virtual int tCryptDummy::MinDataLen (  )  [inline, virtual]

Implements tCrypt.

Definition at line 41 of file tCrypt.cpp.

00041 {return 16;}  // minimum data length (bytes)

virtual int tCryptDummy::MaxDataLen (  )  [inline, virtual]

Implements tCrypt.

Definition at line 42 of file tCrypt.cpp.

00042 {return 32;}  // maximum data length

virtual int tCryptDummy::StepDataLen (  )  [inline, virtual]

Implements tCrypt.

Definition at line 43 of file tCrypt.cpp.

00043 {return 8;} // data length step

virtual void tCryptDummy::CreateRandomKey ( void *  keydata  )  [inline, virtual]

Implements tCrypt.

Definition at line 45 of file tCrypt.cpp.

00045 {}

virtual bool tCryptDummy::SetKey ( const void *  keydata  )  [inline, virtual]

Implements tCrypt.

Definition at line 46 of file tCrypt.cpp.

00046 {return true;}

virtual bool tCryptDummy::Crypt ( const void *  data_in,
int  data_len,
void *  data_out 
) [inline, virtual]

Implements tCrypt.

Definition at line 48 of file tCrypt.cpp.

00049     {
00050         memcpy(data_out, data_in, data_len);
00051         return true;
00052     }


The documentation for this class was generated from the following file:
Generated on Sat Mar 15 23:55:58 2008 for Armagetron Advanced by  doxygen 1.5.4