Clearmatics Libsnark
0.1
C++ library for zkSNARK proofs
|
#include <cstdio>
#include <libff/common/profiling.hpp>
#include <libff/common/utils.hpp>
#include <libsnark/common/default_types/tbcs_ppzksnark_pp.hpp>
#include <libsnark/relations/circuit_satisfaction_problems/tbcs/examples/tbcs_examples.hpp>
#include <libsnark/zk_proof_systems/ppzksnark/tbcs_ppzksnark/examples/run_tbcs_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 TBCS instance.
The command
$ libsnark/tbcs_ppzksnark/examples/profile_tbcs_ppzksnark 1000 10
exercises the ppzkSNARK (first generator, then prover, then verifier) on an TBCS instance with 1000 gates and an input consisting of 10 bits.
Definition in file profile_tbcs_ppzksnark.cpp.
int main | ( | int | argc, |
const char * | argv[] | ||
) |