10Sstevel@tonic-gate /* 20Sstevel@tonic-gate * 3*3857Sstevel * Copyright 1999 Sun Microsystems, Inc. All rights reserved. 4*3857Sstevel * Use is subject to license terms. 50Sstevel@tonic-gate * 60Sstevel@tonic-gate * 70Sstevel@tonic-gate * Comments: 80Sstevel@tonic-gate * 90Sstevel@tonic-gate */ 100Sstevel@tonic-gate 110Sstevel@tonic-gate #pragma ident "%Z%%M% %I% %E% SMI" 120Sstevel@tonic-gate 130Sstevel@tonic-gate #ifndef _SEC_H_ 140Sstevel@tonic-gate #define _SEC_H_ 150Sstevel@tonic-gate 160Sstevel@tonic-gate #include <sys/types.h> 170Sstevel@tonic-gate #include <md5.h> 180Sstevel@tonic-gate 190Sstevel@tonic-gate void hmac_md5(unsigned char *text, int text_len, unsigned char *key, 200Sstevel@tonic-gate int key_len, unsigned char *digest); 210Sstevel@tonic-gate 220Sstevel@tonic-gate char *hexa_print(unsigned char *aString, int aLen); 230Sstevel@tonic-gate char *hexa2str(char *anHexaStr, int *aResLen); 240Sstevel@tonic-gate 250Sstevel@tonic-gate #endif /* _SEC_H_ */ 26