Clearmatics Libsnark
0.1
C++ library for zkSNARK proofs
|
Go to the documentation of this file.
18 #ifndef PAIRING_CHECKS_HPP_
19 #define PAIRING_CHECKS_HPP_
28 template<
typename ppT>
34 std::shared_ptr<Fqk_variable<ppT>>
ratio;
59 template<
typename ppT>
65 std::shared_ptr<Fqk_variable<ppT>>
ratio;
66 std::shared_ptr<e_times_e_over_e_miller_loop_gadget<ppT>>
compute_ratio;
94 template<
typename ppT>
100 std::shared_ptr<Fqk_variable<ppT>>
ratio;
101 std::shared_ptr<e_times_e_times_e_over_e_miller_loop_gadget<ppT>>
137 #endif // PAIRING_CHECKS_HPP_
G2_precomputation< ppT > lhs_G2
const std::string annotation_prefix
std::shared_ptr< e_times_e_times_e_over_e_miller_loop_gadget< ppT > > compute_ratio
std::shared_ptr< Fqk_variable< ppT > > ratio
std::shared_ptr< e_times_e_over_e_miller_loop_gadget< ppT > > compute_ratio
G2_precomputation< ppT > rhs2_G2
std::shared_ptr< final_exp_gadget< ppT > > check_finexp
pb_variable< FieldT > result
std::shared_ptr< final_exp_gadget< ppT > > check_finexp
protoboard< libff::Fr< ppT > > & pb
std::shared_ptr< Fqk_variable< ppT > > ratio
std::shared_ptr< e_over_e_miller_loop_gadget< ppT > > compute_ratio
pb_variable< FieldT > result
G2_precomputation< ppT > lhs_G2
typename pairing_selector< ppT >::G1_precomputation_type G1_precomputation
G1_precomputation< ppT > rhs1_G1
G1_precomputation< ppT > rhs_G1
void generate_r1cs_constraints()
G2_precomputation< ppT > rhs_G2
G2_precomputation< ppT > rhs1_G2
void generate_r1cs_constraints()
G1_precomputation< ppT > lhs_G1
std::shared_ptr< Fqk_variable< ppT > > ratio
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)
G1_precomputation< ppT > rhs1_G1
pb_variable< FieldT > result
void generate_r1cs_witness()
void generate_r1cs_witness()
G2_precomputation< ppT > rhs3_G2
G1_precomputation< ppT > lhs_G1
std::shared_ptr< final_exp_gadget< ppT > > check_finexp
G2_precomputation< ppT > rhs1_G2
G1_precomputation< ppT > rhs2_G1
G2_precomputation< ppT > rhs2_G2
void generate_r1cs_witness()
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)
typename pairing_selector< ppT >::G2_precomputation_type G2_precomputation
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)
G2_precomputation< ppT > lhs_G2
G1_precomputation< ppT > rhs3_G1
void generate_r1cs_constraints()
G1_precomputation< ppT > rhs2_G1
G1_precomputation< ppT > lhs_G1