nil::crypto3::pubkey::deal_shares_op< weighted_shamir_sss< Group > > Struct Template Reference

#include <weighted_shamir.hpp>

+ Collaboration diagram for nil::crypto3::pubkey::deal_shares_op< weighted_shamir_sss< Group > >:

Public Types

typedef shares_type internal_accumulator_type
 
typedef shares_type result_type
 
typedef weighted_shamir_sss< Group > scheme_type
 
typedef share_sss< scheme_typeshare_type
 
typedef std::vector< share_typeshares_type
 

Static Public Member Functions

static void init_accumulator (internal_accumulator_type &acc, std::size_t n, std::size_t t, const typename scheme_type::weights_type &weights)
 
static result_type process (internal_accumulator_type &acc)
 
static void update (internal_accumulator_type &acc, std::size_t exp, const typename scheme_type::coeff_type &coeff)
 

Member Typedef Documentation

◆ internal_accumulator_type

◆ result_type

template<typename Group >
typedef shares_type nil::crypto3::pubkey::deal_shares_op< weighted_shamir_sss< Group > >::result_type

◆ scheme_type

template<typename Group >
typedef weighted_shamir_sss<Group> nil::crypto3::pubkey::deal_shares_op< weighted_shamir_sss< Group > >::scheme_type

◆ share_type

◆ shares_type

template<typename Group >
typedef std::vector<share_type> nil::crypto3::pubkey::deal_shares_op< weighted_shamir_sss< Group > >::shares_type

Member Function Documentation

◆ init_accumulator()

template<typename Group >
static void nil::crypto3::pubkey::deal_shares_op< weighted_shamir_sss< Group > >::init_accumulator ( internal_accumulator_type acc,
std::size_t  n,
std::size_t  t,
const typename scheme_type::weights_type weights 
)
inlinestatic

◆ process()

template<typename Group >
static result_type nil::crypto3::pubkey::deal_shares_op< weighted_shamir_sss< Group > >::process ( internal_accumulator_type acc)
inlinestatic

◆ update()

template<typename Group >
static void nil::crypto3::pubkey::deal_shares_op< weighted_shamir_sss< Group > >::update ( internal_accumulator_type acc,
std::size_t  exp,
const typename scheme_type::coeff_type coeff 
)
inlinestatic

The documentation for this struct was generated from the following file: