Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
mock_verifier_inputs.hpp
Go to the documentation of this file.
1// === AUDIT STATUS ===
2// internal: { status: not started, auditors: [], date: YYYY-MM-DD }
3// external_1: { status: not started, auditors: [], date: YYYY-MM-DD }
4// external_2: { status: not started, auditors: [], date: YYYY-MM-DD }
5// =====================
6
7#pragma once
13#include <vector>
14
15namespace acir_format {
16
17template <typename Flavor, class PublicInputs>
18bb::HonkProof create_mock_oink_proof(const size_t inner_public_inputs_size = 0);
19template <typename Flavor> bb::HonkProof create_mock_decider_proof();
20template <typename Flavor, class PublicInputs>
21bb::HonkProof create_mock_honk_proof(const size_t inner_public_inputs_size = 0);
22template <typename Flavor> bb::HonkProof create_mock_pcs_proof();
23template <typename Flavor, class PublicInputs> bb::HonkProof create_mock_pg_proof();
24template <typename Flavor, class PublicInputs> bb::HonkProof create_mock_hyper_nova_proof(bool include_fold = false);
29template <typename Builder> bb::HonkProof create_mock_civc_proof(const size_t inner_public_inputs_size = 0);
30template <typename Flavor>
32 size_t num_inner_public_inputs);
33
34template <typename Flavor, class PublicInputs>
36 const size_t pub_inputs_offset,
37 const size_t inner_public_inputs_size = 0);
39
40} // namespace acir_format
MergeProver::MergeProof MergeProof
Definition goblin.hpp:36
std::shared_ptr< typename Flavor::VerificationKey > create_mock_honk_vk(const size_t dyadic_size, const size_t pub_inputs_offset, const size_t inner_public_inputs_size)
Create a mock MegaHonk VK that has the correct structure.
HonkProof create_mock_pg_proof()
Create a mock PG proof that has the correct structure but is not in general valid.
HonkProof create_mock_oink_proof(const size_t inner_public_inputs_size)
Create a mock oink proof that has the correct structure but is not in general valid.
Goblin::MergeProof create_mock_merge_proof()
Create a mock merge proof which has the correct structure but is not necessarily valid.
HonkProof create_mock_translator_proof()
Create a mock translator proof which has the correct structure but is not necessarily valid.
HonkProof create_mock_civc_proof(const size_t inner_public_inputs_size)
std::pair< HonkProof, std::shared_ptr< typename Flavor::VerificationKey > > construct_honk_proof_for_simple_circuit(size_t num_inner_public_inputs)
Create a verifiable honk proof for a circuit with a single big add gate. Adds random public inputs to...
std::shared_ptr< VerifierInstance_< Flavor > > create_mock_verifier_instance()
Create a mock instance for initilization of a mock verifier accumulator.
HonkProof create_mock_pre_ipa_proof()
Create a mock pre-ipa proof which has the correct structure but is not necessarily valid.
HonkProof create_mock_hyper_nova_proof(bool include_fold)
HonkProof create_mock_decider_proof()
Create a mock decider proof that has the correct structure but is not in general valid.
HonkProof create_mock_pcs_proof()
HonkProof create_mock_honk_proof(const size_t inner_public_inputs_size)
Create a mock honk proof that has the correct structure but is not in general valid.
HonkProof create_mock_ipa_proof()
Create a mock ipa proof which has the correct structure but is not necessarily valid.
std::vector< fr > HonkProof
Definition proof.hpp:15
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13