File:  [truecrypt] / truecrypt / crypto / blowfish.h
Revision 1.1.1.6 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:09:25 2018 UTC (8 years, 3 months ago) by root
Branches: drWhax, MAIN
CVS tags: v7_1a, v7_1, v7_0a, v7_0, HEAD
7.0

/* Deprecated/legacy */


#ifndef TC_HEADER_Crypto_Blowfish
#define TC_HEADER_Crypto_Blowfish

#ifdef  __cplusplus
extern "C" {
#endif

typedef struct BF_KEY_STRUCT
{
	unsigned __int32 pbox[18];
	unsigned __int32 pbox_dec[18];
	unsigned __int32 sbox[4*256];
} BF_KEY;

void BlowfishSetKey (BF_KEY *key, int keylength, unsigned char *key_string);
void BlowfishEncryptLE (unsigned char *in, unsigned char *out, BF_KEY *ks, int encrypt);

#ifdef  __cplusplus
}
#endif

#endif // TC_HEADER_Crypto_Blowfish

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.