xref: /freebsd/crypto/libecc/src/examples/sss/sss_private.h (revision dd21556857e8d40f66bf5ad54754d9d52669ebf7)
1 /*
2  *  Copyright (C) 2021 - This file is part of libecc project
3  *
4  *  Authors:
5  *      Ryad BENADJILA <ryadbenadjila@gmail.com>
6  *      Arnaud EBALARD <arnaud.ebalard@ssi.gouv.fr>
7  *
8  *  This software is licensed under a dual BSD and GPL v2 license.
9  *  See LICENSE file at the root folder of the project.
10  */
11 #ifndef __SSS_PRIVATE_H__
12 #define __SSS_PRIVATE_H__
13 
14 /* NOTE: this is a header that is private to SSS
15  * and should not be included elsewhare to avoid exposing
16  * unnecessary APIs and symbols when only using SSS.
17  */
18 
19 /* NOTE: we need the arithmetic library for SSS as all
20  * operations will take place in Fp with p a public known
21  * prime number.
22  */
23 #include <libecc/lib_ecc_config.h>
24 #include <libecc/libarith.h>
25 /* We use HMAC */
26 #include <libecc/hash/hmac.h>
27 /* We generate random */
28 #include <libecc/external_deps/rand.h>
29 
30 #endif /* __SSS_PRIVATE_H__ */
31