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


Public Types | |
| typedef Fp4T::my_Fp | FieldT |
| typedef Fp4T::my_Fpe | Fp2T |
Public Member Functions | |
| Fp4_sqr_gadget (protoboard< FieldT > &pb, const Fp4_variable< Fp4T > &A, const Fp4_variable< Fp4T > &result, const std::string &annotation_prefix) | |
| void | generate_r1cs_constraints () |
| void | generate_r1cs_witness () |
Public Member Functions inherited from libsnark::gadget< Fp4T::my_Fp > | |
| gadget (protoboard< Fp4T::my_Fp > &pb, const std::string &annotation_prefix) | |
Public Attributes | |
| Fp4_variable< Fp4T > | A |
| Fp4_variable< Fp4T > | result |
| std::shared_ptr< Fp2_variable< Fp2T > > | v1 |
| pb_linear_combination< FieldT > | v0_c0 |
| pb_linear_combination< FieldT > | v0_c1 |
| std::shared_ptr< Fp2_variable< Fp2T > > | v0 |
| std::shared_ptr< Fp2_sqr_gadget< Fp2T > > | compute_v0 |
| std::shared_ptr< Fp2_sqr_gadget< Fp2T > > | compute_v1 |
| pb_linear_combination< FieldT > | Ac0_plus_Ac1_c0 |
| pb_linear_combination< FieldT > | Ac0_plus_Ac1_c1 |
| std::shared_ptr< Fp2_variable< Fp2T > > | Ac0_plus_Ac1 |
| pb_linear_combination< FieldT > | result_c1_plus_v0_plus_v1_c0 |
| pb_linear_combination< FieldT > | result_c1_plus_v0_plus_v1_c1 |
| std::shared_ptr< Fp2_variable< Fp2T > > | result_c1_plus_v0_plus_v1 |
| std::shared_ptr< Fp2_sqr_gadget< Fp2T > > | compute_result_c1 |
Additional Inherited Members | |
Protected Attributes inherited from libsnark::gadget< Fp4T::my_Fp > | |
| protoboard< Fp4T::my_Fp > & | pb |
| const std::string | annotation_prefix |
Gadget that creates constraints for Fp4 squaring.
Definition at line 138 of file fp4_gadgets.hpp.
| typedef Fp4T::my_Fp libsnark::Fp4_sqr_gadget< Fp4T >::FieldT |
Definition at line 141 of file fp4_gadgets.hpp.
| typedef Fp4T::my_Fpe libsnark::Fp4_sqr_gadget< Fp4T >::Fp2T |
Definition at line 142 of file fp4_gadgets.hpp.
| libsnark::Fp4_sqr_gadget< Fp4T >::Fp4_sqr_gadget | ( | protoboard< FieldT > & | pb, |
| const Fp4_variable< Fp4T > & | A, | ||
| const Fp4_variable< Fp4T > & | result, | ||
| const std::string & | annotation_prefix | ||
| ) |
| void libsnark::Fp4_sqr_gadget< Fp4T >::generate_r1cs_constraints | ( | ) |
| void libsnark::Fp4_sqr_gadget< Fp4T >::generate_r1cs_witness | ( | ) |
| Fp4_variable<Fp4T> libsnark::Fp4_sqr_gadget< Fp4T >::A |
Definition at line 144 of file fp4_gadgets.hpp.
| std::shared_ptr<Fp2_variable<Fp2T> > libsnark::Fp4_sqr_gadget< Fp4T >::Ac0_plus_Ac1 |
Definition at line 158 of file fp4_gadgets.hpp.
| pb_linear_combination<FieldT> libsnark::Fp4_sqr_gadget< Fp4T >::Ac0_plus_Ac1_c0 |
Definition at line 156 of file fp4_gadgets.hpp.
| pb_linear_combination<FieldT> libsnark::Fp4_sqr_gadget< Fp4T >::Ac0_plus_Ac1_c1 |
Definition at line 157 of file fp4_gadgets.hpp.
| std::shared_ptr<Fp2_sqr_gadget<Fp2T> > libsnark::Fp4_sqr_gadget< Fp4T >::compute_result_c1 |
Definition at line 165 of file fp4_gadgets.hpp.
| std::shared_ptr<Fp2_sqr_gadget<Fp2T> > libsnark::Fp4_sqr_gadget< Fp4T >::compute_v0 |
Definition at line 153 of file fp4_gadgets.hpp.
| std::shared_ptr<Fp2_sqr_gadget<Fp2T> > libsnark::Fp4_sqr_gadget< Fp4T >::compute_v1 |
Definition at line 154 of file fp4_gadgets.hpp.
| Fp4_variable<Fp4T> libsnark::Fp4_sqr_gadget< Fp4T >::result |
Definition at line 145 of file fp4_gadgets.hpp.
| std::shared_ptr<Fp2_variable<Fp2T> > libsnark::Fp4_sqr_gadget< Fp4T >::result_c1_plus_v0_plus_v1 |
Definition at line 163 of file fp4_gadgets.hpp.
| pb_linear_combination<FieldT> libsnark::Fp4_sqr_gadget< Fp4T >::result_c1_plus_v0_plus_v1_c0 |
Definition at line 160 of file fp4_gadgets.hpp.
| pb_linear_combination<FieldT> libsnark::Fp4_sqr_gadget< Fp4T >::result_c1_plus_v0_plus_v1_c1 |
Definition at line 161 of file fp4_gadgets.hpp.
| std::shared_ptr<Fp2_variable<Fp2T> > libsnark::Fp4_sqr_gadget< Fp4T >::v0 |
Definition at line 151 of file fp4_gadgets.hpp.
| pb_linear_combination<FieldT> libsnark::Fp4_sqr_gadget< Fp4T >::v0_c0 |
Definition at line 149 of file fp4_gadgets.hpp.
| pb_linear_combination<FieldT> libsnark::Fp4_sqr_gadget< Fp4T >::v0_c1 |
Definition at line 150 of file fp4_gadgets.hpp.
| std::shared_ptr<Fp2_variable<Fp2T> > libsnark::Fp4_sqr_gadget< Fp4T >::v1 |
Definition at line 147 of file fp4_gadgets.hpp.
1.8.17