summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/md4/md4.h
diff options
context:
space:
mode:
authordjm <>2008-09-06 12:15:56 +0000
committerdjm <>2008-09-06 12:15:56 +0000
commit5a3c0a05c7f2c5d3c584b7c8d6aec836dd724c80 (patch)
treeaba68249883aa9d2361d92eef69a81d0c4961732 /src/lib/libcrypto/md4/md4.h
parentf6198d4d0ab97685dc56be2d48715ed39fcc74b9 (diff)
downloadopenbsd-5a3c0a05c7f2c5d3c584b7c8d6aec836dd724c80.tar.gz
openbsd-5a3c0a05c7f2c5d3c584b7c8d6aec836dd724c80.tar.bz2
openbsd-5a3c0a05c7f2c5d3c584b7c8d6aec836dd724c80.zip
import of OpenSSL 0.9.8h
Diffstat (limited to 'src/lib/libcrypto/md4/md4.h')
-rw-r--r--src/lib/libcrypto/md4/md4.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/lib/libcrypto/md4/md4.h b/src/lib/libcrypto/md4/md4.h
index 7e761efb62..5598c93a4f 100644
--- a/src/lib/libcrypto/md4/md4.h
+++ b/src/lib/libcrypto/md4/md4.h
@@ -60,6 +60,7 @@
60#define HEADER_MD4_H 60#define HEADER_MD4_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 MD4state_st
101 MD4_LONG A,B,C,D; 102 MD4_LONG A,B,C,D;
102 MD4_LONG Nl,Nh; 103 MD4_LONG Nl,Nh;
103 MD4_LONG data[MD4_LBLOCK]; 104 MD4_LONG data[MD4_LBLOCK];
104 int num; 105 unsigned int num;
105 } MD4_CTX; 106 } MD4_CTX;
106 107
107#ifdef OPENSSL_FIPS
108int private_MD4_Init(MD4_CTX *c);
109#endif
110int MD4_Init(MD4_CTX *c); 108int MD4_Init(MD4_CTX *c);
111int MD4_Update(MD4_CTX *c, const void *data, unsigned long len); 109int MD4_Update(MD4_CTX *c, const void *data, size_t len);
112int MD4_Final(unsigned char *md, MD4_CTX *c); 110int MD4_Final(unsigned char *md, MD4_CTX *c);
113unsigned char *MD4(const unsigned char *d, unsigned long n, unsigned char *md); 111unsigned char *MD4(const unsigned char *d, size_t n, unsigned char *md);
114void MD4_Transform(MD4_CTX *c, const unsigned char *b); 112void MD4_Transform(MD4_CTX *c, const unsigned char *b);
115#ifdef __cplusplus 113#ifdef __cplusplus
116} 114}