|
CCF
|
Namespaces | |
| namespace | ccf |
| namespace | ccf::crypto |
| namespace | ccf::crypto::sharing |
Typedefs | |
| using | ccf::crypto::sharing::element = uint64_t |
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) |
Variables | |
| constexpr element | ccf::crypto::sharing::prime = (1ul << 31) - 1ul |