projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Keep disclaiming 16-bit platform support. For now remove WIN16 references
[openssl.git]
/
crypto
/
ripemd
/
ripemd.h
diff --git
a/crypto/ripemd/ripemd.h
b/crypto/ripemd/ripemd.h
index 78d5f365605b5baf400bec0d762d1564169993fb..dea1f182113f202fe52cc5969ddd112e0f8281bb 100644
(file)
--- a/
crypto/ripemd/ripemd.h
+++ b/
crypto/ripemd/ripemd.h
@@
-69,7
+69,7
@@
extern "C" {
#error RIPEMD is disabled.
#endif
#error RIPEMD is disabled.
#endif
-#if defined(
OPENSSL_SYS_WIN16) || defined(
__LP32__)
+#if defined(__LP32__)
#define RIPEMD160_LONG unsigned long
#elif defined(OPENSSL_SYS_CRAY) || defined(__ILP64__)
#define RIPEMD160_LONG unsigned long
#define RIPEMD160_LONG unsigned long
#elif defined(OPENSSL_SYS_CRAY) || defined(__ILP64__)
#define RIPEMD160_LONG unsigned long
@@
-87,13
+87,13
@@
typedef struct RIPEMD160state_st
RIPEMD160_LONG A,B,C,D,E;
RIPEMD160_LONG Nl,Nh;
RIPEMD160_LONG data[RIPEMD160_LBLOCK];
RIPEMD160_LONG A,B,C,D,E;
RIPEMD160_LONG Nl,Nh;
RIPEMD160_LONG data[RIPEMD160_LBLOCK];
-
int
num;
+
unsigned int
num;
} RIPEMD160_CTX;
int RIPEMD160_Init(RIPEMD160_CTX *c);
} RIPEMD160_CTX;
int RIPEMD160_Init(RIPEMD160_CTX *c);
-int RIPEMD160_Update(RIPEMD160_CTX *c, const void *data,
unsigned long
len);
+int RIPEMD160_Update(RIPEMD160_CTX *c, const void *data,
size_t
len);
int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c);
int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c);
-unsigned char *RIPEMD160(const unsigned char *d,
unsigned long
n,
+unsigned char *RIPEMD160(const unsigned char *d,
size_t
n,
unsigned char *md);
void RIPEMD160_Transform(RIPEMD160_CTX *c, const unsigned char *b);
#ifdef __cplusplus
unsigned char *md);
void RIPEMD160_Transform(RIPEMD160_CTX *c, const unsigned char *b);
#ifdef __cplusplus