|
Clearmatics Libsnark
0.1
C++ library for zkSNARK proofs
|
#include <fp2_gadgets.hpp>


Public Types | |
| typedef Fp2T::my_Fp | FieldT |
Public Member Functions | |
| Fp2_mul_by_lc_gadget (protoboard< FieldT > &pb, const Fp2_variable< Fp2T > &A, const pb_linear_combination< FieldT > &lc, const Fp2_variable< Fp2T > &result, const std::string &annotation_prefix) | |
| void | generate_r1cs_constraints () |
| void | generate_r1cs_witness () |
Public Member Functions inherited from libsnark::gadget< Fp2T::my_Fp > | |
| gadget (protoboard< Fp2T::my_Fp > &pb, const std::string &annotation_prefix) | |
Public Attributes | |
| Fp2_variable< Fp2T > | A |
| pb_linear_combination< FieldT > | lc |
| Fp2_variable< Fp2T > | result |
Additional Inherited Members | |
Protected Attributes inherited from libsnark::gadget< Fp2T::my_Fp > | |
| protoboard< Fp2T::my_Fp > & | pb |
| const std::string | annotation_prefix |
Gadget that creates constraints for Fp2 multiplication by a linear combination.
Definition at line 102 of file fp2_gadgets.hpp.
| typedef Fp2T::my_Fp libsnark::Fp2_mul_by_lc_gadget< Fp2T >::FieldT |
Definition at line 105 of file fp2_gadgets.hpp.
| libsnark::Fp2_mul_by_lc_gadget< Fp2T >::Fp2_mul_by_lc_gadget | ( | protoboard< FieldT > & | pb, |
| const Fp2_variable< Fp2T > & | A, | ||
| const pb_linear_combination< FieldT > & | lc, | ||
| const Fp2_variable< Fp2T > & | result, | ||
| const std::string & | annotation_prefix | ||
| ) |
| void libsnark::Fp2_mul_by_lc_gadget< Fp2T >::generate_r1cs_constraints | ( | ) |
| void libsnark::Fp2_mul_by_lc_gadget< Fp2T >::generate_r1cs_witness | ( | ) |
| Fp2_variable<Fp2T> libsnark::Fp2_mul_by_lc_gadget< Fp2T >::A |
Definition at line 107 of file fp2_gadgets.hpp.
| pb_linear_combination<FieldT> libsnark::Fp2_mul_by_lc_gadget< Fp2T >::lc |
Definition at line 108 of file fp2_gadgets.hpp.
| Fp2_variable<Fp2T> libsnark::Fp2_mul_by_lc_gadget< Fp2T >::result |
Definition at line 109 of file fp2_gadgets.hpp.
1.8.17