Clearmatics Libsnark
0.1
C++ library for zkSNARK proofs
|
#include <weierstrass_g1_gadget.hpp>
Public Types | |
typedef libff::Fr< ppT > | FieldT |
Public Member Functions | |
G1_checker_gadget (protoboard< FieldT > &pb, const G1_variable< ppT > &P, 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 | |
G1_variable< ppT > | P |
pb_variable< FieldT > | P_X_squared |
pb_variable< FieldT > | P_Y_squared |
Additional Inherited Members | |
![]() | |
protoboard< libff::Fr< ppT > > & | pb |
const std::string | annotation_prefix |
Gadget that creates constraints for the validity of a G1 variable.
Definition at line 94 of file weierstrass_g1_gadget.hpp.
typedef libff::Fr<ppT> libsnark::G1_checker_gadget< ppT >::FieldT |
Definition at line 97 of file weierstrass_g1_gadget.hpp.
libsnark::G1_checker_gadget< ppT >::G1_checker_gadget | ( | protoboard< FieldT > & | pb, |
const G1_variable< ppT > & | P, | ||
const std::string & | annotation_prefix | ||
) |
void libsnark::G1_checker_gadget< ppT >::generate_r1cs_constraints | ( | ) |
void libsnark::G1_checker_gadget< ppT >::generate_r1cs_witness | ( | ) |
G1_variable<ppT> libsnark::G1_checker_gadget< ppT >::P |
Definition at line 99 of file weierstrass_g1_gadget.hpp.
pb_variable<FieldT> libsnark::G1_checker_gadget< ppT >::P_X_squared |
Definition at line 100 of file weierstrass_g1_gadget.hpp.
pb_variable<FieldT> libsnark::G1_checker_gadget< ppT >::P_Y_squared |
Definition at line 101 of file weierstrass_g1_gadget.hpp.