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_by_2345_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 by a Fp6 element B for which B.c0.c0 = B.c0.c1 = 0.
Definition at line 111 of file fp6_2over3_gadgets.hpp.
typedef Fp6T::my_Fp libsnark::Fp6_2over3_mul_by_2345_gadget< Fp6T >::FieldT |
Definition at line 114 of file fp6_2over3_gadgets.hpp.
typedef Fp6T::my_Fpe libsnark::Fp6_2over3_mul_by_2345_gadget< Fp6T >::Fp3T |
Definition at line 115 of file fp6_2over3_gadgets.hpp.
libsnark::Fp6_2over3_mul_by_2345_gadget< Fp6T >::Fp6_2over3_mul_by_2345_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_by_2345_gadget< Fp6T >::generate_r1cs_constraints | ( | ) |
void libsnark::Fp6_2over3_mul_by_2345_gadget< Fp6T >::generate_r1cs_witness | ( | ) |
Fp6_2over3_variable<Fp6T> libsnark::Fp6_2over3_mul_by_2345_gadget< Fp6T >::A |
Definition at line 117 of file fp6_2over3_gadgets.hpp.
std::shared_ptr<Fp3_variable<Fp3T> > libsnark::Fp6_2over3_mul_by_2345_gadget< Fp6T >::Ac0_plus_Ac1 |
Definition at line 128 of file fp6_2over3_gadgets.hpp.
pb_linear_combination<FieldT> libsnark::Fp6_2over3_mul_by_2345_gadget< Fp6T >::Ac0_plus_Ac1_c0 |
Definition at line 125 of file fp6_2over3_gadgets.hpp.
pb_linear_combination<FieldT> libsnark::Fp6_2over3_mul_by_2345_gadget< Fp6T >::Ac0_plus_Ac1_c1 |
Definition at line 126 of file fp6_2over3_gadgets.hpp.
pb_linear_combination<FieldT> libsnark::Fp6_2over3_mul_by_2345_gadget< Fp6T >::Ac0_plus_Ac1_c2 |
Definition at line 127 of file fp6_2over3_gadgets.hpp.
Fp6_2over3_variable<Fp6T> libsnark::Fp6_2over3_mul_by_2345_gadget< Fp6T >::B |
Definition at line 118 of file fp6_2over3_gadgets.hpp.
std::shared_ptr<Fp3_variable<Fp3T> > libsnark::Fp6_2over3_mul_by_2345_gadget< Fp6T >::Bc0_plus_Bc1 |
Definition at line 136 of file fp6_2over3_gadgets.hpp.
pb_linear_combination<FieldT> libsnark::Fp6_2over3_mul_by_2345_gadget< Fp6T >::Bc0_plus_Bc1_c0 |
Definition at line 133 of file fp6_2over3_gadgets.hpp.
pb_linear_combination<FieldT> libsnark::Fp6_2over3_mul_by_2345_gadget< Fp6T >::Bc0_plus_Bc1_c1 |
Definition at line 134 of file fp6_2over3_gadgets.hpp.
pb_linear_combination<FieldT> libsnark::Fp6_2over3_mul_by_2345_gadget< Fp6T >::Bc0_plus_Bc1_c2 |
Definition at line 135 of file fp6_2over3_gadgets.hpp.
std::shared_ptr<Fp3_mul_gadget<Fp3T> > libsnark::Fp6_2over3_mul_by_2345_gadget< Fp6T >::compute_result_c1 |
Definition at line 144 of file fp6_2over3_gadgets.hpp.
std::shared_ptr<Fp3_mul_gadget<Fp3T> > libsnark::Fp6_2over3_mul_by_2345_gadget< Fp6T >::compute_v1 |
Definition at line 143 of file fp6_2over3_gadgets.hpp.
Fp6_2over3_variable<Fp6T> libsnark::Fp6_2over3_mul_by_2345_gadget< Fp6T >::result |
Definition at line 119 of file fp6_2over3_gadgets.hpp.
std::shared_ptr<Fp3_variable<Fp3T> > libsnark::Fp6_2over3_mul_by_2345_gadget< Fp6T >::result_c1_plus_v0_plus_v1 |
Definition at line 141 of file fp6_2over3_gadgets.hpp.
pb_linear_combination<FieldT> libsnark::Fp6_2over3_mul_by_2345_gadget< Fp6T >::result_c1_plus_v0_plus_v1_c0 |
Definition at line 138 of file fp6_2over3_gadgets.hpp.
pb_linear_combination<FieldT> libsnark::Fp6_2over3_mul_by_2345_gadget< Fp6T >::result_c1_plus_v0_plus_v1_c1 |
Definition at line 139 of file fp6_2over3_gadgets.hpp.
pb_linear_combination<FieldT> libsnark::Fp6_2over3_mul_by_2345_gadget< Fp6T >::result_c1_plus_v0_plus_v1_c2 |
Definition at line 140 of file fp6_2over3_gadgets.hpp.
std::shared_ptr<Fp3_variable<Fp3T> > libsnark::Fp6_2over3_mul_by_2345_gadget< Fp6T >::v0 |
Definition at line 130 of file fp6_2over3_gadgets.hpp.
pb_linear_combination<FieldT> libsnark::Fp6_2over3_mul_by_2345_gadget< Fp6T >::v0_c0 |
Definition at line 121 of file fp6_2over3_gadgets.hpp.
pb_linear_combination<FieldT> libsnark::Fp6_2over3_mul_by_2345_gadget< Fp6T >::v0_c1 |
Definition at line 122 of file fp6_2over3_gadgets.hpp.
pb_linear_combination<FieldT> libsnark::Fp6_2over3_mul_by_2345_gadget< Fp6T >::v0_c2 |
Definition at line 123 of file fp6_2over3_gadgets.hpp.
std::shared_ptr<Fp3_variable<Fp3T> > libsnark::Fp6_2over3_mul_by_2345_gadget< Fp6T >::v1 |
Definition at line 131 of file fp6_2over3_gadgets.hpp.