Zeth - Zerocash on Ethereum
0.8
Reference implementation of the Zeth protocol by Clearmatics
|
#include <mpc_utils.hpp>
Public Member Functions | |
srs_powersoftau (libff::G1_vector< ppT > &&tau_powers_g1, libff::G2_vector< ppT > &&tau_powers_g2, libff::G1_vector< ppT > &&alpha_tau_powers_g1, libff::G1_vector< ppT > &&beta_tau_g1, const libff::G2< ppT > &beta_g2) | |
bool | is_well_formed () const |
Public Attributes | |
const libff::G1_vector< ppT > | tau_powers_g1 |
{ [ x^i ]_1 } i = 0 .. 2n-2 More... | |
const libff::G2_vector< ppT > | tau_powers_g2 |
{ [ x^i ]_2 } i = 0 .. n-1 More... | |
const libff::G1_vector< ppT > | alpha_tau_powers_g1 |
{ [ alpha . x^i ]_1 } i = 0 .. n-1 More... | |
const libff::G1_vector< ppT > | beta_tau_powers_g1 |
{ [ beta . x^i ]_1 } i = 0 .. n-1 More... | |
const libff::G2< ppT > | beta_g2 |
[ beta ]_2 More... | |
Output from the first phase of the MPC (powersoftau). The structure matches that data exactly (no indication of degree, etc), so that it can be loaded directly. Implements the interface of StructuredT.
Definition at line 31 of file mpc_utils.hpp.
libzeth::srs_powersoftau< ppT >::srs_powersoftau | ( | libff::G1_vector< ppT > && | tau_powers_g1, |
libff::G2_vector< ppT > && | tau_powers_g2, | ||
libff::G1_vector< ppT > && | alpha_tau_powers_g1, | ||
libff::G1_vector< ppT > && | beta_tau_g1, | ||
const libff::G2< ppT > & | beta_g2 | ||
) |
bool libzeth::srs_powersoftau< ppT >::is_well_formed | ( | ) | const |
const libff::G1_vector<ppT> libzeth::srs_powersoftau< ppT >::alpha_tau_powers_g1 |
{ [ alpha . x^i ]_1 } i = 0 .. n-1
Definition at line 28 of file powersoftau_utils.hpp.
const libff::G2<ppT> libzeth::srs_powersoftau< ppT >::beta_g2 |
[ beta ]_2
Definition at line 34 of file powersoftau_utils.hpp.
const libff::G1_vector<ppT> libzeth::srs_powersoftau< ppT >::beta_tau_powers_g1 |
{ [ beta . x^i ]_1 } i = 0 .. n-1
Definition at line 31 of file powersoftau_utils.hpp.
const libff::G1_vector<ppT> libzeth::srs_powersoftau< ppT >::tau_powers_g1 |
{ [ x^i ]_1 } i = 0 .. 2n-2
Definition at line 22 of file powersoftau_utils.hpp.
const libff::G2_vector<ppT> libzeth::srs_powersoftau< ppT >::tau_powers_g2 |
{ [ x^i ]_2 } i = 0 .. n-1
Definition at line 25 of file powersoftau_utils.hpp.