|
|
1.1.1.4 root 1: /* Deprecated/legacy */
2:
1.1.1.7 ! root 3: #ifndef HEADER_Crypto_DES
! 4: #define HEADER_Crypto_DES
1.1 root 5:
6: #ifdef __cplusplus
7: extern "C" {
8: #endif
9:
1.1.1.7 ! root 10: typedef struct TRIPLE_DES_KEY_STRUCT
! 11: {
! 12: unsigned __int32 k1[32];
! 13: unsigned __int32 k2[32];
! 14: unsigned __int32 k3[32];
! 15: unsigned __int32 k1d[32];
! 16: unsigned __int32 k2d[32];
! 17: unsigned __int32 k3d[32];
! 18: } TDES_KEY;
1.1 root 19:
1.1.1.7 ! root 20: void TripleDesEncrypt (byte *inBlock, byte *outBlock, TDES_KEY *key, int encrypt);
! 21: void TripleDesSetKey (const byte *userKey, unsigned int length, TDES_KEY *ks);
1.1 root 22:
23: #ifdef __cplusplus
24: }
25: #endif
26:
1.1.1.7 ! root 27: #endif // HEADER_Crypto_DES
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.