Clearmatics Libsnark
0.1
C++ library for zkSNARK proofs
|
Go to the documentation of this file.
9 #ifndef __LIBSNARK_POLYNOMIAL_COMMITMENTS_BDFG21_HPP__
10 #define __LIBSNARK_POLYNOMIAL_COMMITMENTS_BDFG21_HPP__
82 const libff::G1<ppT> &witness_phase_1,
95 const libff::G1<ppT> &
W,
const libff::G1<ppT> &
W_prime);
100 const std::vector<Field> z_s);
106 const std::vector<Field> &T,
115 const std::vector<Field> &T,
127 const std::vector<Field> &T,
133 const std::vector<std::vector<commitment>> &cm_sets);
140 #endif // __LIBSNARK_POLYNOMIAL_COMMITMENTS_BDFG21_HPP__
libff::G1< ppT > evaluation_witness_phase_1
phase_1_output(const libff::G1< ppT > &witness_phase_1, polynomial< Field > &&f_over_Z_T_polynomial)
static evaluation_witness create_evaluation_witness(const std::vector< std::vector< polynomial< Field >>> &f_sets, const std::vector< Field > &T, const evaluations &evaluations, const srs &srs, const Field &gamma, const phase_1_output &witness_phase_1, const Field &z)
std::vector< std::vector< Field > > evaluations
The i-th entry is evaluations of polynomials in f_sets[i] at z_i.
typename kzg10< ppT >::srs srs
static bool verify_evaluations(const std::vector< Field > &T, const evaluations &evaluations, const srs &srs, const Field &gamma, const Field &z, const evaluation_witness &witness, const std::vector< std::vector< commitment >> &cm_sets)
evaluation_witness(const libff::G1< ppT > &W, const libff::G1< ppT > &W_prime)
std::vector< FieldT > polynomial
static phase_1_output create_evaluation_witness_phase_1(const std::vector< std::vector< polynomial< Field >>> &f_sets, const std::vector< Field > &T, const evaluations &evaluations, const srs &srs, const Field &gamma)
typename kzg10< ppT >::commitment commitment
libff::G1< ppT > commitment
polynomial< Field > private_f_over_Z_T_polynomial
static evaluations evaluate_polynomials(const std::vector< std::vector< polynomial< Field >>> &f_sets, const std::vector< Field > z_s)
libff::G1< ppT > public_witness_phase_1