File:  [truecrypt] / truecrypt / crypto / des.h
Revision 1.1.1.8 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:09:31 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 HEADER_Crypto_DES
#define HEADER_Crypto_DES

#ifdef  __cplusplus
extern "C" {
#endif

typedef struct TRIPLE_DES_KEY_STRUCT
{
	unsigned __int32 k1[32];
	unsigned __int32 k2[32];
	unsigned __int32 k3[32];
	unsigned __int32 k1d[32];
	unsigned __int32 k2d[32];
	unsigned __int32 k3d[32];
} TDES_KEY;

void TripleDesEncrypt (byte *inBlock, byte *outBlock, TDES_KEY *key, int encrypt);
void TripleDesSetKey (const byte *userKey, unsigned int length, TDES_KEY *ks);

#ifdef  __cplusplus
}
#endif

#endif // HEADER_Crypto_DES

unix.superglobalmegacorp.com

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