xref: /illumos-gate/usr/src/lib/libmd/common/md5.h (revision 581cede61ac9c14d8d4ea452562a567189eead78)
1 /*
2  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
3  * Use is subject to license terms.
4  */
5 
6 #ifndef _MD5_H
7 #define	_MD5_H
8 
9 #pragma ident	"%Z%%M%	%I%	%E% SMI"
10 
11 /*
12  * MD5.H - header file for MD5C.C
13  */
14 
15 /*
16  * Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
17  * rights reserved.
18  *
19  * License to copy and use this software is granted provided that it
20  * is identified as the "RSA Data Security, Inc. MD5 Message-Digest
21  * Algorithm" in all material mentioning or referencing this software
22  * or this function.
23  *
24  * License is also granted to make and use derivative works provided
25  * that such works are identified as "derived from the RSA Data
26  * Security, Inc. MD5 Message-Digest Algorithm" in all material
27  * mentioning or referencing the derived work.
28  *
29  * RSA Data Security, Inc. makes no representations concerning either
30  * the merchantability of this software or the suitability of this
31  * software for any particular purpose. It is provided "as is"
32  * without express or implied warranty of any kind.
33  *
34  * These notices must be retained in any copies of any part of this
35  * documentation and/or software.
36  */
37 
38 #include <sys/md5.h>
39 
40 #ifdef __cplusplus
41 extern "C" {
42 #endif
43 
44 void md5_calc(void *, const void*, unsigned int);
45 
46 #ifdef __cplusplus
47 }
48 #endif
49 
50 #endif	/* _MD5_H */
51