CCF
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Functions
sharing.h File Reference
#include <cstddef>
#include <cstdint>
#include <span>
#include "ccf/crypto/hkdf.h"
#include "ccf/crypto/sha256.h"
#include "ds/serialized.h"
#include "openssl/crypto.h"
#include <fmt/format.h>

Go to the source code of this file.

Classes

struct  ccf::crypto::sharing::Share
 

Namespaces

namespace  ccf
 
namespace  ccf::crypto
 
namespace  ccf::crypto::sharing
 

Macros

#define FMT_HEADER_ONLY
 

Functions

element ccf::crypto::sharing::ct_reduce (element x)
 
void ccf::crypto::sharing::sample_secret_and_shares (Share &raw_secret, const std::span< Share > &shares, size_t threshold)
 
void ccf::crypto::sharing::recover_unauthenticated_secret (Share &raw_secret, const std::span< Share const > &shares, size_t threshold)
 

Macro Definition Documentation

◆ FMT_HEADER_ONLY

#define FMT_HEADER_ONLY