Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
constants.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <cstdint>
4
5
#include "
barretenberg/vm2/common/aztec_constants.hpp
"
6
7
namespace
bb::avm2
{
8
9
constexpr
size_t
MAX_AVM_TRACE_LOG_SIZE
= 21;
10
constexpr
size_t
MAX_AVM_TRACE_SIZE
= 1 <<
MAX_AVM_TRACE_LOG_SIZE
;
11
12
// Also used for op_id in the circuit trace
13
enum class
BitwiseOperation
: uint8_t {
14
AND
=
AVM_BITWISE_AND_OP_ID
,
15
OR
=
AVM_BITWISE_OR_OP_ID
,
16
XOR
=
AVM_BITWISE_XOR_OP_ID
,
17
};
18
19
}
// namespace bb::avm2
aztec_constants.hpp
AVM_BITWISE_AND_OP_ID
#define AVM_BITWISE_AND_OP_ID
Definition
aztec_constants.hpp:42
AVM_BITWISE_OR_OP_ID
#define AVM_BITWISE_OR_OP_ID
Definition
aztec_constants.hpp:43
AVM_BITWISE_XOR_OP_ID
#define AVM_BITWISE_XOR_OP_ID
Definition
aztec_constants.hpp:44
bb::avm2
Definition
flavor.hpp:472
bb::avm2::MAX_AVM_TRACE_LOG_SIZE
constexpr size_t MAX_AVM_TRACE_LOG_SIZE
Definition
constants.hpp:9
bb::avm2::MAX_AVM_TRACE_SIZE
constexpr size_t MAX_AVM_TRACE_SIZE
Definition
constants.hpp:10
bb::avm2::BitwiseOperation
BitwiseOperation
Definition
constants.hpp:13
bb::avm2::BitwiseOperation::OR
@ OR
bb::avm2::BitwiseOperation::AND
@ AND
bb::avm2::BitwiseOperation::XOR
@ XOR
src
barretenberg
vm2
common
constants.hpp
Generated by
1.9.8