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


Public Types | |
| typedef Fp3T::my_Fp | FieldT |
Static Public Member Functions | |
| static size_t | size_in_bits () |
| static size_t | num_variables () |
Public Attributes | |
| pb_linear_combination< FieldT > | c0 |
| pb_linear_combination< FieldT > | c1 |
| pb_linear_combination< FieldT > | c2 |
| pb_linear_combination_array< FieldT > | all_vars |
Additional Inherited Members | |
Protected Attributes inherited from libsnark::gadget< Fp3T::my_Fp > | |
| protoboard< Fp3T::my_Fp > & | pb |
| const std::string | annotation_prefix |
Gadget that represents an Fp3 variable.
Definition at line 27 of file fp3_gadgets.hpp.
| typedef Fp3T::my_Fp libsnark::Fp3_variable< Fp3T >::FieldT |
Definition at line 30 of file fp3_gadgets.hpp.
| libsnark::Fp3_variable< Fp3T >::Fp3_variable | ( | protoboard< FieldT > & | pb, |
| const std::string & | annotation_prefix | ||
| ) |
| libsnark::Fp3_variable< Fp3T >::Fp3_variable | ( | protoboard< FieldT > & | pb, |
| const Fp3T & | el, | ||
| const std::string & | annotation_prefix | ||
| ) |
| libsnark::Fp3_variable< Fp3T >::Fp3_variable | ( | protoboard< FieldT > & | pb, |
| const Fp3T & | el, | ||
| const pb_linear_combination< FieldT > & | coeff, | ||
| const std::string & | annotation_prefix | ||
| ) |
| libsnark::Fp3_variable< Fp3T >::Fp3_variable | ( | protoboard< FieldT > & | pb, |
| const pb_linear_combination< FieldT > & | c0, | ||
| const pb_linear_combination< FieldT > & | c1, | ||
| const pb_linear_combination< FieldT > & | c2, | ||
| const std::string & | annotation_prefix | ||
| ) |
| void libsnark::Fp3_variable< Fp3T >::evaluate | ( | ) | const |
| void libsnark::Fp3_variable< Fp3T >::generate_r1cs_equals_const_constraints | ( | const Fp3T & | el | ) |
| void libsnark::Fp3_variable< Fp3T >::generate_r1cs_witness | ( | const Fp3T & | el | ) |
| Fp3T libsnark::Fp3_variable< Fp3T >::get_element | ( | ) |
| bool libsnark::Fp3_variable< Fp3T >::is_constant | ( | ) | const |
| Fp3_variable<Fp3T> libsnark::Fp3_variable< Fp3T >::mul_by_X | ( | ) | const |
|
static |
| Fp3_variable<Fp3T> libsnark::Fp3_variable< Fp3T >::operator* | ( | const FieldT & | coeff | ) | const |
| Fp3_variable<Fp3T> libsnark::Fp3_variable< Fp3T >::operator+ | ( | const Fp3_variable< Fp3T > & | other | ) | const |
| Fp3_variable<Fp3T> libsnark::Fp3_variable< Fp3T >::operator+ | ( | const Fp3T & | other | ) | const |
|
static |
| pb_linear_combination_array<FieldT> libsnark::Fp3_variable< Fp3T >::all_vars |
Definition at line 36 of file fp3_gadgets.hpp.
| pb_linear_combination<FieldT> libsnark::Fp3_variable< Fp3T >::c0 |
Definition at line 32 of file fp3_gadgets.hpp.
| pb_linear_combination<FieldT> libsnark::Fp3_variable< Fp3T >::c1 |
Definition at line 33 of file fp3_gadgets.hpp.
| pb_linear_combination<FieldT> libsnark::Fp3_variable< Fp3T >::c2 |
Definition at line 34 of file fp3_gadgets.hpp.
1.8.17