40 #define BLOWFISHROUNDS 16 41 #define BLOWFISHPSIZE (BLOWFISHROUNDS+2) Blowfish block cipher, assembler-optimized routines, headers.
int blowfishSetCTR(blowfishParam *, const byte *nivz, size_t counter)
cipherOperation
Specifies whether to perform encryption or decryption.
Definition: beecrypt.h:556
Holds information and pointers to code specific to each cipher.
Definition: beecrypt.h:644
int blowfishDecrypt(blowfishParam *, uint32_t *, const uint32_t *)
This function performs the Blowfish decryption; it Rderypts one block of 64 bits. ...
uint8_t byte
Definition: api.h:72
#define BEECRYPTAPI
Definition: api.h:52
Holds all the parameters necessary for the Blowfish cipher.
Definition: blowfish.h:47
#define BLOWFISHPSIZE
Definition: blowfish.h:41
uint32_t * blowfishFeedback(blowfishParam *)
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.
int blowfishEncrypt(blowfishParam *, uint32_t *, const uint32_t *)
This function performs the Blowfish encryption; it encrypts one block of 64 bits. ...
int blowfishSetIV(blowfishParam *, const byte *iv)
This function sets the Initialization Vector.