diff options
Diffstat (limited to 'src/lib/libcrypto/ripemd/ripemd.h')
-rw-r--r-- | src/lib/libcrypto/ripemd/ripemd.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/lib/libcrypto/ripemd/ripemd.h b/src/lib/libcrypto/ripemd/ripemd.h index 033a5965b5..7d0d998189 100644 --- a/src/lib/libcrypto/ripemd/ripemd.h +++ b/src/lib/libcrypto/ripemd/ripemd.h | |||
@@ -60,7 +60,6 @@ | |||
60 | #define HEADER_RIPEMD_H | 60 | #define HEADER_RIPEMD_H |
61 | 61 | ||
62 | #include <openssl/e_os2.h> | 62 | #include <openssl/e_os2.h> |
63 | #include <stddef.h> | ||
64 | 63 | ||
65 | #ifdef __cplusplus | 64 | #ifdef __cplusplus |
66 | extern "C" { | 65 | extern "C" { |
@@ -88,13 +87,16 @@ typedef struct RIPEMD160state_st | |||
88 | RIPEMD160_LONG A,B,C,D,E; | 87 | RIPEMD160_LONG A,B,C,D,E; |
89 | RIPEMD160_LONG Nl,Nh; | 88 | RIPEMD160_LONG Nl,Nh; |
90 | RIPEMD160_LONG data[RIPEMD160_LBLOCK]; | 89 | RIPEMD160_LONG data[RIPEMD160_LBLOCK]; |
91 | unsigned int num; | 90 | int num; |
92 | } RIPEMD160_CTX; | 91 | } RIPEMD160_CTX; |
93 | 92 | ||
93 | #ifdef OPENSSL_FIPS | ||
94 | int private_RIPEMD160_Init(RIPEMD160_CTX *c); | ||
95 | #endif | ||
94 | int RIPEMD160_Init(RIPEMD160_CTX *c); | 96 | int RIPEMD160_Init(RIPEMD160_CTX *c); |
95 | int RIPEMD160_Update(RIPEMD160_CTX *c, const void *data, size_t len); | 97 | int RIPEMD160_Update(RIPEMD160_CTX *c, const void *data, unsigned long len); |
96 | int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c); | 98 | int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c); |
97 | unsigned char *RIPEMD160(const unsigned char *d, size_t n, | 99 | unsigned char *RIPEMD160(const unsigned char *d, unsigned long n, |
98 | unsigned char *md); | 100 | unsigned char *md); |
99 | void RIPEMD160_Transform(RIPEMD160_CTX *c, const unsigned char *b); | 101 | void RIPEMD160_Transform(RIPEMD160_CTX *c, const unsigned char *b); |
100 | #ifdef __cplusplus | 102 | #ifdef __cplusplus |