|
Clearmatics Libsnark
0.1
C++ library for zkSNARK proofs
|
Check equality of 2 G2 points. More...
#include <weierstrass_g2_gadget.hpp>


Public Types | |
| using | nppT = other_curve< wppT > |
| using | FqeT = libff::Fqe< nppT > |
Public Member Functions | |
| G2_equality_gadget (protoboard< libff::Fr< wppT >> &pb, const G2_variable< wppT > &A, const G2_variable< wppT > &B, const std::string &annotation_prefix) | |
| void | generate_r1cs_constraints () |
| void | generate_r1cs_witness () |
Public Member Functions inherited from libsnark::gadget< libff::Fr< wppT > > | |
| gadget (protoboard< libff::Fr< wppT > > &pb, const std::string &annotation_prefix) | |
Public Attributes | |
| G2_variable< wppT > | _A |
| G2_variable< wppT > | _B |
Additional Inherited Members | |
Protected Attributes inherited from libsnark::gadget< libff::Fr< wppT > > | |
| protoboard< libff::Fr< wppT > > & | pb |
| const std::string | annotation_prefix |
Check equality of 2 G2 points.
Definition at line 205 of file weierstrass_g2_gadget.hpp.
| using libsnark::G2_equality_gadget< wppT >::FqeT = libff::Fqe<nppT> |
Definition at line 209 of file weierstrass_g2_gadget.hpp.
| using libsnark::G2_equality_gadget< wppT >::nppT = other_curve<wppT> |
Definition at line 208 of file weierstrass_g2_gadget.hpp.
| libsnark::G2_equality_gadget< wppT >::G2_equality_gadget | ( | protoboard< libff::Fr< wppT >> & | pb, |
| const G2_variable< wppT > & | A, | ||
| const G2_variable< wppT > & | B, | ||
| const std::string & | annotation_prefix | ||
| ) |
| void libsnark::G2_equality_gadget< wppT >::generate_r1cs_constraints | ( | ) |
| void libsnark::G2_equality_gadget< wppT >::generate_r1cs_witness | ( | ) |
| G2_variable<wppT> libsnark::G2_equality_gadget< wppT >::_A |
Definition at line 211 of file weierstrass_g2_gadget.hpp.
| G2_variable<wppT> libsnark::G2_equality_gadget< wppT >::_B |
Definition at line 212 of file weierstrass_g2_gadget.hpp.
1.8.17