Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
sha256.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
barretenberg/vm2/common/memory_types.hpp
"
4
5
namespace
bb::avm2::simulation
{
6
7
// Forward declarations
8
class
MemoryInterface;
9
10
class
Sha256Interface
{
11
public
:
12
virtual
~Sha256Interface
() =
default
;
13
virtual
void
compression
(
MemoryInterface
&,
14
MemoryAddress
state_addr,
15
MemoryAddress
input_addr,
16
MemoryAddress
output_addr) = 0;
17
};
18
19
}
// namespace bb::avm2::simulation
bb::avm2::simulation::MemoryInterface
Definition
memory.hpp:10
bb::avm2::simulation::Sha256Interface
Definition
sha256.hpp:10
bb::avm2::simulation::Sha256Interface::~Sha256Interface
virtual ~Sha256Interface()=default
bb::avm2::simulation::Sha256Interface::compression
virtual void compression(MemoryInterface &, MemoryAddress state_addr, MemoryAddress input_addr, MemoryAddress output_addr)=0
memory_types.hpp
bb::avm2::simulation
Definition
address_derivation_event.hpp:6
bb::avm2::MemoryAddress
uint32_t MemoryAddress
Definition
memory_types.hpp:11
src
barretenberg
vm2
simulation
interfaces
sha256.hpp
Generated by
1.9.8