Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
constants.hpp File Reference
#include <array>
#include <cstddef>
#include <cstdint>
#include "barretenberg/aztec/aztec_constants.hpp"
#include "barretenberg/numeric/uint128/uint128.hpp"
#include "barretenberg/numeric/uint256/uint256.hpp"

Go to the source code of this file.

Namespaces

namespace  bb
 Entry point for Barretenberg command-line interface.
 
namespace  bb::avm2
 

Enumerations

enum class  bb::avm2::BitwiseOperation : uint8_t { bb::avm2::AND = AVM_BITWISE_AND_OP_ID , bb::avm2::OR = AVM_BITWISE_OR_OP_ID , bb::avm2::XOR = AVM_BITWISE_XOR_OP_ID }
 

Variables

constexpr std::size_t bb::avm2::MAX_AVM_TRACE_LOG_SIZE = 21
 
constexpr std::size_t bb::avm2::MAX_AVM_TRACE_SIZE = 1 << MAX_AVM_TRACE_LOG_SIZE
 
constexpr std::array< std::size_t, AVM_NUM_PUBLIC_INPUT_COLUMNS > bb::avm2::AVM_PUBLIC_INPUTS_COLUMN_LENGTHS
 
constexpr uint256_t bb::avm2::MASK_128 = (static_cast<uint256_t>(1) << 128) - 1
 
constexpr uint128_t bb::avm2::MASK_64 = (static_cast<uint128_t>(1) << 64) - 1