xref: /illumos-gate/usr/src/boot/libsa/crypto/libcrypto.h (revision 22028508fd28d36ff74dc02c5774a8ba1f0db045)
1*22028508SToomas Soome /*
2*22028508SToomas Soome  * This file and its contents are supplied under the terms of the
3*22028508SToomas Soome  * Common Development and Distribution License ("CDDL"), version 1.0.
4*22028508SToomas Soome  * You may only use this file in accordance with the terms of version
5*22028508SToomas Soome  * 1.0 of the CDDL.
6*22028508SToomas Soome  *
7*22028508SToomas Soome  * A full copy of the text of the CDDL should have accompanied this
8*22028508SToomas Soome  * source.  A copy of the CDDL is also available via the Internet at
9*22028508SToomas Soome  * http://www.illumos.org/license/CDDL.
10*22028508SToomas Soome  */
11*22028508SToomas Soome 
12*22028508SToomas Soome /*
13*22028508SToomas Soome  * Copyright 2019 Toomas Soome <tsoome@me.com>
14*22028508SToomas Soome  */
15*22028508SToomas Soome 
16*22028508SToomas Soome #ifndef _LIBCRYPTO_H
17*22028508SToomas Soome #define	_LIBCRYPTO_H
18*22028508SToomas Soome 
19*22028508SToomas Soome #ifdef __cplusplus
20*22028508SToomas Soome extern "C" {
21*22028508SToomas Soome #endif
22*22028508SToomas Soome 
23*22028508SToomas Soome extern void sha1(void *, size_t, uint8_t *);
24*22028508SToomas Soome 
25*22028508SToomas Soome #ifdef __cplusplus
26*22028508SToomas Soome }
27*22028508SToomas Soome #endif
28*22028508SToomas Soome 
29*22028508SToomas Soome #endif /* _LIBCRYPTO_H */
30