Clearmatics Libsnark
0.1
C++ library for zkSNARK proofs
|
#include <pairing_checks.hpp>
Public Types | |
typedef libff::Fr< ppT > | FieldT |
Public Member Functions | |
check_e_equals_e_gadget (protoboard< FieldT > &pb, const G1_precomputation< ppT > &lhs_G1, const G2_precomputation< ppT > &lhs_G2, const G1_precomputation< ppT > &rhs_G1, const G2_precomputation< ppT > &rhs_G2, const pb_variable< FieldT > &result, const std::string &annotation_prefix) | |
void | generate_r1cs_constraints () |
void | generate_r1cs_witness () |
![]() | |
gadget (protoboard< libff::Fr< ppT > > &pb, const std::string &annotation_prefix) | |
Public Attributes | |
std::shared_ptr< Fqk_variable< ppT > > | ratio |
std::shared_ptr< e_over_e_miller_loop_gadget< ppT > > | compute_ratio |
std::shared_ptr< final_exp_gadget< ppT > > | check_finexp |
G1_precomputation< ppT > | lhs_G1 |
G2_precomputation< ppT > | lhs_G2 |
G1_precomputation< ppT > | rhs_G1 |
G2_precomputation< ppT > | rhs_G2 |
pb_variable< FieldT > | result |
Additional Inherited Members | |
![]() | |
protoboard< libff::Fr< ppT > > & | pb |
const std::string | annotation_prefix |
Definition at line 29 of file pairing_checks.hpp.
typedef libff::Fr<ppT> libsnark::check_e_equals_e_gadget< ppT >::FieldT |
Definition at line 32 of file pairing_checks.hpp.
libsnark::check_e_equals_e_gadget< ppT >::check_e_equals_e_gadget | ( | protoboard< FieldT > & | pb, |
const G1_precomputation< ppT > & | lhs_G1, | ||
const G2_precomputation< ppT > & | lhs_G2, | ||
const G1_precomputation< ppT > & | rhs_G1, | ||
const G2_precomputation< ppT > & | rhs_G2, | ||
const pb_variable< FieldT > & | result, | ||
const std::string & | annotation_prefix | ||
) |
void libsnark::check_e_equals_e_gadget< ppT >::generate_r1cs_constraints | ( | ) |
void libsnark::check_e_equals_e_gadget< ppT >::generate_r1cs_witness | ( | ) |
std::shared_ptr<final_exp_gadget<ppT> > libsnark::check_e_equals_e_gadget< ppT >::check_finexp |
Definition at line 36 of file pairing_checks.hpp.
std::shared_ptr<e_over_e_miller_loop_gadget<ppT> > libsnark::check_e_equals_e_gadget< ppT >::compute_ratio |
Definition at line 35 of file pairing_checks.hpp.
G1_precomputation<ppT> libsnark::check_e_equals_e_gadget< ppT >::lhs_G1 |
Definition at line 38 of file pairing_checks.hpp.
G2_precomputation<ppT> libsnark::check_e_equals_e_gadget< ppT >::lhs_G2 |
Definition at line 39 of file pairing_checks.hpp.
std::shared_ptr<Fqk_variable<ppT> > libsnark::check_e_equals_e_gadget< ppT >::ratio |
Definition at line 34 of file pairing_checks.hpp.
pb_variable<FieldT> libsnark::check_e_equals_e_gadget< ppT >::result |
Definition at line 43 of file pairing_checks.hpp.
G1_precomputation<ppT> libsnark::check_e_equals_e_gadget< ppT >::rhs_G1 |
Definition at line 40 of file pairing_checks.hpp.
G2_precomputation<ppT> libsnark::check_e_equals_e_gadget< ppT >::rhs_G2 |
Definition at line 41 of file pairing_checks.hpp.