Clearmatics Libsnark
0.1
C++ library for zkSNARK proofs
|
#include <climits>
#include <iostream>
#include <libsnark/gadgetlib2/infrastructure.hpp>
#include <libsnark/gadgetlib2/pp.hpp>
#include <libsnark/gadgetlib2/variable.hpp>
#include <set>
#include <stdexcept>
#include <vector>
Go to the source code of this file.
Namespaces | |
gadgetlib2 | |
Functions | |
bool | gadgetlib2::fieldMustBePromotedForArithmetic (const FieldType &lhsField, const FieldType &rhsField) |
FElem | gadgetlib2::power (const FElem &base, long exponent) |
LinearCombination | gadgetlib2::sum (const VariableArray &inputs) |
LinearCombination | gadgetlib2::negate (const LinearCombination &lc) |
Implementation of the low level objects needed for field arithmetization.
Definition in file variable.cpp.