summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/md5/md5.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/md5/md5.h
parent12867252827c8efaa8ddd1fa3b3d6e321e2bcdef (diff)
downloadopenbsd-38ce604e3cc97706b876b0525ddff0121115456d.tar.gz
openbsd-38ce604e3cc97706b876b0525ddff0121115456d.tar.bz2
openbsd-38ce604e3cc97706b876b0525ddff0121115456d.zip
resolve conflicts
Diffstat (limited to 'src/lib/libcrypto/md5/md5.h')
-rw-r--r--src/lib/libcrypto/md5/md5.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/lib/libcrypto/md5/md5.h b/src/lib/libcrypto/md5/md5.h
index c663dd1816..dbdc0e1abc 100644
--- a/src/lib/libcrypto/md5/md5.h
+++ b/src/lib/libcrypto/md5/md5.h
@@ -60,6 +60,7 @@
60#define HEADER_MD5_H 60#define HEADER_MD5_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" {
@@ -101,16 +102,13 @@ typedef struct MD5state_st
101 MD5_LONG A,B,C,D; 102 MD5_LONG A,B,C,D;
102 MD5_LONG Nl,Nh; 103 MD5_LONG Nl,Nh;
103 MD5_LONG data[MD5_LBLOCK]; 104 MD5_LONG data[MD5_LBLOCK];
104 int num; 105 unsigned int num;
105 } MD5_CTX; 106 } MD5_CTX;
106 107
107#ifdef OPENSSL_FIPS
108int private_MD5_Init(MD5_CTX *c);
109#endif
110int MD5_Init(MD5_CTX *c); 108int MD5_Init(MD5_CTX *c);
111int MD5_Update(MD5_CTX *c, const void *data, unsigned long len); 109int MD5_Update(MD5_CTX *c, const void *data, size_t len);
112int MD5_Final(unsigned char *md, MD5_CTX *c); 110int MD5_Final(unsigned char *md, MD5_CTX *c);
113unsigned char *MD5(const unsigned char *d, unsigned long n, unsigned char *md); 111unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md);
114void MD5_Transform(MD5_CTX *c, const unsigned char *b); 112void MD5_Transform(MD5_CTX *c, const unsigned char *b);
115#ifdef __cplusplus 113#ifdef __cplusplus
116} 114}