summaryrefslogtreecommitdiff
path: root/usr/src/lib/libldap4/include/sec.h
blob: cabf2bfff586f441bb2fb43a5fc9f4b1a3e7a1d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 *
 * Copyright %G% Sun Microsystems, Inc. 
 * All Rights Reserved
 *
 *
 * Comments:   
 *
 */

#pragma ident	"%Z%%M%	%I%	%E% SMI"

#ifndef _SEC_H_
#define _SEC_H_

#include <sys/types.h>
#include <md5.h>

void hmac_md5(unsigned char *text, int text_len, unsigned char *key,
	int key_len, unsigned char *digest);

char *hexa_print(unsigned char *aString, int aLen);
char *hexa2str(char *anHexaStr, int *aResLen);

#endif /* _SEC_H_ */