|
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_cyclotomic_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 |
| pb_linear_combination< FieldT > | c0_expr_c0 |
| pb_linear_combination< FieldT > | c0_expr_c1 |
| std::shared_ptr< Fp2_variable< Fp2T > > | c0_expr |
| std::shared_ptr< Fp2_sqr_gadget< Fp2T > > | compute_c0_expr |
| pb_linear_combination< FieldT > | A_c0_plus_A_c1_c0 |
| pb_linear_combination< FieldT > | A_c0_plus_A_c1_c1 |
| std::shared_ptr< Fp2_variable< Fp2T > > | A_c0_plus_A_c1 |
| pb_linear_combination< FieldT > | c1_expr_c0 |
| pb_linear_combination< FieldT > | c1_expr_c1 |
| std::shared_ptr< Fp2_variable< Fp2T > > | c1_expr |
| std::shared_ptr< Fp2_sqr_gadget< Fp2T > > | compute_c1_expr |
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 cyclotomic squaring
Definition at line 180 of file fp4_gadgets.hpp.
| typedef Fp4T::my_Fp libsnark::Fp4_cyclotomic_sqr_gadget< Fp4T >::FieldT |
Definition at line 185 of file fp4_gadgets.hpp.
| typedef Fp4T::my_Fpe libsnark::Fp4_cyclotomic_sqr_gadget< Fp4T >::Fp2T |
Definition at line 186 of file fp4_gadgets.hpp.
| libsnark::Fp4_cyclotomic_sqr_gadget< Fp4T >::Fp4_cyclotomic_sqr_gadget | ( | protoboard< FieldT > & | pb, |
| const Fp4_variable< Fp4T > & | A, | ||
| const Fp4_variable< Fp4T > & | result, | ||
| const std::string & | annotation_prefix | ||
| ) |
| void libsnark::Fp4_cyclotomic_sqr_gadget< Fp4T >::generate_r1cs_constraints | ( | ) |
| void libsnark::Fp4_cyclotomic_sqr_gadget< Fp4T >::generate_r1cs_witness | ( | ) |
| Fp4_variable<Fp4T> libsnark::Fp4_cyclotomic_sqr_gadget< Fp4T >::A |
Definition at line 188 of file fp4_gadgets.hpp.
| std::shared_ptr<Fp2_variable<Fp2T> > libsnark::Fp4_cyclotomic_sqr_gadget< Fp4T >::A_c0_plus_A_c1 |
Definition at line 198 of file fp4_gadgets.hpp.
| pb_linear_combination<FieldT> libsnark::Fp4_cyclotomic_sqr_gadget< Fp4T >::A_c0_plus_A_c1_c0 |
Definition at line 196 of file fp4_gadgets.hpp.
| pb_linear_combination<FieldT> libsnark::Fp4_cyclotomic_sqr_gadget< Fp4T >::A_c0_plus_A_c1_c1 |
Definition at line 197 of file fp4_gadgets.hpp.
| std::shared_ptr<Fp2_variable<Fp2T> > libsnark::Fp4_cyclotomic_sqr_gadget< Fp4T >::c0_expr |
Definition at line 193 of file fp4_gadgets.hpp.
| pb_linear_combination<FieldT> libsnark::Fp4_cyclotomic_sqr_gadget< Fp4T >::c0_expr_c0 |
Definition at line 191 of file fp4_gadgets.hpp.
| pb_linear_combination<FieldT> libsnark::Fp4_cyclotomic_sqr_gadget< Fp4T >::c0_expr_c1 |
Definition at line 192 of file fp4_gadgets.hpp.
| std::shared_ptr<Fp2_variable<Fp2T> > libsnark::Fp4_cyclotomic_sqr_gadget< Fp4T >::c1_expr |
Definition at line 202 of file fp4_gadgets.hpp.
| pb_linear_combination<FieldT> libsnark::Fp4_cyclotomic_sqr_gadget< Fp4T >::c1_expr_c0 |
Definition at line 200 of file fp4_gadgets.hpp.
| pb_linear_combination<FieldT> libsnark::Fp4_cyclotomic_sqr_gadget< Fp4T >::c1_expr_c1 |
Definition at line 201 of file fp4_gadgets.hpp.
| std::shared_ptr<Fp2_sqr_gadget<Fp2T> > libsnark::Fp4_cyclotomic_sqr_gadget< Fp4T >::compute_c0_expr |
Definition at line 194 of file fp4_gadgets.hpp.
| std::shared_ptr<Fp2_sqr_gadget<Fp2T> > libsnark::Fp4_cyclotomic_sqr_gadget< Fp4T >::compute_c1_expr |
Definition at line 203 of file fp4_gadgets.hpp.
| Fp4_variable<Fp4T> libsnark::Fp4_cyclotomic_sqr_gadget< Fp4T >::result |
Definition at line 189 of file fp4_gadgets.hpp.
1.8.17