Deleted Added
full compact
md4.h (22993) md4.h (28688)
1/* MD4.H - header file for MD4C.C
1/* MD4.H - header file for MD4C.C
2 * $Id$
2 * $Id: md4.h,v 1.6 1997/02/22 15:07:17 peter Exp $
3 */
4
5/* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
6 rights reserved.
7
8 License to copy and use this software is granted provided that it
9 is identified as the "RSA Data Security, Inc. MD4 Message-Digest
10 Algorithm" in all material mentioning or referencing this software

--- 16 unchanged lines hidden (view full) ---

27#define _MD4_H_
28/* MD4 context. */
29typedef struct MD4Context {
30 u_int32_t state[4]; /* state (ABCD) */
31 u_int32_t count[2]; /* number of bits, modulo 2^64 (lsb first) */
32 unsigned char buffer[64]; /* input buffer */
33} MD4_CTX;
34
3 */
4
5/* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
6 rights reserved.
7
8 License to copy and use this software is granted provided that it
9 is identified as the "RSA Data Security, Inc. MD4 Message-Digest
10 Algorithm" in all material mentioning or referencing this software

--- 16 unchanged lines hidden (view full) ---

27#define _MD4_H_
28/* MD4 context. */
29typedef struct MD4Context {
30 u_int32_t state[4]; /* state (ABCD) */
31 u_int32_t count[2]; /* number of bits, modulo 2^64 (lsb first) */
32 unsigned char buffer[64]; /* input buffer */
33} MD4_CTX;
34
35#include <sys/cdefs.h>
36
37__BEGIN_DECLS
35void MD4Init(MD4_CTX *);
36void MD4Update(MD4_CTX *, const unsigned char *, unsigned int);
37void MD4Final(unsigned char [16], MD4_CTX *);
38char * MD4End(MD4_CTX *, char *);
38void MD4Init(MD4_CTX *);
39void MD4Update(MD4_CTX *, const unsigned char *, unsigned int);
40void MD4Final(unsigned char [16], MD4_CTX *);
41char * MD4End(MD4_CTX *, char *);
39char * MD4File(char *, char *);
42char * MD4File(const char *, char *);
40char * MD4Data(const unsigned char *, unsigned int, char *);
43char * MD4Data(const unsigned char *, unsigned int, char *);
44__END_DECLS
41
42#endif /* _MD4_H_ */
45
46#endif /* _MD4_H_ */