summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ripemd/ripemd.h
diff options
context:
space:
mode:
authordjm <>2008-09-06 12:17:54 +0000
committerdjm <>2008-09-06 12:17:54 +0000
commit38ce604e3cc97706b876b0525ddff0121115456d (patch)
tree7ccc28afe1789ea3dbedf72365f955d5b8e105b5 /src/lib/libcrypto/ripemd/ripemd.h
parent12867252827c8efaa8ddd1fa3b3d6e321e2bcdef (diff)
downloadopenbsd-38ce604e3cc97706b876b0525ddff0121115456d.tar.gz
openbsd-38ce604e3cc97706b876b0525ddff0121115456d.tar.bz2
openbsd-38ce604e3cc97706b876b0525ddff0121115456d.zip
resolve conflicts
Diffstat (limited to 'src/lib/libcrypto/ripemd/ripemd.h')
-rw-r--r--src/lib/libcrypto/ripemd/ripemd.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/lib/libcrypto/ripemd/ripemd.h b/src/lib/libcrypto/ripemd/ripemd.h
index 7d0d998189..033a5965b5 100644
--- a/src/lib/libcrypto/ripemd/ripemd.h
+++ b/src/lib/libcrypto/ripemd/ripemd.h
@@ -60,6 +60,7 @@
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>
63 64
64#ifdef __cplusplus 65#ifdef __cplusplus
65extern "C" { 66extern "C" {
@@ -87,16 +88,13 @@ typedef struct RIPEMD160state_st
87 RIPEMD160_LONG A,B,C,D,E; 88 RIPEMD160_LONG A,B,C,D,E;
88 RIPEMD160_LONG Nl,Nh; 89 RIPEMD160_LONG Nl,Nh;
89 RIPEMD160_LONG data[RIPEMD160_LBLOCK]; 90 RIPEMD160_LONG data[RIPEMD160_LBLOCK];
90 int num; 91 unsigned int num;
91 } RIPEMD160_CTX; 92 } RIPEMD160_CTX;
92 93
93#ifdef OPENSSL_FIPS
94int private_RIPEMD160_Init(RIPEMD160_CTX *c);
95#endif
96int RIPEMD160_Init(RIPEMD160_CTX *c); 94int RIPEMD160_Init(RIPEMD160_CTX *c);
97int RIPEMD160_Update(RIPEMD160_CTX *c, const void *data, unsigned long len); 95int RIPEMD160_Update(RIPEMD160_CTX *c, const void *data, size_t len);
98int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c); 96int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c);
99unsigned char *RIPEMD160(const unsigned char *d, unsigned long n, 97unsigned char *RIPEMD160(const unsigned char *d, size_t n,
100 unsigned char *md); 98 unsigned char *md);
101void RIPEMD160_Transform(RIPEMD160_CTX *c, const unsigned char *b); 99void RIPEMD160_Transform(RIPEMD160_CTX *c, const unsigned char *b);
102#ifdef __cplusplus 100#ifdef __cplusplus