|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <mega_kernel_flavor_generated.hpp>
Classes | |
| class | AllEntities |
| class | PrecomputedEntities |
| class | WitnessEntities |
Public Types | |
| enum class | EntityId : uint16_t { q_m = 0 , q_l = 1 , q_r = 2 , q_o = 3 , q_4 = 4 , q_c = 5 , q_arith = 6 , q_bilinear_batched_eq = 7 , sigma_1 = 8 , sigma_2 = 9 , sigma_3 = 10 , sigma_4 = 11 , id_1 = 12 , id_2 = 13 , id_3 = 14 , id_4 = 15 , lagrange_first = 16 , lagrange_last = 17 , q_delta_range = 18 , q_elliptic = 19 , q_memory = 20 , lagrange_ecc_op = 21 , q_busread = 22 , kernel_calldata_indicator = 23 , databus_id = 24 , first_app_calldata_indicator = 25 , second_app_calldata_indicator = 26 , third_app_calldata_indicator = 27 , fourth_app_calldata_indicator = 28 , q_5 = 29 , fifth_app_calldata_indicator = 30 , return_data_indicator = 31 , q_poseidon2_external = 32 , q_poseidon2_external_initial = 33 , q_poseidon2_quad_internal = 34 , q_poseidon2_quad_internal_terminal = 35 , q_poseidon2_transition_entry = 36 , w_l = 37 , w_r = 38 , w_o = 39 , w_4 = 40 , z_perm = 41 , ecc_op_wire_1 = 42 , ecc_op_wire_2 = 43 , ecc_op_wire_3 = 44 , ecc_op_wire_4 = 45 , kernel_calldata = 46 , kernel_calldata_read_counts = 47 , kernel_calldata_inverses = 48 , first_app_calldata = 49 , first_app_calldata_read_counts = 50 , first_app_calldata_inverses = 51 , second_app_calldata = 52 , second_app_calldata_read_counts = 53 , second_app_calldata_inverses = 54 , third_app_calldata = 55 , third_app_calldata_read_counts = 56 , third_app_calldata_inverses = 57 , fourth_app_calldata = 58 , fourth_app_calldata_read_counts = 59 , fourth_app_calldata_inverses = 60 , fifth_app_calldata = 61 , fifth_app_calldata_read_counts = 62 , fifth_app_calldata_inverses = 63 , return_data = 64 , return_data_read_counts = 65 , return_data_inverses = 66 , w_l_shift = 67 , w_r_shift = 68 , w_o_shift = 69 , w_4_shift = 70 , z_perm_shift = 71 } |
| template<typename FF > | |
| using | Relations_ = std::tuple< bb::ArithmeticRelation< FF >, bb::BilinearOrBatchedEqCheckRelation< FF >, bb::UltraPermutationRelation< FF >, bb::DeltaRangeConstraintRelation< FF >, bb::EllipticRelation< FF >, bb::MemoryRelation< FF >, bb::EccOpQueueRelation< FF >, bb::SingleBusLookupRelation< FF, EntityId::kernel_calldata, EntityId::kernel_calldata_read_counts, EntityId::kernel_calldata_inverses, EntityId::kernel_calldata_indicator, EntityId::q_l >, bb::SingleBusLookupRelation< FF, EntityId::first_app_calldata, EntityId::first_app_calldata_read_counts, EntityId::first_app_calldata_inverses, EntityId::first_app_calldata_indicator, EntityId::q_r >, bb::SingleBusLookupRelation< FF, EntityId::second_app_calldata, EntityId::second_app_calldata_read_counts, EntityId::second_app_calldata_inverses, EntityId::second_app_calldata_indicator, EntityId::q_o >, bb::SingleBusLookupRelation< FF, EntityId::third_app_calldata, EntityId::third_app_calldata_read_counts, EntityId::third_app_calldata_inverses, EntityId::third_app_calldata_indicator, EntityId::q_4 >, bb::SingleBusLookupRelation< FF, EntityId::fourth_app_calldata, EntityId::fourth_app_calldata_read_counts, EntityId::fourth_app_calldata_inverses, EntityId::fourth_app_calldata_indicator, EntityId::q_5 >, bb::SingleBusLookupRelation< FF, EntityId::fifth_app_calldata, EntityId::fifth_app_calldata_read_counts, EntityId::fifth_app_calldata_inverses, EntityId::fifth_app_calldata_indicator, EntityId::q_c >, bb::SingleBusLookupRelation< FF, EntityId::return_data, EntityId::return_data_read_counts, EntityId::return_data_inverses, EntityId::return_data_indicator, EntityId::q_m >, bb::Poseidon2ExternalRelation< FF >, bb::Poseidon2InitialExternalRelation< FF >, bb::Poseidon2QuadInternalRelation< FF >, bb::Poseidon2QuadInternalTerminalRelation< FF >, bb::Poseidon2TransitionEntryRelation< FF > > |
Static Public Member Functions | |
| template<typename TraceBlocks > | |
| static auto | get_gate_blocks (TraceBlocks &blocks) |
| template<typename TraceBlocks > | |
| static auto | get_gate_blocks (TraceBlocks const &blocks) |
| template<typename TraceBlock > | |
| static auto | get_block_non_gate_selectors (TraceBlock &block) |
Static Public Attributes | |
| static constexpr size_t | NUM_PRECOMPUTED_ENTITIES = 37 |
| static constexpr size_t | NUM_WITNESS_ENTITIES = 30 |
| static constexpr size_t | NUM_MASKING_ENTITIES = 0 |
| static constexpr size_t | NUM_SHIFTED_ENTITIES = 5 |
| static constexpr bool | HasDataBus = true |
| static constexpr size_t | NUM_BUS_COLUMNS = 7 |
| static constexpr std::array< size_t, NUM_BUS_COLUMNS > | BUILDER_BUS_INDICES = { 0, 1, 2, 3, 4, 5, 6 } |
| static constexpr bool | HasLogDerivLookup = false |
| static constexpr bool | HasElliptic = true |
| static constexpr bool | HasMemory = true |
| static constexpr bool | HasNonNativeField = false |
| static constexpr bool | HasEccOpQueue = true |
| static constexpr size_t | NUM_COMMITTED_WITNESS_ENTITIES = NUM_WITNESS_ENTITIES + NUM_MASKING_ENTITIES |
| static constexpr size_t | NUM_UNSHIFTED_ENTITIES = NUM_PRECOMPUTED_ENTITIES + NUM_COMMITTED_WITNESS_ENTITIES |
| static constexpr size_t | NUM_ALL_ENTITIES = NUM_UNSHIFTED_ENTITIES + NUM_SHIFTED_ENTITIES |
| static constexpr std::array< DuplicatePair, NUM_SHIFTED_ENTITIES > | REPEATED_COMMITMENT_PAIRS |
| static constexpr RepeatedCommitmentsData | REPEATED_COMMITMENTS |
| static constexpr std::array< GateKind, 11 > | GATE_KINDS |
Definition at line 35 of file mega_kernel_flavor_generated.hpp.
| using bb::MegaKernelFlavor_Generated::Relations_ = std::tuple<bb::ArithmeticRelation<FF>, bb::BilinearOrBatchedEqCheckRelation<FF>, bb::UltraPermutationRelation<FF>, bb::DeltaRangeConstraintRelation<FF>, bb::EllipticRelation<FF>, bb::MemoryRelation<FF>, bb::EccOpQueueRelation<FF>, bb::SingleBusLookupRelation<FF, EntityId::kernel_calldata, EntityId::kernel_calldata_read_counts, EntityId::kernel_calldata_inverses, EntityId::kernel_calldata_indicator, EntityId::q_l>, bb::SingleBusLookupRelation<FF, EntityId::first_app_calldata, EntityId::first_app_calldata_read_counts, EntityId::first_app_calldata_inverses, EntityId::first_app_calldata_indicator, EntityId::q_r>, bb::SingleBusLookupRelation<FF, EntityId::second_app_calldata, EntityId::second_app_calldata_read_counts, EntityId::second_app_calldata_inverses, EntityId::second_app_calldata_indicator, EntityId::q_o>, bb::SingleBusLookupRelation<FF, EntityId::third_app_calldata, EntityId::third_app_calldata_read_counts, EntityId::third_app_calldata_inverses, EntityId::third_app_calldata_indicator, EntityId::q_4>, bb::SingleBusLookupRelation<FF, EntityId::fourth_app_calldata, EntityId::fourth_app_calldata_read_counts, EntityId::fourth_app_calldata_inverses, EntityId::fourth_app_calldata_indicator, EntityId::q_5>, bb::SingleBusLookupRelation<FF, EntityId::fifth_app_calldata, EntityId::fifth_app_calldata_read_counts, EntityId::fifth_app_calldata_inverses, EntityId::fifth_app_calldata_indicator, EntityId::q_c>, bb::SingleBusLookupRelation<FF, EntityId::return_data, EntityId::return_data_read_counts, EntityId::return_data_inverses, EntityId::return_data_indicator, EntityId::q_m>, bb::Poseidon2ExternalRelation<FF>, bb::Poseidon2InitialExternalRelation<FF>, bb::Poseidon2QuadInternalRelation<FF>, bb::Poseidon2QuadInternalTerminalRelation<FF>, bb::Poseidon2TransitionEntryRelation<FF> > |
Definition at line 116 of file mega_kernel_flavor_generated.hpp.
|
strong |
Definition at line 38 of file mega_kernel_flavor_generated.hpp.
|
inlinestatic |
Definition at line 249 of file mega_kernel_flavor_generated.hpp.
|
inlinestatic |
Definition at line 197 of file mega_kernel_flavor_generated.hpp.
|
inlinestatic |
Definition at line 215 of file mega_kernel_flavor_generated.hpp.
|
staticconstexpr |
Definition at line 177 of file mega_kernel_flavor_generated.hpp.
|
staticconstexpr |
Definition at line 234 of file mega_kernel_flavor_generated.hpp.
|
staticconstexpr |
Definition at line 175 of file mega_kernel_flavor_generated.hpp.
|
staticconstexpr |
Definition at line 182 of file mega_kernel_flavor_generated.hpp.
|
staticconstexpr |
Definition at line 179 of file mega_kernel_flavor_generated.hpp.
|
staticconstexpr |
Definition at line 178 of file mega_kernel_flavor_generated.hpp.
|
staticconstexpr |
Definition at line 180 of file mega_kernel_flavor_generated.hpp.
|
staticconstexpr |
Definition at line 181 of file mega_kernel_flavor_generated.hpp.
|
staticconstexpr |
Definition at line 185 of file mega_kernel_flavor_generated.hpp.
|
staticconstexpr |
Definition at line 176 of file mega_kernel_flavor_generated.hpp.
|
staticconstexpr |
Definition at line 183 of file mega_kernel_flavor_generated.hpp.
|
staticconstexpr |
Definition at line 173 of file mega_kernel_flavor_generated.hpp.
|
staticconstexpr |
Definition at line 171 of file mega_kernel_flavor_generated.hpp.
|
staticconstexpr |
Definition at line 174 of file mega_kernel_flavor_generated.hpp.
|
staticconstexpr |
Definition at line 184 of file mega_kernel_flavor_generated.hpp.
|
staticconstexpr |
Definition at line 172 of file mega_kernel_flavor_generated.hpp.
|
staticconstexpr |
Definition at line 189 of file mega_kernel_flavor_generated.hpp.
|
staticconstexpr |
Definition at line 193 of file mega_kernel_flavor_generated.hpp.