Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
acir_to_constraint_buf.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
8#include "acir_format.hpp"
9#include "serde/index.hpp"
10
11namespace acir_format {
12
21WitnessVector witness_buf_to_witness_data(std::vector<uint8_t>&& buf);
22
23AcirFormat circuit_buf_to_acir_format(std::vector<uint8_t>&& buf);
24
26
28
29AcirProgramStack get_acir_program_stack(std::string const& bytecode_path, std::string const& witness_path);
30} // namespace acir_format
uint8_t const * buf
Definition data_store.hpp:9
WitnessVector witness_buf_to_witness_data(std::vector< uint8_t > &&buf)
Converts from the ACIR-native WitnessStack format to Barretenberg's internal WitnessVector format.
AcirProgramStack get_acir_program_stack(std::string const &bytecode_path, std::string const &witness_path)
std::vector< std::pair< uint32_t, WitnessVector > > WitnessVectorStack
WitnessVectorStack witness_buf_to_witness_stack(std::vector< uint8_t > &&buf)
std::vector< AcirFormat > program_buf_to_acir_format(std::vector< uint8_t > &&buf)
AcirFormat circuit_buf_to_acir_format(std::vector< uint8_t > &&buf)
bb::SlabVector< bb::fr > WitnessVector
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13