Add phnxdeco with debian patch set (version 0.33-3).
[delutions.git] / tc / crypto / Des.h
blob54c3ed851364ceb6134e4695c0341a8a20f19672
1 /* Deprecated/legacy */
3 #ifndef HEADER_Crypto_DES
4 #define HEADER_Crypto_DES
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
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];
18 } TDES_KEY;
20 void TripleDesEncrypt (byte *inBlock, byte *outBlock, TDES_KEY *key, int encrypt);
21 void TripleDesSetKey (const byte *userKey, unsigned int length, TDES_KEY *ks);
23 #ifdef __cplusplus
25 #endif
27 #endif // HEADER_Crypto_DES