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_eee_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 G1_precomputation< ppT > &rhs3_G1, const G2_precomputation< ppT > &rhs3_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_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 |
G1_precomputation< ppT > | rhs3_G1 |
G2_precomputation< ppT > | rhs3_G2 |
pb_variable< FieldT > | result |
Additional Inherited Members | |
![]() | |
protoboard< libff::Fr< ppT > > & | pb |
const std::string | annotation_prefix |
Definition at line 95 of file pairing_checks.hpp.
typedef libff::Fr<ppT> libsnark::check_e_equals_eee_gadget< ppT >::FieldT |
Definition at line 98 of file pairing_checks.hpp.
libsnark::check_e_equals_eee_gadget< ppT >::check_e_equals_eee_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 G1_precomputation< ppT > & | rhs3_G1, | ||
const G2_precomputation< ppT > & | rhs3_G2, | ||
const pb_variable< FieldT > & | result, | ||
const std::string & | annotation_prefix | ||
) |
void libsnark::check_e_equals_eee_gadget< ppT >::generate_r1cs_constraints | ( | ) |
void libsnark::check_e_equals_eee_gadget< ppT >::generate_r1cs_witness | ( | ) |
std::shared_ptr<final_exp_gadget<ppT> > libsnark::check_e_equals_eee_gadget< ppT >::check_finexp |
Definition at line 103 of file pairing_checks.hpp.
std::shared_ptr<e_times_e_times_e_over_e_miller_loop_gadget<ppT> > libsnark::check_e_equals_eee_gadget< ppT >::compute_ratio |
Definition at line 102 of file pairing_checks.hpp.
G1_precomputation<ppT> libsnark::check_e_equals_eee_gadget< ppT >::lhs_G1 |
Definition at line 105 of file pairing_checks.hpp.
G2_precomputation<ppT> libsnark::check_e_equals_eee_gadget< ppT >::lhs_G2 |
Definition at line 106 of file pairing_checks.hpp.
std::shared_ptr<Fqk_variable<ppT> > libsnark::check_e_equals_eee_gadget< ppT >::ratio |
Definition at line 100 of file pairing_checks.hpp.
pb_variable<FieldT> libsnark::check_e_equals_eee_gadget< ppT >::result |
Definition at line 114 of file pairing_checks.hpp.
G1_precomputation<ppT> libsnark::check_e_equals_eee_gadget< ppT >::rhs1_G1 |
Definition at line 107 of file pairing_checks.hpp.
G2_precomputation<ppT> libsnark::check_e_equals_eee_gadget< ppT >::rhs1_G2 |
Definition at line 108 of file pairing_checks.hpp.
G1_precomputation<ppT> libsnark::check_e_equals_eee_gadget< ppT >::rhs2_G1 |
Definition at line 109 of file pairing_checks.hpp.
G2_precomputation<ppT> libsnark::check_e_equals_eee_gadget< ppT >::rhs2_G2 |
Definition at line 110 of file pairing_checks.hpp.
G1_precomputation<ppT> libsnark::check_e_equals_eee_gadget< ppT >::rhs3_G1 |
Definition at line 111 of file pairing_checks.hpp.
G2_precomputation<ppT> libsnark::check_e_equals_eee_gadget< ppT >::rhs3_G2 |
Definition at line 112 of file pairing_checks.hpp.