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_mul_gadget (protoboard< FieldT > &pb, const Fp6_2over3_variable< Fp6T > &A, const Fp6_2over3_variable< Fp6T > &B, 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) | |
Additional Inherited Members | |
![]() | |
protoboard< Fp6T::my_Fp > & | pb |
const std::string | annotation_prefix |
Gadget that creates constraints for Fp6 multiplication.
Definition at line 60 of file fp6_2over3_gadgets.hpp.
typedef Fp6T::my_Fp libsnark::Fp6_2over3_mul_gadget< Fp6T >::FieldT |
Definition at line 63 of file fp6_2over3_gadgets.hpp.
typedef Fp6T::my_Fpe libsnark::Fp6_2over3_mul_gadget< Fp6T >::Fp3T |
Definition at line 64 of file fp6_2over3_gadgets.hpp.
libsnark::Fp6_2over3_mul_gadget< Fp6T >::Fp6_2over3_mul_gadget | ( | protoboard< FieldT > & | pb, |
const Fp6_2over3_variable< Fp6T > & | A, | ||
const Fp6_2over3_variable< Fp6T > & | B, | ||
const Fp6_2over3_variable< Fp6T > & | result, | ||
const std::string & | annotation_prefix | ||
) |
void libsnark::Fp6_2over3_mul_gadget< Fp6T >::generate_r1cs_constraints | ( | ) |
void libsnark::Fp6_2over3_mul_gadget< Fp6T >::generate_r1cs_witness | ( | ) |
Fp6_2over3_variable<Fp6T> libsnark::Fp6_2over3_mul_gadget< Fp6T >::A |
Definition at line 66 of file fp6_2over3_gadgets.hpp.
std::shared_ptr<Fp3_variable<Fp3T> > libsnark::Fp6_2over3_mul_gadget< Fp6T >::Ac0_plus_Ac1 |
Definition at line 77 of file fp6_2over3_gadgets.hpp.
pb_linear_combination<FieldT> libsnark::Fp6_2over3_mul_gadget< Fp6T >::Ac0_plus_Ac1_c0 |
Definition at line 74 of file fp6_2over3_gadgets.hpp.
pb_linear_combination<FieldT> libsnark::Fp6_2over3_mul_gadget< Fp6T >::Ac0_plus_Ac1_c1 |
Definition at line 75 of file fp6_2over3_gadgets.hpp.
pb_linear_combination<FieldT> libsnark::Fp6_2over3_mul_gadget< Fp6T >::Ac0_plus_Ac1_c2 |
Definition at line 76 of file fp6_2over3_gadgets.hpp.
Fp6_2over3_variable<Fp6T> libsnark::Fp6_2over3_mul_gadget< Fp6T >::B |
Definition at line 67 of file fp6_2over3_gadgets.hpp.
std::shared_ptr<Fp3_variable<Fp3T> > libsnark::Fp6_2over3_mul_gadget< Fp6T >::Bc0_plus_Bc1 |
Definition at line 85 of file fp6_2over3_gadgets.hpp.
pb_linear_combination<FieldT> libsnark::Fp6_2over3_mul_gadget< Fp6T >::Bc0_plus_Bc1_c0 |
Definition at line 82 of file fp6_2over3_gadgets.hpp.
pb_linear_combination<FieldT> libsnark::Fp6_2over3_mul_gadget< Fp6T >::Bc0_plus_Bc1_c1 |
Definition at line 83 of file fp6_2over3_gadgets.hpp.
pb_linear_combination<FieldT> libsnark::Fp6_2over3_mul_gadget< Fp6T >::Bc0_plus_Bc1_c2 |
Definition at line 84 of file fp6_2over3_gadgets.hpp.
std::shared_ptr<Fp3_mul_gadget<Fp3T> > libsnark::Fp6_2over3_mul_gadget< Fp6T >::compute_result_c1 |
Definition at line 94 of file fp6_2over3_gadgets.hpp.
std::shared_ptr<Fp3_mul_gadget<Fp3T> > libsnark::Fp6_2over3_mul_gadget< Fp6T >::compute_v0 |
Definition at line 92 of file fp6_2over3_gadgets.hpp.
std::shared_ptr<Fp3_mul_gadget<Fp3T> > libsnark::Fp6_2over3_mul_gadget< Fp6T >::compute_v1 |
Definition at line 93 of file fp6_2over3_gadgets.hpp.
Fp6_2over3_variable<Fp6T> libsnark::Fp6_2over3_mul_gadget< Fp6T >::result |
Definition at line 68 of file fp6_2over3_gadgets.hpp.
std::shared_ptr<Fp3_variable<Fp3T> > libsnark::Fp6_2over3_mul_gadget< Fp6T >::result_c1_plus_v0_plus_v1 |
Definition at line 90 of file fp6_2over3_gadgets.hpp.
pb_linear_combination<FieldT> libsnark::Fp6_2over3_mul_gadget< Fp6T >::result_c1_plus_v0_plus_v1_c0 |
Definition at line 87 of file fp6_2over3_gadgets.hpp.
pb_linear_combination<FieldT> libsnark::Fp6_2over3_mul_gadget< Fp6T >::result_c1_plus_v0_plus_v1_c1 |
Definition at line 88 of file fp6_2over3_gadgets.hpp.
pb_linear_combination<FieldT> libsnark::Fp6_2over3_mul_gadget< Fp6T >::result_c1_plus_v0_plus_v1_c2 |
Definition at line 89 of file fp6_2over3_gadgets.hpp.
std::shared_ptr<Fp3_variable<Fp3T> > libsnark::Fp6_2over3_mul_gadget< Fp6T >::v0 |
Definition at line 79 of file fp6_2over3_gadgets.hpp.
pb_linear_combination<FieldT> libsnark::Fp6_2over3_mul_gadget< Fp6T >::v0_c0 |
Definition at line 70 of file fp6_2over3_gadgets.hpp.
pb_linear_combination<FieldT> libsnark::Fp6_2over3_mul_gadget< Fp6T >::v0_c1 |
Definition at line 71 of file fp6_2over3_gadgets.hpp.
pb_linear_combination<FieldT> libsnark::Fp6_2over3_mul_gadget< Fp6T >::v0_c2 |
Definition at line 72 of file fp6_2over3_gadgets.hpp.
std::shared_ptr<Fp3_variable<Fp3T> > libsnark::Fp6_2over3_mul_gadget< Fp6T >::v1 |
Definition at line 80 of file fp6_2over3_gadgets.hpp.