Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bitwise.hpp
Go to the documentation of this file.
1#pragma once
2
4
5namespace bb::avm2::simulation {
6
8 public:
9 virtual ~BitwiseInterface() = default;
10 virtual MemoryValue and_op(const MemoryValue& a, const MemoryValue& b) = 0;
11 virtual MemoryValue or_op(const MemoryValue& a, const MemoryValue& b) = 0;
12 virtual MemoryValue xor_op(const MemoryValue& a, const MemoryValue& b) = 0;
13};
14
15} // namespace bb::avm2::simulation
virtual MemoryValue or_op(const MemoryValue &a, const MemoryValue &b)=0
virtual MemoryValue xor_op(const MemoryValue &a, const MemoryValue &b)=0
virtual MemoryValue and_op(const MemoryValue &a, const MemoryValue &b)=0
FF a
FF b