|
|
1.1.1.5 ! root 1: #ifndef TC_HEADER_Crypto_Blowfish ! 2: #define TC_HEADER_Crypto_Blowfish 1.1 root 3: 4: #ifdef __cplusplus 5: extern "C" { 6: #endif 7: 1.1.1.5 ! root 8: typedef struct BF_KEY_STRUCT ! 9: { ! 10: unsigned __int32 pbox[18]; ! 11: unsigned __int32 pbox_dec[18]; ! 12: unsigned __int32 sbox[4*256]; ! 13: } BF_KEY; 1.1 root 14: 1.1.1.5 ! root 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); 1.1 root 17: 18: #ifdef __cplusplus 19: } 20: #endif 21: 1.1.1.5 ! root 22: #endif // TC_HEADER_Crypto_Blowfish
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.