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