00001 /* MD5.H - header file for MD5C.C 00002 */ 00003 00004 /* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All 00005 rights reserved. 00006 00007 License to copy and use this software is granted provided that it 00008 is identified as the "RSA Data Security, Inc. MD5 Message-Digest 00009 Algorithm" in all material mentioning or referencing this software 00010 or this function. 00011 00012 License is also granted to make and use derivative works provided 00013 that such works are identified as "derived from the RSA Data 00014 Security, Inc. MD5 Message-Digest Algorithm" in all material 00015 mentioning or referencing the derived work. 00016 00017 RSA Data Security, Inc. makes no representations concerning either 00018 the merchantability of this software or the suitability of this 00019 software for any particular purpose. It is provided "as is" 00020 without express or implied warranty of any kind. 00021 00022 These notices must be retained in any copies of any part of this 00023 documentation and/or software. 00024 */ 00025 00026 /* MD5 context. */ 00027 typedef struct { 00028 UINT4 state[4]; /* state (ABCD) */ 00029 UINT4 count[2]; /* number of bits, modulo 2^64 (lsb first) */ 00030 unsigned char buffer[64]; /* input buffer */ 00031 } MD5_CTX; 00032 00033 void MD5Init PROTO_LIST ((MD5_CTX *)); 00034 void MD5Update PROTO_LIST 00035 ((MD5_CTX *, unsigned char *, unsigned int)); 00036 void MD5Final PROTO_LIST ((unsigned char [16], MD5_CTX *)); 00037