Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

Block ciphers


Files

file  aes.h
 AES block cipher, as specified by NIST FIPS 197.

file  beecrypt.h
 BeeCrypt API, headers.

file  blockmode.h
 Blockcipher operation modes.

file  blockpad.h
 Blockcipher padding algorithms.

file  blowfish.h
 Blowfish block cipher.


Data Structures

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

struct  blockCipherContext
 Holds a pointer to a blockcipher as well as its parameters. More...


Typedefs

typedef int(* blockCipherSetup )(blockCipherParam *, const byte *, size_t, cipherOperation)
 Prototype definition for a setup function.

typedef void blockCipherParam
 Placeholder type definition for blockcipher parameters.

typedef int(* blockCipherSetIV )(blockCipherParam *, const byte *)
 Prototype definition for an initialization vector setup function.

typedef int(* blockCipherRawcrypt )(blockCipherParam *, uint32_t *, const uint32_t *)
 Prototype for a raw encryption or decryption function.

typedef int(* blockCipherModcrypt )(blockCipherParam *, uint32_t *, const uint32_t *, unsigned int)
 Prototype for a encryption or decryption function which operates on multiple blocks in a certain mode.


Typedef Documentation

int(* blockCipherModcrypt
 

Prototype for a encryption or decryption function which operates on multiple blocks in a certain mode.

Parameters:
bp  The blockcipher's parameters.
dst  The ciphertext address; must be aligned on 32-bit boundary.
src  The cleartext address; must be aligned on 32-bit boundary.
nblocks  The number of blocks to process.
Return values:
0  on success.
-1  on failure.

Definition at line 536 of file beecrypt.h.

void blockCipherParam
 

Placeholder type definition for blockcipher parameters.

See also:
aesParam, blowfishParam.

Definition at line 496 of file beecrypt.h.

int(* blockCipherRawcrypt
 

Prototype for a raw encryption or decryption function.

Parameters:
bp  The blockcipher's parameters.
dst  The ciphertext address; must be aligned on 32-bit boundary.
src  The cleartext address; must be aligned on 32-bit boundary.
Return values:
0  on success.
-1  on failure.

Definition at line 523 of file beecrypt.h.

int(* blockCipherSetIV
 

Prototype definition for an initialization vector setup function.

Parameters:
bp  The blockcipher's parameters.
iv  The blockciphers' IV value.
Note:
iv length must be equal to the cipher's block size.
Return values:
0  on success.
-1  on failure.

Definition at line 512 of file beecrypt.h.

typedef int(* blockCipherSetup)(blockCipherParam*, const byte*, size_t, cipherOperation)
 

Prototype definition for a setup function.

Definition at line 501 of file beecrypt.h.


Generated on Sat Oct 25 23:34:29 2003 for BeeCrypt by doxygen1.2.18