Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
api_avm.hpp
Go to the documentation of this file.
1#ifndef DISABLE_AZTEC_VM
2#include <filesystem>
3
4namespace bb {
5
15void avm_prove(const std::filesystem::path& inputs_path, const std::filesystem::path& output_path);
16
17void avm_check_circuit(const std::filesystem::path& inputs_path);
18
31// NOTE: The proof should NOT include the public inputs.
32bool avm_verify(const std::filesystem::path& proof_path,
33 const std::filesystem::path& public_inputs_path,
34 const std::filesystem::path& vk_path);
35} // namespace bb
36#endif
Entry point for Barretenberg command-line interface.
bool avm_verify(const std::filesystem::path &proof_path, const std::filesystem::path &public_inputs_path, const std::filesystem::path &vk_path)
Verifies an avm proof and writes the result to stdout.
Definition api_avm.cpp:62
void avm_prove(const std::filesystem::path &inputs_path, const std::filesystem::path &output_path)
Writes an avm proof and corresponding (incomplete) verification key to files.
Definition api_avm.cpp:27
void avm_check_circuit(const std::filesystem::path &inputs_path)
Definition api_avm.cpp:50