1 #ifndef TC_HEADER_Crypto_Ripemd160
2 #define TC_HEADER_Crypto_Ripemd160
4 #if defined(__cplusplus)
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
;
17 unsigned __int32 count
;
19 unsigned char buffer
[RIPEMD160_BLOCK_LENGTH
];
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)
31 #endif // TC_HEADER_Crypto_Ripemd160