Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

BlockCipherBase::Parameters Struct Reference

Block cipher parameters. More...

#include <bcipherbase.h>

Collaboration diagram for BlockCipherBase::Parameters:

Collaboration graph
[legend]
List of all members.

Public Attributes

size_t block_size
 Crypts quantities of this size in bytes.

int n_key_lengths
const size_t * key_length
int cipher_ID
 A unique cipher ID (used by CopyFrom()).

const char * name
 The cipher name (e.g. "twofish").


Detailed Description

Block cipher parameters.

Definition at line 46 of file bcipherbase.h.


Member Data Documentation

size_t BlockCipherBase::Parameters::block_size
 

Crypts quantities of this size in bytes.

Definition at line 48 of file bcipherbase.h.

int BlockCipherBase::Parameters::cipher_ID
 

A unique cipher ID (used by CopyFrom()).

Definition at line 53 of file bcipherbase.h.

Referenced by TwoFishCipher::CopyFrom(), BlowFishCipher::CopyFrom(), and BlockCipherBase::CopyFrom().

const size_t* BlockCipherBase::Parameters::key_length
 

Possible sizes of the user-supplied key (via SetKey()) (ascenting order).

Definition at line 52 of file bcipherbase.h.

Referenced by BlockCipherBase::SetKey().

int BlockCipherBase::Parameters::n_key_lengths
 

Number of elements in key_length

Definition at line 49 of file bcipherbase.h.

Referenced by BlockCipherBase::SetKey().

const char* BlockCipherBase::Parameters::name
 

The cipher name (e.g. "twofish").

Definition at line 54 of file bcipherbase.h.


The documentation for this struct was generated from the following file:
Generated on Sat Feb 19 22:35:22 2005 for Ray by doxygen 1.3.5