Clearmatics Libsnark
0.1
C++ library for zkSNARK proofs
|
#include <libsnark/gadgetlib1/gadget.hpp>
#include <libsnark/gadgetlib1/gadgets/fields/fp2_gadgets.hpp>
#include <libsnark/gadgetlib1/gadgets/fields/fp4_gadgets.tcc>
Go to the source code of this file.
Namespaces | |
libsnark | |
Typedefs | |
template<typename Fp4T > | |
using | libsnark::Fp4_mul_gadget = Fp4_direct_mul_gadget< Fp4T > |
Declaration of interfaces for Fp4 gadgets.
The gadgets verify field arithmetic in Fp4 = Fp2[V]/(V^2-U) where Fp2 = Fp[U]/(U^2-non_residue) and non_residue is in Fp.
Definition in file fp4_gadgets.hpp.