|
|
1.1 root 1: /* MD5.H - header file for MD5C.C
2: */
3:
4: /* Copyright (C) 1991, RSA Data Security, Inc. All rights reserved.
5:
6: License to copy and use this software is granted provided that it
7: is identified as the "RSA Data Security, Inc. MD5 Message-Digest
8: Algorithm" in all material mentioning or referencing this software
9: or this function.
10:
11: License is also granted to make and use derivative works provided
12: that such works are identified as "derived from the RSA Data
13: Security, Inc. MD5 Message-Digest Algorithm" in all material
14: mentioning or referencing the derived work.
15:
16: RSA Data Security, Inc. makes no representations concerning either
17: the merchantability of this software or the suitability of this
18: software for any particular purpose. It is provided "as is"
19: without express or implied warranty of any kind.
20:
21: These notices must be retained in any copies of any part of this
22: documentation and/or software.
23: */
24:
25: /* MD5 context. */
26: typedef struct {
27: UINT4 state[4]; /* state (ABCD) */
28: UINT4 count[2]; /* number of bits, modulo 2^64 (lsb first) */
29: unsigned char buffer[64]; /* input buffer */
30: } MD5_CTX;
31:
32: void MD5Init PROTO_LIST ((MD5_CTX *));
33: void MD5Update PROTO_LIST ((MD5_CTX *, unsigned char *, unsigned int));
34: void MD5Final PROTO_LIST ((unsigned char [16], MD5_CTX *));
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.