Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
plookup_tables.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 "
barretenberg/common/throw_or_abort.hpp
"
9
#include "
barretenberg/stdlib_circuit_builders/plookup_tables/types.hpp
"
10
11
namespace
bb::plookup
{
12
13
const
MultiTable&
get_multitable
(
MultiTableId
id
);
14
15
ReadData<bb::fr>
get_lookup_accumulators
(
MultiTableId
id
,
16
const
bb::fr
& key_a,
17
const
bb::fr
& key_b = 0,
18
bool
is_2_to_1_lookup =
false
);
19
20
BasicTable
create_basic_table
(
BasicTableId
id
,
size_t
index);
21
}
// namespace bb::plookup
bb::plookup
Definition
aes128.hpp:17
bb::plookup::BasicTableId
BasicTableId
Definition
types.hpp:19
bb::plookup::get_lookup_accumulators
ReadData< bb::fr > get_lookup_accumulators(const MultiTableId id, const fr &key_a, const fr &key_b, const bool is_2_to_1_lookup)
Given a table ID and the key(s) for a key-value lookup, return the lookup accumulators.
Definition
plookup_tables.cpp:173
bb::plookup::MultiTableId
MultiTableId
Definition
types.hpp:90
bb::plookup::create_basic_table
BasicTable create_basic_table(const BasicTableId id, const size_t index)
Definition
plookup_tables.cpp:258
bb::plookup::get_multitable
const MultiTable & get_multitable(const MultiTableId id)
Return the multitable with the provided ID; construct all MultiTables if not constructed already.
Definition
plookup_tables.cpp:147
types.hpp
bb::field< Bn254FrParams >
throw_or_abort.hpp
src
barretenberg
stdlib_circuit_builders
plookup_tables
plookup_tables.hpp
Generated by
1.9.8