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