Path: blob/main/crypto/libecc/src/examples/sss/sss_private.h
34889 views
/*1* Copyright (C) 2021 - This file is part of libecc project2*3* Authors:4* Ryad BENADJILA <[email protected]>5* Arnaud EBALARD <[email protected]>6*7* This software is licensed under a dual BSD and GPL v2 license.8* See LICENSE file at the root folder of the project.9*/10#ifndef __SSS_PRIVATE_H__11#define __SSS_PRIVATE_H__1213/* NOTE: this is a header that is private to SSS14* and should not be included elsewhare to avoid exposing15* unnecessary APIs and symbols when only using SSS.16*/1718/* NOTE: we need the arithmetic library for SSS as all19* operations will take place in Fp with p a public known20* prime number.21*/22#include <libecc/lib_ecc_config.h>23#include <libecc/libarith.h>24/* We use HMAC */25#include <libecc/hash/hmac.h>26/* We generate random */27#include <libecc/external_deps/rand.h>2829#endif /* __SSS_PRIVATE_H__ */303132