BeeCrypt  4.2.1
Data Fields
blockCipher Struct Reference

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. More...
 
const size_t paramsize
 The size of the parameters required by this cipher, in bytes. More...
 
const size_t blocksize
 The size of one block of data, in bytes. More...
 
const size_t keybitsmin
 The minimum number of key bits. More...
 
const size_t keybitsmax
 The maximum number of key bits. More...
 
const size_t keybitsinc
 The allowed increment in key bits between min and max. More...
 
const blockCipherSetup setup
 Pointer to the cipher's setup function. More...
 
const blockCipherSetIV setiv
 Pointer to the cipher's initialization vector setup function. More...
 
const blockCipherSetCTR setctr
 Pointer to the cipher's ctr setup function. More...
 
const blockCipherFeedback getfb
 Pointer to the cipher's feedback-returning function. More...
 
const blockCipherRaw raw
 The cipher's raw functions. More...
 
const blockCipherMode ecb
 The cipher's ECB functions. More...
 
const blockCipherMode cbc
 The cipher's CBC functions. More...
 
const blockCipherMode ctr
 The cipher's CTR functions. More...
 

Detailed Description

Holds information and pointers to code specific to each cipher.

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

Field Documentation

blockCipher::blocksize

The size of one block of data, in bytes.

blockCipher::cbc

The cipher's CBC functions.

blockCipher::ctr

The cipher's CTR functions.

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::setctr

Pointer to the cipher's ctr setup function.

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: