xref: /netbsd-src/sys/crypto/chacha/chacha_ref.h (revision fa79152618fc8fd4c1019d2f19f11c1e3d1b3013)
1*fa791526Sriastradh /*	$NetBSD: chacha_ref.h,v 1.1 2020/07/25 22:46:34 riastradh Exp $	*/
2*fa791526Sriastradh 
3*fa791526Sriastradh /*-
4*fa791526Sriastradh  * Copyright (c) 2020 The NetBSD Foundation, Inc.
5*fa791526Sriastradh  * All rights reserved.
6*fa791526Sriastradh  *
7*fa791526Sriastradh  * Redistribution and use in source and binary forms, with or without
8*fa791526Sriastradh  * modification, are permitted provided that the following conditions
9*fa791526Sriastradh  * are met:
10*fa791526Sriastradh  * 1. Redistributions of source code must retain the above copyright
11*fa791526Sriastradh  *    notice, this list of conditions and the following disclaimer.
12*fa791526Sriastradh  * 2. Redistributions in binary form must reproduce the above copyright
13*fa791526Sriastradh  *    notice, this list of conditions and the following disclaimer in the
14*fa791526Sriastradh  *    documentation and/or other materials provided with the distribution.
15*fa791526Sriastradh  *
16*fa791526Sriastradh  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
17*fa791526Sriastradh  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
18*fa791526Sriastradh  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
19*fa791526Sriastradh  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
20*fa791526Sriastradh  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21*fa791526Sriastradh  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22*fa791526Sriastradh  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23*fa791526Sriastradh  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24*fa791526Sriastradh  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25*fa791526Sriastradh  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26*fa791526Sriastradh  * POSSIBILITY OF SUCH DAMAGE.
27*fa791526Sriastradh  */
28*fa791526Sriastradh 
29*fa791526Sriastradh #ifndef	_SYS_CRYPTO_CHACHA_REF_H
30*fa791526Sriastradh #define	_SYS_CRYPTO_CHACHA_REF_H
31*fa791526Sriastradh 
32*fa791526Sriastradh #include "chacha_impl.h"
33*fa791526Sriastradh 
34*fa791526Sriastradh extern const struct chacha_impl chacha_ref_impl;
35*fa791526Sriastradh 
36*fa791526Sriastradh #endif	/* _SYS_CRYPTO_CHACHA_REF_H */
37