Add phnxdeco with debian patch set (version 0.33-3).
[delutions.git] / tc / crypto / Blowfish.h
blob142313e22c2255b53e86dbe7c3fb26536fd2e12e
1 #ifndef TC_HEADER_Crypto_Blowfish
2 #define TC_HEADER_Crypto_Blowfish
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
8 typedef struct BF_KEY_STRUCT
10 unsigned __int32 pbox[18];
11 unsigned __int32 pbox_dec[18];
12 unsigned __int32 sbox[4*256];
13 } BF_KEY;
15 void BlowfishSetKey (BF_KEY *key, int keylength, unsigned char *key_string);
16 void BlowfishEncryptLE (unsigned char *in, unsigned char *out, BF_KEY *ks, int encrypt);
18 #ifdef __cplusplus
20 #endif
22 #endif // TC_HEADER_Crypto_Blowfish