1 /*
2  * Author     :  Paul Kocher
3  * E-mail     :  pck@netcom.com
4  * Date       :  1997
5  * Description:  C implementation of the Blowfish algorithm.
6  */
7 
8 #define MAXKEYBYTES 56          /* 448 bits */
9 
10 typedef struct {
11   uInt32 P[16 + 2];
12   uInt32 S[4][256];
13 } BLOWFISH_CTX;
14 
15 void Blowfish_Init(BLOWFISH_CTX *ctx, unsigned char *key, int keyLen);
16 
17 void Blowfish_Encrypt(BLOWFISH_CTX *ctx, uInt32 *xl, uInt32
18 *xr);
19 
20 void Blowfish_Decrypt(BLOWFISH_CTX *ctx, uInt32 *xl, uInt32
21 *xr);
22