Deleted Added
full compact
md2.h (74385) md2.h (154479)
1/* MD2.H - header file for MD2C.C
1/* MD2.H - header file for MD2C.C
2 * $FreeBSD: head/lib/libmd/md2.h 74385 2001-03-17 10:00:50Z phk $
2 * $FreeBSD: head/lib/libmd/md2.h 154479 2006-01-17 15:35:57Z phk $
3 */
4
5/* Copyright (C) 1990-2, RSA Data Security, Inc. Created 1990. All
6 rights reserved.
7
8 License to copy and use this software is granted for
9 non-commercial Internet Privacy-Enhanced Mail provided that it is
10 identified as the "RSA Data Security, Inc. MD2 Message Digest

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

29 unsigned int count; /* number of bytes, modulo 16 */
30 unsigned char buffer[16]; /* input buffer */
31} MD2_CTX;
32
33#include <sys/cdefs.h>
34
35__BEGIN_DECLS
36void MD2Init(MD2_CTX *);
3 */
4
5/* Copyright (C) 1990-2, RSA Data Security, Inc. Created 1990. All
6 rights reserved.
7
8 License to copy and use this software is granted for
9 non-commercial Internet Privacy-Enhanced Mail provided that it is
10 identified as the "RSA Data Security, Inc. MD2 Message Digest

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

29 unsigned int count; /* number of bytes, modulo 16 */
30 unsigned char buffer[16]; /* input buffer */
31} MD2_CTX;
32
33#include <sys/cdefs.h>
34
35__BEGIN_DECLS
36void MD2Init(MD2_CTX *);
37void MD2Update(MD2_CTX *, const unsigned char *, unsigned int);
37void MD2Update(MD2_CTX *, const void *, unsigned int);
38void MD2Pad(MD2_CTX *);
39void MD2Final(unsigned char [16], MD2_CTX *);
40char * MD2End(MD2_CTX *, char *);
41char * MD2File(const char *, char *);
42char * MD2FileChunk(const char *, char *, off_t, off_t);
38void MD2Pad(MD2_CTX *);
39void MD2Final(unsigned char [16], MD2_CTX *);
40char * MD2End(MD2_CTX *, char *);
41char * MD2File(const char *, char *);
42char * MD2FileChunk(const char *, char *, off_t, off_t);
43char * MD2Data(const unsigned char *, unsigned int, char *);
43char * MD2Data(const void *, unsigned int, char *);
44__END_DECLS
45
46#endif /* _MD2_H_ */
44__END_DECLS
45
46#endif /* _MD2_H_ */