BeeCrypt 4.2.1
blockCipher Struct Reference

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

#include <beecrypt.h>

Collaboration diagram for blockCipher:

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

◆ blocksize

const size_t blockCipher::blocksize

The size of one block of data, in bytes.

◆ cbc

const blockCipherMode blockCipher::cbc

The cipher's CBC functions.

◆ ctr

const blockCipherMode blockCipher::ctr

The cipher's CTR functions.

◆ ecb

const blockCipherMode blockCipher::ecb

The cipher's ECB functions.

◆ getfb

const blockCipherFeedback blockCipher::getfb

Pointer to the cipher's feedback-returning function.

◆ keybitsinc

const size_t blockCipher::keybitsinc

The allowed increment in key bits between min and max.

See also
keybitsmin and keybitsmax.

◆ keybitsmax

const size_t blockCipher::keybitsmax

The maximum number of key bits.

◆ keybitsmin

const size_t blockCipher::keybitsmin

The minimum number of key bits.

◆ name

const char* blockCipher::name

The blockcipher's name.

◆ paramsize

const size_t blockCipher::paramsize

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

◆ raw

const blockCipherRaw blockCipher::raw

The cipher's raw functions.

◆ setctr

const blockCipherSetCTR blockCipher::setctr

Pointer to the cipher's ctr setup function.

◆ setiv

const blockCipherSetIV blockCipher::setiv

Pointer to the cipher's initialization vector setup function.

◆ setup

const blockCipherSetup blockCipher::setup

Pointer to the cipher's setup function.


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