masqmail-0.2
diff src/md5/md5.h @ 0:08114f7dcc23
this is masqmail-0.2.21 from oliver kurth
author | meillo@marmaro.de |
---|---|
date | Fri, 26 Sep 2008 17:05:23 +0200 |
parents | |
children | 26e34ae9a3e3 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/md5/md5.h Fri Sep 26 17:05:23 2008 +0200 1.3 @@ -0,0 +1,36 @@ 1.4 +/* MD5.H - header file for MD5C.C 1.5 + */ 1.6 + 1.7 +/* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All 1.8 +rights reserved. 1.9 + 1.10 +License to copy and use this software is granted provided that it 1.11 +is identified as the "RSA Data Security, Inc. MD5 Message-Digest 1.12 +Algorithm" in all material mentioning or referencing this software 1.13 +or this function. 1.14 + 1.15 +License is also granted to make and use derivative works provided 1.16 +that such works are identified as "derived from the RSA Data 1.17 +Security, Inc. MD5 Message-Digest Algorithm" in all material 1.18 +mentioning or referencing the derived work. 1.19 + 1.20 +RSA Data Security, Inc. makes no representations concerning either 1.21 +the merchantability of this software or the suitability of this 1.22 +software for any particular purpose. It is provided "as is" 1.23 +without express or implied warranty of any kind. 1.24 + 1.25 +These notices must be retained in any copies of any part of this 1.26 +documentation and/or software. 1.27 + */ 1.28 + 1.29 +/* MD5 context. */ 1.30 +typedef struct { 1.31 + UINT4 state[4]; /* state (ABCD) */ 1.32 + UINT4 count[2]; /* number of bits, modulo 2^64 (lsb first) */ 1.33 + unsigned char buffer[64]; /* input buffer */ 1.34 +} MD5_CTX; 1.35 + 1.36 +void MD5Init PROTO_LIST ((MD5_CTX *)); 1.37 +void MD5Update PROTO_LIST 1.38 + ((MD5_CTX *, unsigned char *, unsigned int)); 1.39 +void MD5Final PROTO_LIST ((unsigned char [16], MD5_CTX *));