Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::avm2::calldata_hashing< FF > Class Template Reference

#include <calldata_hashing.hpp>

Inheritance diagram for bb::avm2::calldata_hashing< FF >:
bb::Relation< calldata_hashingImpl< FF > > bb::avm2::calldata_hashingImpl< FF >

Static Public Member Functions

static std::string get_subrelation_label (size_t index)
 
- Static Public Member Functions inherited from bb::avm2::calldata_hashingImpl< FF >
static bool skip (const AllEntities &in)
 
static void accumulate (ContainerOverSubrelations &evals, const AllEntities &in, const RelationParameters< FF > &, const FF &scaling_factor)
 

Static Public Attributes

static constexpr const std::string_view NAME = "calldata_hashing"
 
static constexpr size_t SR_TRACE_CONTINUITY = 0
 
static constexpr size_t SR_SEL_TOGGLED_AT_LATCH = 2
 
static constexpr size_t SR_ID_CONSISTENCY = 3
 
static constexpr size_t SR_SIZE_CONSISTENCY = 4
 
static constexpr size_t SR_START_AFTER_LATCH = 7
 
static constexpr size_t SR_START_INDEX_IS_ZERO = 8
 
static constexpr size_t SR_START_IS_SEPARATOR = 9
 
static constexpr size_t SR_INDEX_INCREMENTS = 10
 
static constexpr size_t SR_INDEX_INCREMENTS_1 = 11
 
static constexpr size_t SR_INDEX_INCREMENTS_2 = 12
 
static constexpr size_t SR_PADDED_BY_ZERO_1 = 15
 
static constexpr size_t SR_PADDED_BY_ZERO_2 = 16
 
static constexpr size_t SR_PADDING_CONSISTENCY = 17
 
static constexpr size_t SR_PADDING_END = 18
 
static constexpr size_t SR_CHECK_FINAL_INDEX = 19
 
static constexpr size_t SR_HASH_CONSISTENCY = 20
 
static constexpr size_t SR_CALLDATA_HASH_INPUT_LENGTH_FIELDS = 21
 
static constexpr size_t SR_ROUNDS_DECREMENT = 22
 
- Static Public Attributes inherited from bb::Relation< calldata_hashingImpl< FF > >
static constexpr std::array< size_t, RelationImpl::SUBRELATION_PARTIAL_LENGTHS.size()> SUBRELATION_TOTAL_LENGTHS
 
static constexpr size_t RELATION_LENGTH
 
static constexpr size_t TOTAL_RELATION_LENGTH
 
- Static Public Attributes inherited from bb::avm2::calldata_hashingImpl< FF >
static constexpr std::array< size_t, 23 > SUBRELATION_PARTIAL_LENGTHS
 

Additional Inherited Members

- Public Types inherited from bb::Relation< calldata_hashingImpl< FF > >
using FF = typename RelationImpl::FF
 
using ProtogalaxyTupleOfUnivariatesOverSubrelationsNoOptimisticSkipping = TupleOfUnivariates< FF, compute_composed_subrelation_partial_lengths< NUM_INSTANCES >(SUBRELATION_TOTAL_LENGTHS)>
 
using ProtogalaxyTupleOfUnivariatesOverSubrelations = TupleOfUnivariatesWithOptimisticSkipping< FF, compute_composed_subrelation_partial_lengths< NUM_INSTANCES >(SUBRELATION_TOTAL_LENGTHS), NUM_INSTANCES - 1 >
 
using SumcheckTupleOfUnivariatesOverSubrelations = TupleOfUnivariates< FF, RelationImpl::SUBRELATION_PARTIAL_LENGTHS >
 
using SumcheckArrayOfValuesOverSubrelations = ArrayOfValues< FF, RelationImpl::SUBRELATION_PARTIAL_LENGTHS >
 
using UnivariateAccumulator0 = std::tuple_element_t< 0, SumcheckTupleOfUnivariatesOverSubrelations >
 
using ValueAccumulator0 = std::tuple_element_t< 0, SumcheckArrayOfValuesOverSubrelations >
 
- Public Types inherited from bb::avm2::calldata_hashingImpl< FF >
using FF = FF
 

Detailed Description

template<typename FF>
class bb::avm2::calldata_hashing< FF >

Definition at line 34 of file calldata_hashing.hpp.

Member Function Documentation

◆ get_subrelation_label()

template<typename FF >
static std::string bb::avm2::calldata_hashing< FF >::get_subrelation_label ( size_t  index)
inlinestatic

Definition at line 58 of file calldata_hashing.hpp.

Member Data Documentation

◆ NAME

template<typename FF >
constexpr const std::string_view bb::avm2::calldata_hashing< FF >::NAME = "calldata_hashing"
staticconstexpr

Definition at line 36 of file calldata_hashing.hpp.

◆ SR_CALLDATA_HASH_INPUT_LENGTH_FIELDS

template<typename FF >
constexpr size_t bb::avm2::calldata_hashing< FF >::SR_CALLDATA_HASH_INPUT_LENGTH_FIELDS = 21
staticconstexpr

Definition at line 55 of file calldata_hashing.hpp.

◆ SR_CHECK_FINAL_INDEX

template<typename FF >
constexpr size_t bb::avm2::calldata_hashing< FF >::SR_CHECK_FINAL_INDEX = 19
staticconstexpr

Definition at line 53 of file calldata_hashing.hpp.

◆ SR_HASH_CONSISTENCY

template<typename FF >
constexpr size_t bb::avm2::calldata_hashing< FF >::SR_HASH_CONSISTENCY = 20
staticconstexpr

Definition at line 54 of file calldata_hashing.hpp.

◆ SR_ID_CONSISTENCY

template<typename FF >
constexpr size_t bb::avm2::calldata_hashing< FF >::SR_ID_CONSISTENCY = 3
staticconstexpr

Definition at line 41 of file calldata_hashing.hpp.

◆ SR_INDEX_INCREMENTS

template<typename FF >
constexpr size_t bb::avm2::calldata_hashing< FF >::SR_INDEX_INCREMENTS = 10
staticconstexpr

Definition at line 46 of file calldata_hashing.hpp.

◆ SR_INDEX_INCREMENTS_1

template<typename FF >
constexpr size_t bb::avm2::calldata_hashing< FF >::SR_INDEX_INCREMENTS_1 = 11
staticconstexpr

Definition at line 47 of file calldata_hashing.hpp.

◆ SR_INDEX_INCREMENTS_2

template<typename FF >
constexpr size_t bb::avm2::calldata_hashing< FF >::SR_INDEX_INCREMENTS_2 = 12
staticconstexpr

Definition at line 48 of file calldata_hashing.hpp.

◆ SR_PADDED_BY_ZERO_1

template<typename FF >
constexpr size_t bb::avm2::calldata_hashing< FF >::SR_PADDED_BY_ZERO_1 = 15
staticconstexpr

Definition at line 49 of file calldata_hashing.hpp.

◆ SR_PADDED_BY_ZERO_2

template<typename FF >
constexpr size_t bb::avm2::calldata_hashing< FF >::SR_PADDED_BY_ZERO_2 = 16
staticconstexpr

Definition at line 50 of file calldata_hashing.hpp.

◆ SR_PADDING_CONSISTENCY

template<typename FF >
constexpr size_t bb::avm2::calldata_hashing< FF >::SR_PADDING_CONSISTENCY = 17
staticconstexpr

Definition at line 51 of file calldata_hashing.hpp.

◆ SR_PADDING_END

template<typename FF >
constexpr size_t bb::avm2::calldata_hashing< FF >::SR_PADDING_END = 18
staticconstexpr

Definition at line 52 of file calldata_hashing.hpp.

◆ SR_ROUNDS_DECREMENT

template<typename FF >
constexpr size_t bb::avm2::calldata_hashing< FF >::SR_ROUNDS_DECREMENT = 22
staticconstexpr

Definition at line 56 of file calldata_hashing.hpp.

◆ SR_SEL_TOGGLED_AT_LATCH

template<typename FF >
constexpr size_t bb::avm2::calldata_hashing< FF >::SR_SEL_TOGGLED_AT_LATCH = 2
staticconstexpr

Definition at line 40 of file calldata_hashing.hpp.

◆ SR_SIZE_CONSISTENCY

template<typename FF >
constexpr size_t bb::avm2::calldata_hashing< FF >::SR_SIZE_CONSISTENCY = 4
staticconstexpr

Definition at line 42 of file calldata_hashing.hpp.

◆ SR_START_AFTER_LATCH

template<typename FF >
constexpr size_t bb::avm2::calldata_hashing< FF >::SR_START_AFTER_LATCH = 7
staticconstexpr

Definition at line 43 of file calldata_hashing.hpp.

◆ SR_START_INDEX_IS_ZERO

template<typename FF >
constexpr size_t bb::avm2::calldata_hashing< FF >::SR_START_INDEX_IS_ZERO = 8
staticconstexpr

Definition at line 44 of file calldata_hashing.hpp.

◆ SR_START_IS_SEPARATOR

template<typename FF >
constexpr size_t bb::avm2::calldata_hashing< FF >::SR_START_IS_SEPARATOR = 9
staticconstexpr

Definition at line 45 of file calldata_hashing.hpp.

◆ SR_TRACE_CONTINUITY

template<typename FF >
constexpr size_t bb::avm2::calldata_hashing< FF >::SR_TRACE_CONTINUITY = 0
staticconstexpr

Definition at line 39 of file calldata_hashing.hpp.


The documentation for this class was generated from the following file: