Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

blockCipher Struct Reference
[Block ciphers]

Holds information and pointers to code specific to each cipher. More...

#include <beecrypt.h>


Data Fields

const char * name
 The blockcipher's name.

const size_t paramsize
 The size of the parameters required by this cipher, in bytes.

const size_t blocksize
 The size of one block of data, in bytes.

const size_t keybitsmin
 The minimum number of key bits.

const size_t keybitsmax
 The maximum number of key bits.

const size_t keybitsinc
 The allowed increment in key bits between min and max.

const blockCipherSetup setup
 Pointer to the cipher's setup function.

const blockCipherSetIV setiv
 Pointer to the cipher's initialization vector setup function.

const blockCipherRaw raw
 The cipher's raw functions.

const blockCipherMode ecb
 The cipher's ECB functions.

const blockCipherMode cbc
const blockCipherFeedback getfb
 Pointer to the cipher's feedback-returning function.


Detailed Description

Holds information and pointers to code specific to each cipher.

Specific block ciphers may be written to be multithread-safe.

Definition at line 558 of file beecrypt.h.


Field Documentation

blockCipher::blocksize
 

The size of one block of data, in bytes.

const blockCipherMode blockCipher::cbc
 

Definition at line 601 of file beecrypt.h.

blockCipher::ecb
 

The cipher's ECB functions.

blockCipher::getfb
 

Pointer to the cipher's feedback-returning function.

blockCipher::keybitsinc
 

The allowed increment in key bits between min and max.

See also:
keybitsmin and keybitsmax.

blockCipher::keybitsmax
 

The maximum number of key bits.

blockCipher::keybitsmin
 

The minimum number of key bits.

blockCipher::name
 

The blockcipher's name.

blockCipher::paramsize
 

The size of the parameters required by this cipher, in bytes.

blockCipher::raw
 

The cipher's raw functions.

blockCipher::setiv
 

Pointer to the cipher's initialization vector setup function.

blockCipher::setup
 

Pointer to the cipher's setup function.


The documentation for this struct was generated from the following file:
Generated on Wed Mar 24 13:56:54 2004 for BeeCrypt by doxygen 1.3.6