meillo@0: /* MD5.H - header file for MD5C.C meillo@0: */ meillo@0: meillo@0: /* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All meillo@0: rights reserved. meillo@0: meillo@0: License to copy and use this software is granted provided that it meillo@0: is identified as the "RSA Data Security, Inc. MD5 Message-Digest meillo@0: Algorithm" in all material mentioning or referencing this software meillo@0: or this function. meillo@0: meillo@0: License is also granted to make and use derivative works provided meillo@0: that such works are identified as "derived from the RSA Data meillo@0: Security, Inc. MD5 Message-Digest Algorithm" in all material meillo@0: mentioning or referencing the derived work. meillo@0: meillo@0: RSA Data Security, Inc. makes no representations concerning either meillo@0: the merchantability of this software or the suitability of this meillo@0: software for any particular purpose. It is provided "as is" meillo@0: without express or implied warranty of any kind. meillo@0: meillo@0: These notices must be retained in any copies of any part of this meillo@0: documentation and/or software. meillo@0: */ meillo@0: meillo@0: /* MD5 context. */ meillo@0: typedef struct { meillo@10: UINT4 state[4]; /* state (ABCD) */ meillo@10: UINT4 count[2]; /* number of bits, modulo 2^64 (lsb first) */ meillo@10: unsigned char buffer[64]; /* input buffer */ meillo@0: } MD5_CTX; meillo@0: meillo@10: void MD5Init PROTO_LIST((MD5_CTX *)); meillo@10: void MD5Update PROTO_LIST((MD5_CTX *, unsigned char *, unsigned int)); meillo@10: void MD5Final PROTO_LIST((unsigned char[16], MD5_CTX *));