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
commit6b62d1fdd8a4fd35acfcc0c4bb1bf8b757fa8cda (patch)
tree7ccc28afe1789ea3dbedf72365f955d5b8e105b5 /src/lib/libcrypto/md5/md5.h
parent89181603212b41e95cde36b1be5a146ce8fb2935 (diff)
downloadopenbsd-6b62d1fdd8a4fd35acfcc0c4bb1bf8b757fa8cda.tar.gz
openbsd-6b62d1fdd8a4fd35acfcc0c4bb1bf8b757fa8cda.tar.bz2
openbsd-6b62d1fdd8a4fd35acfcc0c4bb1bf8b757fa8cda.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}