Clearmatics Libsnark
0.1
C++ library for zkSNARK proofs
|
#include <bls12_377_membership_check_gadgets.hpp>
Public Member Functions | |
bls12_377_G2_membership_check_gadget (protoboard< libff::Fr< wppT >> &pb, G2_variable< wppT > &g2, const std::string &annotation_prefix) | |
void | generate_r1cs_constraints () |
void | generate_r1cs_witness () |
![]() | |
gadget (protoboard< libff::Fr< wppT > > &pb, const std::string &annotation_prefix) | |
Public Attributes | |
G2_checker_gadget< wppT > | _P_checker |
G2_add_gadget< wppT > | _psi_P_minus_P |
G2_mul_by_const_scalar_gadget< wppT, libff::bls12_377_r_limbs > | _t_times_psi_P_minus_P |
G2_add_gadget< wppT > | _P_plus_t_times_psi_P_minus_P |
G2_equality_gadget< wppT > | _h1_r_P_equals_zero |
Additional Inherited Members | |
![]() | |
protoboard< libff::Fr< wppT > > & | pb |
const std::string | annotation_prefix |
Curve equation (via generic G2_checker_gadget) and subgroup membership check for BLS12-377 G2 variables.
Definition at line 61 of file bls12_377_membership_check_gadgets.hpp.
libsnark::bls12_377_G2_membership_check_gadget< wppT >::bls12_377_G2_membership_check_gadget | ( | protoboard< libff::Fr< wppT >> & | pb, |
G2_variable< wppT > & | g2, | ||
const std::string & | annotation_prefix | ||
) |
void libsnark::bls12_377_G2_membership_check_gadget< wppT >::generate_r1cs_constraints | ( | ) |
void libsnark::bls12_377_G2_membership_check_gadget< wppT >::generate_r1cs_witness | ( | ) |
G2_equality_gadget<wppT> libsnark::bls12_377_G2_membership_check_gadget< wppT >::_h1_r_P_equals_zero |
Definition at line 84 of file bls12_377_membership_check_gadgets.hpp.
G2_checker_gadget<wppT> libsnark::bls12_377_G2_membership_check_gadget< wppT >::_P_checker |
Definition at line 75 of file bls12_377_membership_check_gadgets.hpp.
G2_add_gadget<wppT> libsnark::bls12_377_G2_membership_check_gadget< wppT >::_P_plus_t_times_psi_P_minus_P |
Definition at line 82 of file bls12_377_membership_check_gadgets.hpp.
G2_add_gadget<wppT> libsnark::bls12_377_G2_membership_check_gadget< wppT >::_psi_P_minus_P |
Definition at line 77 of file bls12_377_membership_check_gadgets.hpp.
G2_mul_by_const_scalar_gadget<wppT, libff::bls12_377_r_limbs> libsnark::bls12_377_G2_membership_check_gadget< wppT >::_t_times_psi_P_minus_P |
Definition at line 80 of file bls12_377_membership_check_gadgets.hpp.