Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
perms_bc_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_BC_HASHING_GET_PACKED_FIELD_0";
18 static constexpr std::string_view RELATION_NAME = "bc_hashing";
19 static constexpr size_t COLUMNS_PER_SET = 3;
20 static constexpr Column SRC_SELECTOR = Column::bc_hashing_sel_not_start;
21 static constexpr Column DST_SELECTOR = Column::bc_decomposition_sel_packed_read_0_;
22 static constexpr Column INVERSES = Column::perm_bc_hashing_get_packed_field_0_inv;
23 static constexpr std::array<ColumnAndShifts, COLUMNS_PER_SET> SRC_COLUMNS = {
24 ColumnAndShifts::bc_hashing_pc_index,
25 ColumnAndShifts::bc_hashing_bytecode_id,
26 ColumnAndShifts::bc_hashing_packed_fields_0
27 };
28 static constexpr std::array<ColumnAndShifts, COLUMNS_PER_SET> DST_COLUMNS = {
29 ColumnAndShifts::bc_decomposition_pc,
30 ColumnAndShifts::bc_decomposition_id,
31 ColumnAndShifts::bc_decomposition_packed_field
32 };
33};
34
36template <typename FF_>
39
41
43 static constexpr std::string_view NAME = "PERM_BC_HASHING_GET_PACKED_FIELD_1";
44 static constexpr std::string_view RELATION_NAME = "bc_hashing";
45 static constexpr size_t COLUMNS_PER_SET = 3;
46 static constexpr Column SRC_SELECTOR = Column::bc_hashing_sel_not_padding_1;
47 static constexpr Column DST_SELECTOR = Column::bc_decomposition_sel_packed_read_1_;
48 static constexpr Column INVERSES = Column::perm_bc_hashing_get_packed_field_1_inv;
49 static constexpr std::array<ColumnAndShifts, COLUMNS_PER_SET> SRC_COLUMNS = {
50 ColumnAndShifts::bc_hashing_pc_index_1,
51 ColumnAndShifts::bc_hashing_bytecode_id,
52 ColumnAndShifts::bc_hashing_packed_fields_1
53 };
54 static constexpr std::array<ColumnAndShifts, COLUMNS_PER_SET> DST_COLUMNS = {
55 ColumnAndShifts::bc_decomposition_pc,
56 ColumnAndShifts::bc_decomposition_id,
57 ColumnAndShifts::bc_decomposition_packed_field
58 };
59};
60
62template <typename FF_>
65
67
69 static constexpr std::string_view NAME = "PERM_BC_HASHING_GET_PACKED_FIELD_2";
70 static constexpr std::string_view RELATION_NAME = "bc_hashing";
71 static constexpr size_t COLUMNS_PER_SET = 3;
72 static constexpr Column SRC_SELECTOR = Column::bc_hashing_sel_not_padding_2;
73 static constexpr Column DST_SELECTOR = Column::bc_decomposition_sel_packed_read_2_;
74 static constexpr Column INVERSES = Column::perm_bc_hashing_get_packed_field_2_inv;
75 static constexpr std::array<ColumnAndShifts, COLUMNS_PER_SET> SRC_COLUMNS = {
76 ColumnAndShifts::bc_hashing_pc_index_2,
77 ColumnAndShifts::bc_hashing_bytecode_id,
78 ColumnAndShifts::bc_hashing_packed_fields_2
79 };
80 static constexpr std::array<ColumnAndShifts, COLUMNS_PER_SET> DST_COLUMNS = {
81 ColumnAndShifts::bc_decomposition_pc,
82 ColumnAndShifts::bc_decomposition_id,
83 ColumnAndShifts::bc_decomposition_packed_field
84 };
85};
86
88template <typename FF_>
91
92} // namespace bb::avm2
This file contains the template for the generic permutation that can be specialized to enforce variou...
static constexpr std::array< ColumnAndShifts, COLUMNS_PER_SET > SRC_COLUMNS
static constexpr std::array< ColumnAndShifts, COLUMNS_PER_SET > DST_COLUMNS
static constexpr std::array< ColumnAndShifts, COLUMNS_PER_SET > SRC_COLUMNS
static constexpr std::array< ColumnAndShifts, COLUMNS_PER_SET > DST_COLUMNS
static constexpr std::array< ColumnAndShifts, COLUMNS_PER_SET > SRC_COLUMNS
static constexpr std::array< ColumnAndShifts, COLUMNS_PER_SET > DST_COLUMNS