summaryrefslogtreecommitdiff
path: root/src/lib/libssl/src/crypto/md4/md4.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/src/crypto/md4/md4.h')
-rw-r--r--src/lib/libssl/src/crypto/md4/md4.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/lib/libssl/src/crypto/md4/md4.h b/src/lib/libssl/src/crypto/md4/md4.h
index 5598c93a4f..7e761efb62 100644
--- a/src/lib/libssl/src/crypto/md4/md4.h
+++ b/src/lib/libssl/src/crypto/md4/md4.h
@@ -60,7 +60,6 @@
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>
64 63
65#ifdef __cplusplus 64#ifdef __cplusplus
66extern "C" { 65extern "C" {
@@ -102,13 +101,16 @@ typedef struct MD4state_st
102 MD4_LONG A,B,C,D; 101 MD4_LONG A,B,C,D;
103 MD4_LONG Nl,Nh; 102 MD4_LONG Nl,Nh;
104 MD4_LONG data[MD4_LBLOCK]; 103 MD4_LONG data[MD4_LBLOCK];
105 unsigned int num; 104 int num;
106 } MD4_CTX; 105 } MD4_CTX;
107 106
107#ifdef OPENSSL_FIPS
108int private_MD4_Init(MD4_CTX *c);
109#endif
108int MD4_Init(MD4_CTX *c); 110int MD4_Init(MD4_CTX *c);
109int MD4_Update(MD4_CTX *c, const void *data, size_t len); 111int MD4_Update(MD4_CTX *c, const void *data, unsigned long len);
110int MD4_Final(unsigned char *md, MD4_CTX *c); 112int MD4_Final(unsigned char *md, MD4_CTX *c);
111unsigned char *MD4(const unsigned char *d, size_t n, unsigned char *md); 113unsigned char *MD4(const unsigned char *d, unsigned long n, unsigned char *md);
112void MD4_Transform(MD4_CTX *c, const unsigned char *b); 114void MD4_Transform(MD4_CTX *c, const unsigned char *b);
113#ifdef __cplusplus 115#ifdef __cplusplus
114} 116}