1 /* Deprecated/legacy */
3 #ifndef HEADER_Crypto_DES
4 #define HEADER_Crypto_DES
10 typedef struct TRIPLE_DES_KEY_STRUCT
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];
20 void TripleDesEncrypt (byte
*inBlock
, byte
*outBlock
, TDES_KEY
*key
, int encrypt
);
21 void TripleDesSetKey (const byte
*userKey
, unsigned int length
, TDES_KEY
*ks
);
27 #endif // HEADER_Crypto_DES