summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ripemd/ripemd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ripemd/ripemd.h')
-rw-r--r--src/lib/libcrypto/ripemd/ripemd.h10
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
66extern "C" { 65extern "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
94int private_RIPEMD160_Init(RIPEMD160_CTX *c);
95#endif
94int RIPEMD160_Init(RIPEMD160_CTX *c); 96int RIPEMD160_Init(RIPEMD160_CTX *c);
95int RIPEMD160_Update(RIPEMD160_CTX *c, const void *data, size_t len); 97int RIPEMD160_Update(RIPEMD160_CTX *c, const void *data, unsigned long len);
96int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c); 98int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c);
97unsigned char *RIPEMD160(const unsigned char *d, size_t n, 99unsigned char *RIPEMD160(const unsigned char *d, unsigned long n,
98 unsigned char *md); 100 unsigned char *md);
99void RIPEMD160_Transform(RIPEMD160_CTX *c, const unsigned char *b); 101void RIPEMD160_Transform(RIPEMD160_CTX *c, const unsigned char *b);
100#ifdef __cplusplus 102#ifdef __cplusplus