projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor 64-bit md32_common.h update and minor unsignification of digests.
[openssl.git]
/
crypto
/
md2
/
md2.h
diff --git
a/crypto/md2/md2.h
b/crypto/md2/md2.h
index 6fcb9b1bdc43d42c032c97d25393f56fd8c570fc..15bd40c7b7bc4fbdb4d31ca0144a13fef970638d 100644
(file)
--- a/
crypto/md2/md2.h
+++ b/
crypto/md2/md2.h
@@
-73,7
+73,7
@@
extern "C" {
typedef struct MD2state_st
{
typedef struct MD2state_st
{
- int num;
+
usigned
int num;
unsigned char data[MD2_BLOCK];
MD2_INT cksm[MD2_BLOCK];
MD2_INT state[MD2_BLOCK];
unsigned char data[MD2_BLOCK];
MD2_INT cksm[MD2_BLOCK];
MD2_INT state[MD2_BLOCK];
@@
-81,9
+81,9
@@
typedef struct MD2state_st
const char *MD2_options(void);
int MD2_Init(MD2_CTX *c);
const char *MD2_options(void);
int MD2_Init(MD2_CTX *c);
-int MD2_Update(MD2_CTX *c, const unsigned char *data,
unsigned long
len);
+int MD2_Update(MD2_CTX *c, const unsigned char *data,
size_t
len);
int MD2_Final(unsigned char *md, MD2_CTX *c);
int MD2_Final(unsigned char *md, MD2_CTX *c);
-unsigned char *MD2(const unsigned char *d,
unsigned long
n,unsigned char *md);
+unsigned char *MD2(const unsigned char *d,
size_t
n,unsigned char *md);
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
}
#endif