Clearmatics Libsnark
0.1
C++ library for zkSNARK proofs
|
#include <cstdio>
#include <libff/common/profiling.hpp>
#include <libsnark/common/default_types/bacs_ppzksnark_pp.hpp>
#include <libsnark/relations/circuit_satisfaction_problems/bacs/examples/bacs_examples.hpp>
#include <libsnark/zk_proof_systems/ppzksnark/bacs_ppzksnark/examples/run_bacs_ppzksnark.hpp>
Go to the source code of this file.
Functions | |
int | main (int argc, const char *argv[]) |
Profiling program that exercises the ppzkSNARK (first generator, then prover, then verifier) on a synthetic BACS instance.
The command
$ libsnark/zk_proof_systems/bacs_ppzksnark/profiling/profile_bacs_ppzksnark
1000 10
exercises the ppzkSNARK (first generator, then prover, then verifier) on an BACS instance with 1000 gates and an input consisting of 10 Field elements
(If you get the error zmInit ERR:can't protect
, see the discussion above.)
Definition in file profile_bacs_ppzksnark.cpp.
int main | ( | int | argc, |
const char * | argv[] | ||
) |
Definition at line 31 of file profile_bacs_ppzksnark.cpp.