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]

List of all members.

Public Attributes

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.


Member Data Documentation

The blockcipher's name.

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

The size of one block of data, in bytes.

The minimum number of key bits.

The maximum number of key bits.

The allowed increment in key bits between min and max.

See also:
keybitsmin and keybitsmax.

Pointer to the cipher's setup function.

Pointer to the cipher's initialization vector setup function.

The cipher's raw functions.

The cipher's ECB functions.

Pointer to the cipher's feedback-returning function.


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

Generated on Tue May 20 13:55:47 2008 for BeeCrypt by  doxygen 1.5.5