Add phnxdeco with debian patch set (version 0.33-3).
[delutions.git] / tc / crypto / Rmd160.h
blob397b015577d9e6d326c3c42924c1b39401abd13f
1 #ifndef TC_HEADER_Crypto_Ripemd160
2 #define TC_HEADER_Crypto_Ripemd160
4 #if defined(__cplusplus)
5 extern "C"
7 #endif
9 #define RIPEMD160_BLOCK_LENGTH 64
11 typedef struct RMD160Context
13 unsigned __int32 state[5];
14 #ifndef TC_NO_COMPILER_INT64
15 unsigned __int64 count;
16 #else
17 unsigned __int32 count;
18 #endif
19 unsigned char buffer[RIPEMD160_BLOCK_LENGTH];
20 } RMD160_CTX;
22 void RMD160Init (RMD160_CTX *ctx);
23 void RMD160Transform (unsigned __int32 *state, const unsigned __int32 *data);
24 void RMD160Update (RMD160_CTX *ctx, const unsigned char *input, unsigned __int32 len);
25 void RMD160Final (unsigned char *digest, RMD160_CTX *ctx);
27 #if defined(__cplusplus)
29 #endif
31 #endif // TC_HEADER_Crypto_Ripemd160