Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
perms_calldata_hashing.hpp
Go to the documentation of this file.
1// AUTOGENERATED FILE
2#pragma once
3
4#include <cstddef>
5#include <string_view>
6#include <tuple>
7
8#include "../columns.hpp"
11
12namespace bb::avm2 {
13
15
17 static constexpr std::string_view NAME = "PERM_CALLDATA_HASHING_CHECK_FINAL_SIZE";
18 static constexpr std::string_view RELATION_NAME = "calldata_hashing";
19 static constexpr size_t COLUMNS_PER_SET = 2;
20 static constexpr Column SRC_SELECTOR = Column::calldata_hashing_sel_end_not_empty;
21 static constexpr Column DST_SELECTOR = Column::calldata_end;
22 static constexpr Column INVERSES = Column::perm_calldata_hashing_check_final_size_inv;
23 static constexpr std::array<ColumnAndShifts, COLUMNS_PER_SET> SRC_COLUMNS = {
24 ColumnAndShifts::calldata_hashing_calldata_size, ColumnAndShifts::calldata_hashing_context_id
25 };
26 static constexpr std::array<ColumnAndShifts, COLUMNS_PER_SET> DST_COLUMNS = {
27 ColumnAndShifts::calldata_index, ColumnAndShifts::calldata_context_id
28 };
29};
30
33template <typename FF_>
36
37} // namespace bb::avm2
static constexpr std::array< ColumnAndShifts, COLUMNS_PER_SET > DST_COLUMNS
static constexpr std::array< ColumnAndShifts, COLUMNS_PER_SET > SRC_COLUMNS