/* blowfish.h */

#define UWORD32 unsigned long
#define UBYTE08 unsigned char

typedef struct
{
	unsigned long S[4][256], P[18];
} blf_ctx;

void Blowfish_encipher(blf_ctx *, unsigned long *xl, unsigned long *xr);

#ifdef DECODE
void Blowfish_decipher(blf_ctx *, unsigned long *xl, unsigned long *xr);
#endif

short InitializeBlowfish(blf_ctx *, unsigned char key[], int keybytes);