|
|
1.1.1.5 root 1: #ifndef TC_HEADER_Crypto_Ripemd160
2: #define TC_HEADER_Crypto_Ripemd160
1.1 root 3:
1.1.1.6 root 4: #include "Common/Tcdefs.h"
5:
1.1.1.4 root 6: #if defined(__cplusplus)
7: extern "C"
8: {
9: #endif
10:
1.1.1.5 root 11: #define RIPEMD160_BLOCK_LENGTH 64
1.1 root 12:
1.1.1.5 root 13: typedef struct RMD160Context
14: {
15: unsigned __int32 state[5];
1.1.1.7 ! root 16: #ifndef TC_WINDOWS_BOOT
1.1.1.6 root 17: uint64 count;
1.1.1.4 root 18: #else
1.1.1.7 ! root 19: uint16 count;
1.1.1.4 root 20: #endif
1.1.1.5 root 21: unsigned char buffer[RIPEMD160_BLOCK_LENGTH];
1.1 root 22: } RMD160_CTX;
23:
1.1.1.5 root 24: void RMD160Init (RMD160_CTX *ctx);
25: void RMD160Transform (unsigned __int32 *state, const unsigned __int32 *data);
26: void RMD160Update (RMD160_CTX *ctx, const unsigned char *input, unsigned __int32 len);
27: void RMD160Final (unsigned char *digest, RMD160_CTX *ctx);
1.1 root 28:
1.1.1.4 root 29: #if defined(__cplusplus)
30: }
31: #endif
32:
1.1.1.5 root 33: #endif // TC_HEADER_Crypto_Ripemd160
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.