Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
pure_bitwise.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
barretenberg/vm2/simulation/interfaces/bitwise.hpp
"
4
5
#include "
barretenberg/vm2/common/tagged_value.hpp
"
6
7
namespace
bb::avm2::simulation
{
8
9
class
PureBitwise
:
public
BitwiseInterface
{
10
public
:
11
PureBitwise
() =
default
;
12
~PureBitwise
()
override
=
default
;
13
14
MemoryValue
and_op
(
const
MemoryValue
&
a
,
const
MemoryValue
&
b
)
override
;
15
MemoryValue
or_op
(
const
MemoryValue
&
a
,
const
MemoryValue
&
b
)
override
;
16
MemoryValue
xor_op
(
const
MemoryValue
&
a
,
const
MemoryValue
&
b
)
override
;
17
};
18
19
}
// namespace bb::avm2::simulation
bb::avm2::TaggedValue
Definition
tagged_value.hpp:70
bb::avm2::simulation::BitwiseInterface
Definition
bitwise.hpp:7
bb::avm2::simulation::PureBitwise
Definition
pure_bitwise.hpp:9
bb::avm2::simulation::PureBitwise::~PureBitwise
~PureBitwise() override=default
bb::avm2::simulation::PureBitwise::PureBitwise
PureBitwise()=default
bb::avm2::simulation::PureBitwise::xor_op
MemoryValue xor_op(const MemoryValue &a, const MemoryValue &b) override
Definition
pure_bitwise.cpp:18
bb::avm2::simulation::PureBitwise::or_op
MemoryValue or_op(const MemoryValue &a, const MemoryValue &b) override
Definition
pure_bitwise.cpp:14
bb::avm2::simulation::PureBitwise::and_op
MemoryValue and_op(const MemoryValue &a, const MemoryValue &b) override
Definition
pure_bitwise.cpp:10
a
FF a
Definition
field_gt.test.cpp:52
b
FF b
Definition
field_gt.test.cpp:53
bb::avm2::simulation
Definition
address_derivation_event.hpp:6
bitwise.hpp
tagged_value.hpp
src
barretenberg
vm2
simulation
standalone
pure_bitwise.hpp
Generated by
1.9.8