Add phnxdeco with debian patch set (version 0.33-3).
[delutions.git] / tc / crypto / Cast.h
blob3f999303704d7a48d7825f1a5b62d643ae4f30a4
1 /* Deprecated/legacy */
3 #ifndef HEADER_CAST_H
4 #define HEADER_CAST_H
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
10 typedef struct CAST_KEY_STRUCT
12 unsigned __int32 K[32];
13 } CAST_KEY;
15 void Cast5Decrypt (const byte *inBlock, byte *outBlock, CAST_KEY *key);
16 void Cast5Encrypt (const byte *inBlock, byte *outBlock, CAST_KEY *key);
17 void Cast5SetKey (CAST_KEY *key, unsigned int keylength, const byte *userKey);
19 #ifdef __cplusplus
21 #endif
23 #endif