Clearmatics Libsnark
0.1
C++ library for zkSNARK proofs
|
Go to the documentation of this file.
9 #ifndef LIBSNARK_GADGETLIB1_GADGETS_PAIRING_BW6_761_BLS12_377_BLS12_377_MEMBERSHIP_CHECK_GADGETS_HPP_
10 #define LIBSNARK_GADGETLIB1_GADGETS_PAIRING_BW6_761_BLS12_377_BLS12_377_MEMBERSHIP_CHECK_GADGETS_HPP_
16 #include <libff/algebra/curves/bls12_377/bls12_377_pp.hpp>
23 template<
typename wppT>
51 template<
typename wppT>
56 const std::string &annotation_prefix);
60 template<
typename wppT>
98 #endif // LIBSNARK_GADGETLIB1_GADGETS_PAIRING_BW6_761_BLS12_377_BLS12_377_MEMBERSHIP_CHECK_GADGETS_HPP_
const std::string annotation_prefix
G2_add_gadget< wppT > _psi_P_minus_P
G1_mul_by_cofactor_gadget _P_primed_mul_cofactor
G2_equality_gadget< wppT > _h1_r_P_equals_zero
protoboard< libff::Fr< wppT > > & pb
void generate_r1cs_constraints()
G2_mul_by_const_scalar_gadget< wppT, libff::bls12_377_r_limbs > _t_times_psi_P_minus_P
G2_checker_gadget< wppT > _P_checker
void generate_r1cs_constraints()
bls12_377_G1_membership_check_gadget(protoboard< libff::Fr< wppT >> &pb, const G1_variable< wppT > &P, const std::string &annotation_prefix)
G2_add_gadget< wppT > _P_plus_t_times_psi_P_minus_P
G1_checker_gadget< wppT > _P_primed_checker
void generate_r1cs_witness()
G1_variable< wppT > _P_primed
void generate_r1cs_witness()
G2_variable< wppT > bls12_377_g2_untwist_frobenius_twist(protoboard< libff::Fr< wppT >> &pb, const G2_variable< wppT > &g2, size_t exp, const std::string &annotation_prefix)
typename pairing_selector< ppT >::other_curve_type other_curve
Gadget to add 2 G2 points.
bls12_377_G2_membership_check_gadget(protoboard< libff::Fr< wppT >> &pb, G2_variable< wppT > &g2, const std::string &annotation_prefix)
Check equality of 2 G2 points.