Zeth - Zerocash on Ethereum
0.8
Reference implementation of the Zeth protocol by Clearmatics
|
#include <mpc_utils.hpp>
Public Member Functions | |
srs_lagrange_evaluations (size_t degree, std::vector< libff::G1< ppT >> &&lagrange_g1, std::vector< libff::G2< ppT >> &&lagrange_g2, std::vector< libff::G1< ppT >> &&alpha_lagrange_g1, std::vector< libff::G1< ppT >> &&beta_lagrange_g1) | |
bool | is_well_formed () const |
void | write (std::ostream &out) const |
Static Public Member Functions | |
static srs_lagrange_evaluations | read (std::istream &in) |
Public Attributes | |
const size_t | degree |
std::vector< libff::G1< ppT > > | lagrange_g1 |
${ [ L_i(x) ]_1 }_i$ More... | |
std::vector< libff::G2< ppT > > | lagrange_g2 |
${ [ L_i(x) ]_2 }_i$ More... | |
std::vector< libff::G1< ppT > > | alpha_lagrange_g1 |
${ [ alpha . L_i(x) ]_1 }"$ More... | |
std::vector< libff::G1< ppT > > | beta_lagrange_g1 |
${ [ beta . L_i(x) ]_1 }"$ More... | |
Encodings of lagrange polynomials at tau, computed from powersoftau, on some domain of degree n.
Definition at line 32 of file mpc_utils.hpp.
libzeth::srs_lagrange_evaluations< ppT >::srs_lagrange_evaluations | ( | size_t | degree, |
std::vector< libff::G1< ppT >> && | lagrange_g1, | ||
std::vector< libff::G2< ppT >> && | lagrange_g2, | ||
std::vector< libff::G1< ppT >> && | alpha_lagrange_g1, | ||
std::vector< libff::G1< ppT >> && | beta_lagrange_g1 | ||
) |
bool libzeth::srs_lagrange_evaluations< ppT >::is_well_formed | ( | ) | const |
|
static |
void libzeth::srs_lagrange_evaluations< ppT >::write | ( | std::ostream & | out | ) | const |
std::vector<libff::G1<ppT> > libzeth::srs_lagrange_evaluations< ppT >::alpha_lagrange_g1 |
${ [ alpha . L_i(x) ]_1 }"$
Definition at line 60 of file powersoftau_utils.hpp.
std::vector<libff::G1<ppT> > libzeth::srs_lagrange_evaluations< ppT >::beta_lagrange_g1 |
${ [ beta . L_i(x) ]_1 }"$
Definition at line 63 of file powersoftau_utils.hpp.
const size_t libzeth::srs_lagrange_evaluations< ppT >::degree |
Definition at line 51 of file powersoftau_utils.hpp.
std::vector<libff::G1<ppT> > libzeth::srs_lagrange_evaluations< ppT >::lagrange_g1 |
${ [ L_i(x) ]_1 }_i$
Definition at line 54 of file powersoftau_utils.hpp.
std::vector<libff::G2<ppT> > libzeth::srs_lagrange_evaluations< ppT >::lagrange_g2 |
${ [ L_i(x) ]_2 }_i$
Definition at line 57 of file powersoftau_utils.hpp.