xref: /onnv-gate/usr/src/lib/libldap4/include/sec.h (revision 3857:21b9b714e4ab)
1 /*
2  *
3  * Copyright 1999 Sun Microsystems, Inc.  All rights reserved.
4  * Use is subject to license terms.
5  *
6  *
7  * Comments:
8  *
9  */
10 
11 #pragma ident	"%Z%%M%	%I%	%E% SMI"
12 
13 #ifndef _SEC_H_
14 #define _SEC_H_
15 
16 #include <sys/types.h>
17 #include <md5.h>
18 
19 void hmac_md5(unsigned char *text, int text_len, unsigned char *key,
20 	int key_len, unsigned char *digest);
21 
22 char *hexa_print(unsigned char *aString, int aLen);
23 char *hexa2str(char *anHexaStr, int *aResLen);
24 
25 #endif /* _SEC_H_ */
26