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_ee_gadget (protoboard< FieldT > &pb, const G1_precomputation< ppT > &lhs_G1, const G2_precomputation< ppT > &lhs_G2, const G1_precomputation< ppT > &rhs1_G1, const G2_precomputation< ppT > &rhs1_G2, const G1_precomputation< ppT > &rhs2_G1, const G2_precomputation< ppT > &rhs2_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_times_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 > | rhs1_G1 |
G2_precomputation< ppT > | rhs1_G2 |
G1_precomputation< ppT > | rhs2_G1 |
G2_precomputation< ppT > | rhs2_G2 |
pb_variable< FieldT > | result |
Additional Inherited Members | |
![]() | |
protoboard< libff::Fr< ppT > > & | pb |
const std::string | annotation_prefix |
Definition at line 60 of file pairing_checks.hpp.
typedef libff::Fr<ppT> libsnark::check_e_equals_ee_gadget< ppT >::FieldT |
Definition at line 63 of file pairing_checks.hpp.
libsnark::check_e_equals_ee_gadget< ppT >::check_e_equals_ee_gadget | ( | protoboard< FieldT > & | pb, |
const G1_precomputation< ppT > & | lhs_G1, | ||
const G2_precomputation< ppT > & | lhs_G2, | ||
const G1_precomputation< ppT > & | rhs1_G1, | ||
const G2_precomputation< ppT > & | rhs1_G2, | ||
const G1_precomputation< ppT > & | rhs2_G1, | ||
const G2_precomputation< ppT > & | rhs2_G2, | ||
const pb_variable< FieldT > & | result, | ||
const std::string & | annotation_prefix | ||
) |
void libsnark::check_e_equals_ee_gadget< ppT >::generate_r1cs_constraints | ( | ) |
void libsnark::check_e_equals_ee_gadget< ppT >::generate_r1cs_witness | ( | ) |
std::shared_ptr<final_exp_gadget<ppT> > libsnark::check_e_equals_ee_gadget< ppT >::check_finexp |
Definition at line 67 of file pairing_checks.hpp.
std::shared_ptr<e_times_e_over_e_miller_loop_gadget<ppT> > libsnark::check_e_equals_ee_gadget< ppT >::compute_ratio |
Definition at line 66 of file pairing_checks.hpp.
G1_precomputation<ppT> libsnark::check_e_equals_ee_gadget< ppT >::lhs_G1 |
Definition at line 69 of file pairing_checks.hpp.
G2_precomputation<ppT> libsnark::check_e_equals_ee_gadget< ppT >::lhs_G2 |
Definition at line 70 of file pairing_checks.hpp.
std::shared_ptr<Fqk_variable<ppT> > libsnark::check_e_equals_ee_gadget< ppT >::ratio |
Definition at line 65 of file pairing_checks.hpp.
pb_variable<FieldT> libsnark::check_e_equals_ee_gadget< ppT >::result |
Definition at line 76 of file pairing_checks.hpp.
G1_precomputation<ppT> libsnark::check_e_equals_ee_gadget< ppT >::rhs1_G1 |
Definition at line 71 of file pairing_checks.hpp.
G2_precomputation<ppT> libsnark::check_e_equals_ee_gadget< ppT >::rhs1_G2 |
Definition at line 72 of file pairing_checks.hpp.
G1_precomputation<ppT> libsnark::check_e_equals_ee_gadget< ppT >::rhs2_G1 |
Definition at line 73 of file pairing_checks.hpp.
G2_precomputation<ppT> libsnark::check_e_equals_ee_gadget< ppT >::rhs2_G2 |
Definition at line 74 of file pairing_checks.hpp.