Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <api_ultra_honk.hpp>
Public Member Functions | |
bool | check (const Flags &flags, const std::filesystem::path &bytecode_path, const std::filesystem::path &witness_path) override |
void | prove (const Flags &flags, const std::filesystem::path &bytecode_path, const std::filesystem::path &witness_path, const std::filesystem::path &vk_path, const std::filesystem::path &output_dir) |
bool | verify (const Flags &flags, const std::filesystem::path &public_inputs_path, const std::filesystem::path &proof_path, const std::filesystem::path &vk_path) override |
bool | prove_and_verify (const Flags &flags, const std::filesystem::path &bytecode_path, const std::filesystem::path &witness_path) |
void | write_vk (const Flags &flags, const std::filesystem::path &bytecode_path, const std::filesystem::path &output_path) override |
void | gates (const Flags &flags, const std::filesystem::path &bytecode_path) override |
void | write_solidity_verifier (const Flags &flags, const std::filesystem::path &output_path, const std::filesystem::path &vk_path) override |
Definition at line 12 of file api_ultra_honk.hpp.
|
overridevirtual |
Implements bb::API.
Definition at line 75 of file api_ultra_honk.cpp.
|
overridevirtual |
Implements bb::API.
Definition at line 178 of file api_ultra_honk.cpp.
void bb::UltraHonkAPI::prove | ( | const Flags & | flags, |
const std::filesystem::path & | bytecode_path, | ||
const std::filesystem::path & | witness_path, | ||
const std::filesystem::path & | vk_path, | ||
const std::filesystem::path & | output_dir | ||
) |
Definition at line 83 of file api_ultra_honk.cpp.
bool bb::UltraHonkAPI::prove_and_verify | ( | const Flags & | flags, |
const std::filesystem::path & | bytecode_path, | ||
const std::filesystem::path & | witness_path | ||
) |
Definition at line 144 of file api_ultra_honk.cpp.
|
overridevirtual |
Implements bb::API.
Definition at line 119 of file api_ultra_honk.cpp.
|
overridevirtual |
Implements bb::API.
Definition at line 229 of file api_ultra_honk.cpp.
|
overridevirtual |
Implements bb::API.
Definition at line 152 of file api_ultra_honk.cpp.