Clearmatics Libsnark
0.1
C++ library for zkSNARK proofs
|
#include <fp6_2over3_gadgets.hpp>
Public Types | |
typedef Fp6T::my_Fp | FieldT |
typedef Fp6T::my_Fpe | Fp3T |
Public Member Functions | |
Fp6_2over3_variable (protoboard< FieldT > &pb, const std::string &annotation_prefix) | |
Fp6_2over3_variable (protoboard< FieldT > &pb, const Fp6T &el, const std::string &annotation_prefix) | |
Fp6_2over3_variable (protoboard< FieldT > &pb, const Fp3_variable< Fp3T > &c0, const Fp3_variable< Fp3T > &c1, const std::string &annotation_prefix) | |
void | generate_r1cs_equals_const_constraints (const Fp6T &el) |
void | generate_r1cs_witness (const Fp6T &el) |
Fp6T | get_element () |
Fp6_2over3_variable< Fp6T > | Frobenius_map (const size_t power) const |
void | evaluate () const |
![]() | |
gadget (protoboard< Fp6T::my_Fp > &pb, const std::string &annotation_prefix) | |
Public Attributes | |
Fp3_variable< Fp3T > | c0 |
Fp3_variable< Fp3T > | c1 |
Additional Inherited Members | |
![]() | |
protoboard< Fp6T::my_Fp > & | pb |
const std::string | annotation_prefix |
Gadget that represents an Fp6 variable.
Definition at line 29 of file fp6_2over3_gadgets.hpp.
typedef Fp6T::my_Fp libsnark::Fp6_2over3_variable< Fp6T >::FieldT |
Definition at line 32 of file fp6_2over3_gadgets.hpp.
typedef Fp6T::my_Fpe libsnark::Fp6_2over3_variable< Fp6T >::Fp3T |
Definition at line 33 of file fp6_2over3_gadgets.hpp.
libsnark::Fp6_2over3_variable< Fp6T >::Fp6_2over3_variable | ( | protoboard< FieldT > & | pb, |
const std::string & | annotation_prefix | ||
) |
libsnark::Fp6_2over3_variable< Fp6T >::Fp6_2over3_variable | ( | protoboard< FieldT > & | pb, |
const Fp6T & | el, | ||
const std::string & | annotation_prefix | ||
) |
libsnark::Fp6_2over3_variable< Fp6T >::Fp6_2over3_variable | ( | protoboard< FieldT > & | pb, |
const Fp3_variable< Fp3T > & | c0, | ||
const Fp3_variable< Fp3T > & | c1, | ||
const std::string & | annotation_prefix | ||
) |
void libsnark::Fp6_2over3_variable< Fp6T >::evaluate | ( | ) | const |
Fp6_2over3_variable<Fp6T> libsnark::Fp6_2over3_variable< Fp6T >::Frobenius_map | ( | const size_t | power | ) | const |
void libsnark::Fp6_2over3_variable< Fp6T >::generate_r1cs_equals_const_constraints | ( | const Fp6T & | el | ) |
void libsnark::Fp6_2over3_variable< Fp6T >::generate_r1cs_witness | ( | const Fp6T & | el | ) |
Fp6T libsnark::Fp6_2over3_variable< Fp6T >::get_element | ( | ) |
Fp3_variable<Fp3T> libsnark::Fp6_2over3_variable< Fp6T >::c0 |
Definition at line 35 of file fp6_2over3_gadgets.hpp.
Fp3_variable<Fp3T> libsnark::Fp6_2over3_variable< Fp6T >::c1 |
Definition at line 36 of file fp6_2over3_gadgets.hpp.