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 /* 10 * MD5.H - header file for MD5C.C 11 */ 12 13 /* 14 * Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All 15 * rights reserved. 16 * 17 * License to copy and use this software is granted provided that it 18 * is identified as the "RSA Data Security, Inc. MD5 Message-Digest 19 * Algorithm" in all material mentioning or referencing this software 20 * or this function. 21 * 22 * License is also granted to make and use derivative works provided 23 * that such works are identified as "derived from the RSA Data 24 * Security, Inc. MD5 Message-Digest Algorithm" in all material 25 * mentioning or referencing the derived work. 26 * 27 * RSA Data Security, Inc. makes no representations concerning either 28 * the merchantability of this software or the suitability of this 29 * software for any particular purpose. It is provided "as is" 30 * without express or implied warranty of any kind. 31 * 32 * These notices must be retained in any copies of any part of this 33 * documentation and/or software. 34 */ 35 36 #include <sys/md5.h> 37 38 #ifdef __cplusplus 39 extern "C" { 40 #endif 41 42 void md5_calc(void *, const void*, unsigned int); 43 44 #ifdef __cplusplus 45 } 46 #endif 47 48 #endif /* _MD5_H */ 49