|
Clearmatics Libsnark
0.1
C++ library for zkSNARK proofs
|
Gadget that represents a G1 variable. More...
#include <weierstrass_g1_gadget.hpp>


Public Types | |
| typedef libff::Fr< ppT > | FieldT |
Public Member Functions | |
| G1_variable (protoboard< FieldT > &pb, const std::string &annotation_prefix) | |
| G1_variable (protoboard< FieldT > &pb, const libff::G1< other_curve< ppT >> &P, const std::string &annotation_prefix) | |
| G1_variable (protoboard< FieldT > &pb, const pb_linear_combination< FieldT > &X, const pb_linear_combination< FieldT > &Y, const std::string &annotation_prefix) | |
| G1_variable | operator- () const |
| void | generate_r1cs_witness (const libff::G1< other_curve< ppT >> &elt) |
| libff::G1< other_curve< ppT > > | get_element () const |
Public Member Functions inherited from libsnark::gadget< libff::Fr< ppT > > | |
| gadget (protoboard< libff::Fr< ppT > > &pb, const std::string &annotation_prefix) | |
Static Public Member Functions | |
| static size_t | __attribute__ ((noinline)) size_in_bits() |
| static size_t | num_variables () |
Public Attributes | |
| pb_linear_combination< FieldT > | X |
| pb_linear_combination< FieldT > | Y |
| pb_linear_combination_array< FieldT > | all_vars |
Additional Inherited Members | |
Protected Attributes inherited from libsnark::gadget< libff::Fr< ppT > > | |
| protoboard< libff::Fr< ppT > > & | pb |
| const std::string | annotation_prefix |
Gadget that represents a G1 variable.
Definition at line 28 of file weierstrass_g1_gadget.hpp.
| typedef libff::Fr<ppT> libsnark::G1_variable< ppT >::FieldT |
Definition at line 31 of file weierstrass_g1_gadget.hpp.
| libsnark::G1_variable< ppT >::G1_variable | ( | protoboard< FieldT > & | pb, |
| const std::string & | annotation_prefix | ||
| ) |
| libsnark::G1_variable< ppT >::G1_variable | ( | protoboard< FieldT > & | pb, |
| const libff::G1< other_curve< ppT >> & | P, | ||
| const std::string & | annotation_prefix | ||
| ) |
| libsnark::G1_variable< ppT >::G1_variable | ( | protoboard< FieldT > & | pb, |
| const pb_linear_combination< FieldT > & | X, | ||
| const pb_linear_combination< FieldT > & | Y, | ||
| const std::string & | annotation_prefix | ||
| ) |
|
static |
| void libsnark::G1_variable< ppT >::generate_r1cs_witness | ( | const libff::G1< other_curve< ppT >> & | elt | ) |
| libff::G1<other_curve<ppT> > libsnark::G1_variable< ppT >::get_element | ( | ) | const |
|
static |
| G1_variable libsnark::G1_variable< ppT >::operator- | ( | ) | const |
| pb_linear_combination_array<FieldT> libsnark::G1_variable< ppT >::all_vars |
Definition at line 36 of file weierstrass_g1_gadget.hpp.
| pb_linear_combination<FieldT> libsnark::G1_variable< ppT >::X |
Definition at line 33 of file weierstrass_g1_gadget.hpp.
| pb_linear_combination<FieldT> libsnark::G1_variable< ppT >::Y |
Definition at line 34 of file weierstrass_g1_gadget.hpp.
1.8.17