Clearmatics Libsnark
0.1
C++ library for zkSNARK proofs
|
#include <kzg10_verifier_gadget.hpp>
Public Types | |
using | npp = other_curve< ppT > |
Public Member Functions | |
kzg10_srs_variable (protoboard< libff::Fr< ppT >> &pb, const size_t max_degree, const std::string &annotation_prefix) | |
void | generate_r1cs_witness (const typename kzg10< npp >::srs &srs) |
Public Attributes | |
std::vector< G1_variable< ppT > > | alpha_powers_g1 |
G2_variable< ppT > | alpha_g2 |
The SRS for the KZG10 scheme, as protoboard variables. Names match those used in the native implementation.
Definition at line 31 of file kzg10_verifier_gadget.hpp.
using libsnark::kzg10_srs_variable< ppT >::npp = other_curve<ppT> |
Definition at line 34 of file kzg10_verifier_gadget.hpp.
libsnark::kzg10_srs_variable< ppT >::kzg10_srs_variable | ( | protoboard< libff::Fr< ppT >> & | pb, |
const size_t | max_degree, | ||
const std::string & | annotation_prefix | ||
) |
void libsnark::kzg10_srs_variable< ppT >::generate_r1cs_witness | ( | const typename kzg10< npp >::srs & | srs | ) |
G2_variable<ppT> libsnark::kzg10_srs_variable< ppT >::alpha_g2 |
Definition at line 37 of file kzg10_verifier_gadget.hpp.
std::vector<G1_variable<ppT> > libsnark::kzg10_srs_variable< ppT >::alpha_powers_g1 |
Definition at line 36 of file kzg10_verifier_gadget.hpp.