Clearmatics Libsnark
0.1
C++ library for zkSNARK proofs
libsnark
gadgetlib1
examples
simple_example.hpp
Go to the documentation of this file.
1
8
#ifndef SIMPLE_EXAMPLE_HPP_
9
#define SIMPLE_EXAMPLE_HPP_
10
11
#include <
libsnark/relations/constraint_satisfaction_problems/r1cs/examples/r1cs_examples.hpp
>
12
13
namespace
libsnark
14
{
15
16
template
<
typename
FieldT>
17
r1cs_example<FieldT>
gen_r1cs_example_from_protoboard
(
18
const
size_t
num_constraints,
const
size_t
num_inputs);
19
20
}
// namespace libsnark
21
22
#include <
libsnark/gadgetlib1/examples/simple_example.tcc
>
23
24
#endif // SIMPLE_EXAMPLE_HPP_
libsnark
Definition:
accumulation_vector.hpp:18
simple_example.tcc
r1cs_examples.hpp
libsnark::gen_r1cs_example_from_protoboard
r1cs_example< FieldT > gen_r1cs_example_from_protoboard(const size_t num_constraints, const size_t num_inputs)
Generated on Wed Jan 25 2023 11:05:57 for Clearmatics Libsnark by
1.8.17