Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
mock_keccakf1600.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <array>
4
#include <gmock/gmock.h>
5
6
#include "
barretenberg/vm2/common/memory_types.hpp
"
7
#include "
barretenberg/vm2/simulation/interfaces/keccakf1600.hpp
"
8
#include "
barretenberg/vm2/simulation/interfaces/memory.hpp
"
9
10
namespace
bb::avm2::simulation
{
11
12
class
MockKeccakF1600
:
public
KeccakF1600Interface
{
13
public
:
14
MockKeccakF1600
();
15
~MockKeccakF1600
()
override
;
16
17
MOCK_METHOD
(
void
,
18
permutation
,
19
(
MemoryInterface
&
memory
,
MemoryAddress
dst_addr
,
MemoryAddress
src_addr),
20
(
override
));
21
};
22
23
}
// namespace bb::avm2::simulation
bb::avm2::memory
Definition
memory.hpp:36
bb::avm2::simulation::KeccakF1600Interface
Definition
keccakf1600.hpp:10
bb::avm2::simulation::KeccakF1600Interface::permutation
virtual void permutation(MemoryInterface &memory, MemoryAddress dst_addr, MemoryAddress src_addr)=0
bb::avm2::simulation::MemoryInterface
Definition
memory.hpp:10
bb::avm2::simulation::MockKeccakF1600
Definition
mock_keccakf1600.hpp:12
bb::avm2::simulation::MockKeccakF1600::MOCK_METHOD
MOCK_METHOD(void, permutation,(MemoryInterface &memory, MemoryAddress dst_addr, MemoryAddress src_addr),(override))
bb::avm2::simulation::MockKeccakF1600::~MockKeccakF1600
~MockKeccakF1600() override
bb::avm2::simulation::MockKeccakF1600::MockKeccakF1600
MockKeccakF1600()
dst_addr
uint32_t dst_addr
Definition
data_copy.test.cpp:63
memory_types.hpp
bb::avm2::simulation
Definition
address_derivation_event.hpp:6
bb::avm2::MemoryAddress
uint32_t MemoryAddress
Definition
memory_types.hpp:11
keccakf1600.hpp
memory.hpp
src
barretenberg
vm2
simulation
testing
mock_keccakf1600.hpp
Generated by
1.9.8