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
11
namespace
acir_format
{
12
21
WitnessVector
witness_buf_to_witness_data
(std::vector<uint8_t>&&
buf
);
22
23
AcirFormat
circuit_buf_to_acir_format
(std::vector<uint8_t>&&
buf
);
24
25
std::vector<AcirFormat>
program_buf_to_acir_format
(std::vector<uint8_t>&&
buf
);
26
27
WitnessVectorStack
witness_buf_to_witness_stack
(std::vector<uint8_t>&&
buf
);
28
29
AcirProgramStack
get_acir_program_stack
(std::string
const
& bytecode_path, std::string
const
& witness_path);
30
}
// namespace acir_format
acir_format.hpp
buf
uint8_t const * buf
Definition
data_store.hpp:9
index.hpp
acir_format
Definition
acir_format.cpp:34
acir_format::witness_buf_to_witness_data
WitnessVector witness_buf_to_witness_data(std::vector< uint8_t > &&buf)
Converts from the ACIR-native WitnessStack format to Barretenberg's internal WitnessVector format.
Definition
acir_to_constraint_buf.cpp:1004
acir_format::get_acir_program_stack
AcirProgramStack get_acir_program_stack(std::string const &bytecode_path, std::string const &witness_path)
Definition
acir_to_constraint_buf.cpp:1039
acir_format::WitnessVectorStack
std::vector< std::pair< uint32_t, WitnessVector > > WitnessVectorStack
Definition
acir_format.hpp:167
acir_format::witness_buf_to_witness_stack
WitnessVectorStack witness_buf_to_witness_stack(std::vector< uint8_t > &&buf)
Definition
acir_to_constraint_buf.cpp:1028
acir_format::program_buf_to_acir_format
std::vector< AcirFormat > program_buf_to_acir_format(std::vector< uint8_t > &&buf)
Definition
acir_to_constraint_buf.cpp:1015
acir_format::circuit_buf_to_acir_format
AcirFormat circuit_buf_to_acir_format(std::vector< uint8_t > &&buf)
Definition
acir_to_constraint_buf.cpp:967
acir_format::WitnessVector
bb::SlabVector< bb::fr > WitnessVector
Definition
acir_format.hpp:166
std::get
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition
tuple.hpp:13
src
barretenberg
dsl
acir_format
acir_to_constraint_buf.hpp
Generated by
1.9.8