diff options
Diffstat (limited to 'src/lib/libssl/src/crypto/md4/md4.h')
| -rw-r--r-- | src/lib/libssl/src/crypto/md4/md4.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/lib/libssl/src/crypto/md4/md4.h b/src/lib/libssl/src/crypto/md4/md4.h index 7e761efb62..5598c93a4f 100644 --- a/src/lib/libssl/src/crypto/md4/md4.h +++ b/src/lib/libssl/src/crypto/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 |
| 65 | extern "C" { | 66 | extern "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 | ||
| 108 | int private_MD4_Init(MD4_CTX *c); | ||
| 109 | #endif | ||
| 110 | int MD4_Init(MD4_CTX *c); | 108 | int MD4_Init(MD4_CTX *c); |
| 111 | int MD4_Update(MD4_CTX *c, const void *data, unsigned long len); | 109 | int MD4_Update(MD4_CTX *c, const void *data, size_t len); |
| 112 | int MD4_Final(unsigned char *md, MD4_CTX *c); | 110 | int MD4_Final(unsigned char *md, MD4_CTX *c); |
| 113 | unsigned char *MD4(const unsigned char *d, unsigned long n, unsigned char *md); | 111 | unsigned char *MD4(const unsigned char *d, size_t n, unsigned char *md); |
| 114 | void MD4_Transform(MD4_CTX *c, const unsigned char *b); | 112 | void MD4_Transform(MD4_CTX *c, const unsigned char *b); |
| 115 | #ifdef __cplusplus | 113 | #ifdef __cplusplus |
| 116 | } | 114 | } |
