Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
honk_proof_gen.cpp File Reference

Go to the source code of this file.

Functions

template<typename Circuit , typename Flavor >
void generate_proof (uint256_t inputs[])
 
std::string pad_left (std::string input, size_t length)
 
int main (int argc, char **argv)
 Main entry point for the proof generator. Expected inputs:
 

Function Documentation

◆ generate_proof()

template<typename Circuit , typename Flavor >
void generate_proof ( uint256_t  inputs[])

Definition at line 22 of file honk_proof_gen.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Main entry point for the proof generator. Expected inputs:

  1. flavor: ultra_keccak
  2. circuit_type: blake, add2
  3. srs_path: path to the srs db
  4. public_inputs: comma separated list of public inputs

Definition at line 68 of file honk_proof_gen.cpp.

◆ pad_left()

std::string pad_left ( std::string  input,
size_t  length 
)

Definition at line 55 of file honk_proof_gen.cpp.