blockCipher Struct Reference
[Block ciphers]

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

#include <beecrypt.h>

Collaboration diagram for blockCipher:

Collaboration graph
[legend]

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 blockCipherSetCTR setctr
 Pointer to the cipher's ctr setup function.
const blockCipherFeedback getfb
 Pointer to the cipher's feedback-returning function.
const blockCipherRaw raw
 The cipher's raw functions.
const blockCipherMode ecb
 The cipher's ECB functions.
const blockCipherMode cbc
 The cipher's CBC functions.
const blockCipherMode ctr
 The cipher's CTR functions.

Detailed Description

Holds information and pointers to code specific to each cipher.

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


Field Documentation

The size of one block of data, in bytes.

The cipher's CBC functions.

The cipher's CTR functions.

The cipher's ECB functions.

Pointer to the cipher's feedback-returning function.

The allowed increment in key bits between min and max.

See also:
keybitsmin and keybitsmax.

The maximum number of key bits.

The minimum number of key bits.

The blockcipher's name.

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

The cipher's raw functions.

Pointer to the cipher's ctr setup function.

Pointer to the cipher's initialization vector setup function.

Pointer to the cipher's setup function.


The documentation for this struct was generated from the following file:

Generated on Fri Jun 19 13:38:57 2009 for BeeCrypt by  doxygen 1.5.8