|
|
1.1.1.4 root 1: /* Deprecated/legacy */
2:
1.1.1.6 ! root 3:
1.1 root 4: #ifndef HEADER_CAST_H
5: #define HEADER_CAST_H
6:
7: #ifdef __cplusplus
8: extern "C" {
9: #endif
10:
1.1.1.5 root 11: typedef struct CAST_KEY_STRUCT
12: {
13: unsigned __int32 K[32];
14: } CAST_KEY;
15:
16: void Cast5Decrypt (const byte *inBlock, byte *outBlock, CAST_KEY *key);
17: void Cast5Encrypt (const byte *inBlock, byte *outBlock, CAST_KEY *key);
18: void Cast5SetKey (CAST_KEY *key, unsigned int keylength, const byte *userKey);
1.1 root 19:
20: #ifdef __cplusplus
21: }
22: #endif
23:
24: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.