1 /* MD5.H - header file for MD5C.C
2 * $FreeBSD: src/sys/sys/md5.h,v 1.18 2005/02/10 12:20:42 phk Exp $
7 © Portions copyright (c) 2005-2006 Nokia Corporation.
9 * © Portions copyright (c) 2007 Symbian Software Ltd. All rights reserved.
10 Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
13 License to copy and use this software is granted provided that it
14 is identified as the "RSA Data Security, Inc. MD5 Message-Digest
15 Algorithm" in all material mentioning or referencing this software
18 License is also granted to make and use derivative works provided
19 that such works are identified as "derived from the RSA Data
20 Security, Inc. MD5 Message-Digest Algorithm" in all material
21 mentioning or referencing the derived work.
23 RSA Data Security, Inc. makes no representations concerning either
24 the merchantability of this software or the suitability of this
25 software for any particular purpose. It is provided "as is"
26 without express or implied warranty of any kind.
28 These notices must be retained in any copies of any part of this
29 documentation and/or software.
36 #if (defined(__SYMBIAN32__) && !defined(SYMBIAN))
41 #include <sys/types.h>
44 typedef struct MD5Context {
45 u_int32_t state[4]; /* state (ABCD) */
46 u_int32_t count[2]; /* number of bits, modulo 2^64 (lsb first) */
47 unsigned char buffer[64]; /* input buffer */
50 #include <sys/cdefs.h>
53 void MD5Init (MD5_CTX *);
54 void MD5Update (MD5_CTX *, const unsigned char *, unsigned int);
55 void MD5Final (unsigned char [16], MD5_CTX *);
57 #endif /* _SYS_MD5_H_ */