Clearmatics Libsnark
0.1
C++ library for zkSNARK proofs
|
#include <fp6_2over3_gadgets.hpp>
Public Types | |
typedef Fp6T::my_Fp | FieldT |
Public Member Functions | |
Fp6_2over3_sqr_gadget (protoboard< FieldT > &pb, const Fp6_2over3_variable< Fp6T > &A, const Fp6_2over3_variable< Fp6T > &result, const std::string &annotation_prefix) | |
void | generate_r1cs_constraints () |
void | generate_r1cs_witness () |
![]() | |
gadget (protoboard< Fp6T::my_Fp > &pb, const std::string &annotation_prefix) | |
Public Attributes | |
Fp6_2over3_variable< Fp6T > | A |
Fp6_2over3_variable< Fp6T > | result |
std::shared_ptr< Fp6_2over3_mul_gadget< Fp6T > > | mul |
Additional Inherited Members | |
![]() | |
protoboard< Fp6T::my_Fp > & | pb |
const std::string | annotation_prefix |
Gadget that creates constraints for Fp6 squaring.
Definition at line 160 of file fp6_2over3_gadgets.hpp.
typedef Fp6T::my_Fp libsnark::Fp6_2over3_sqr_gadget< Fp6T >::FieldT |
Definition at line 163 of file fp6_2over3_gadgets.hpp.
libsnark::Fp6_2over3_sqr_gadget< Fp6T >::Fp6_2over3_sqr_gadget | ( | protoboard< FieldT > & | pb, |
const Fp6_2over3_variable< Fp6T > & | A, | ||
const Fp6_2over3_variable< Fp6T > & | result, | ||
const std::string & | annotation_prefix | ||
) |
void libsnark::Fp6_2over3_sqr_gadget< Fp6T >::generate_r1cs_constraints | ( | ) |
void libsnark::Fp6_2over3_sqr_gadget< Fp6T >::generate_r1cs_witness | ( | ) |
Fp6_2over3_variable<Fp6T> libsnark::Fp6_2over3_sqr_gadget< Fp6T >::A |
Definition at line 165 of file fp6_2over3_gadgets.hpp.
std::shared_ptr<Fp6_2over3_mul_gadget<Fp6T> > libsnark::Fp6_2over3_sqr_gadget< Fp6T >::mul |
Definition at line 168 of file fp6_2over3_gadgets.hpp.
Fp6_2over3_variable<Fp6T> libsnark::Fp6_2over3_sqr_gadget< Fp6T >::result |
Definition at line 166 of file fp6_2over3_gadgets.hpp.