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

#include <pedersen.hpp>

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

Public Types

typedef deal_shares_op< shamir_sss< Group > > base_type
 
typedef shares_type internal_accumulator_type
 
typedef shares_type result_type
 
typedef pedersen_dkg< 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)
 
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)
 

Static Protected Member Functions

template<typename Share , typename InternalAccumulator >
static void _init_accumulator (InternalAccumulator &acc, std::size_t n, std::size_t t)
 
template<typename ResultType , typename InternalAccumulator >
static ResultType _process (InternalAccumulator &acc)
 
template<typename Scheme , typename InternalAccumulator >
static void _update (InternalAccumulator &acc, std::size_t exp, const typename Scheme::coeff_type &coeff)
 

Member Typedef Documentation

◆ base_type

template<typename Group >
typedef deal_shares_op<shamir_sss<Group> > nil::crypto3::pubkey::deal_shares_op< pedersen_dkg< Group > >::base_type

◆ internal_accumulator_type

◆ result_type

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

◆ scheme_type

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

◆ share_type

template<typename Group >
typedef share_sss<scheme_type> nil::crypto3::pubkey::deal_shares_op< pedersen_dkg< Group > >::share_type

◆ shares_type

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

Member Function Documentation

◆ _init_accumulator()

template<typename Group >
template<typename Share , typename InternalAccumulator >
static void nil::crypto3::pubkey::deal_shares_op< shamir_sss< Group > >::_init_accumulator ( InternalAccumulator &  acc,
std::size_t  n,
std::size_t  t 
)
inlinestaticprotectedinherited

◆ _process()

template<typename Group >
template<typename ResultType , typename InternalAccumulator >
static ResultType nil::crypto3::pubkey::deal_shares_op< shamir_sss< Group > >::_process ( InternalAccumulator &  acc)
inlinestaticprotectedinherited

◆ _update()

template<typename Group >
template<typename Scheme , typename InternalAccumulator >
static void nil::crypto3::pubkey::deal_shares_op< shamir_sss< Group > >::_update ( InternalAccumulator &  acc,
std::size_t  exp,
const typename Scheme::coeff_type &  coeff 
)
inlinestaticprotectedinherited

◆ init_accumulator()

template<typename Group >
static void nil::crypto3::pubkey::deal_shares_op< pedersen_dkg< Group > >::init_accumulator ( internal_accumulator_type acc,
std::size_t  n,
std::size_t  t 
)
inlinestatic

◆ process()

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

◆ update()

template<typename Group >
static void nil::crypto3::pubkey::deal_shares_op< pedersen_dkg< 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: