Go to the documentation of this file.
40 #define BLOWFISHROUNDS 16
41 #define BLOWFISHPSIZE (BLOWFISHROUNDS+2)
#define BLOWFISHPSIZE
Definition: blowfish.h:41
Holds all the parameters necessary for the Blowfish cipher.
Definition: blowfish.h:47
#define BEECRYPTAPI
Definition: api.h:52
int blowfishDecrypt(blowfishParam *, uint32_t *, const uint32_t *)
This function performs the Blowfish decryption; it Rderypts one block of 64 bits.
const blockCipher blowfish
Holds the full API description of the Blowfish algorithm.
int blowfishSetup(blowfishParam *, const byte *, size_t, cipherOperation)
The function performs the cipher's key expansion.
cipherOperation
Specifies whether to perform encryption or decryption.
Definition: beecrypt.h:556
int blowfishEncrypt(blowfishParam *, uint32_t *, const uint32_t *)
This function performs the Blowfish encryption; it encrypts one block of 64 bits.
int blowfishSetCTR(blowfishParam *, const byte *nivz, size_t counter)
Holds information and pointers to code specific to each cipher.
Definition: beecrypt.h:644
uint32_t * blowfishFeedback(blowfishParam *)
int blowfishSetIV(blowfishParam *, const byte *iv)
This function sets the Initialization Vector.
Blowfish block cipher, assembler-optimized routines, headers.