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

#ifdef  __cplusplus
extern "C" {
#endif

typedef struct CAST_KEY_STRUCT
{
	unsigned __int32 K[32];
} CAST_KEY;

void Cast5Decrypt (const byte *inBlock, byte *outBlock, CAST_KEY *key);
void Cast5Encrypt (const byte *inBlock, byte *outBlock, CAST_KEY *key);
void Cast5SetKey (CAST_KEY *key, unsigned int keylength, const byte *userKey);

#ifdef  __cplusplus
}
#endif

#endif

unix.superglobalmegacorp.com

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