|
|
1.1.1.4 root 1: /* Deprecated/legacy */
2:
1.1 root 3: #ifndef HEADER_CAST_H
4: #define HEADER_CAST_H
5:
6: #ifdef __cplusplus
7: extern "C" {
8: #endif
9:
1.1.1.5 ! root 10: typedef struct CAST_KEY_STRUCT
! 11: {
! 12: unsigned __int32 K[32];
! 13: } CAST_KEY;
! 14:
! 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);
1.1 root 18:
19: #ifdef __cplusplus
20: }
21: #endif
22:
23: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.