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 <cstdint>
4#include <memory>
5
14
15namespace bb::avm2::simulation {
16
45
46} // namespace bb::avm2::simulation
MemoryValue modulo_sum(std::span< const MemoryValue > values)
Definition sha256.cpp:62
GreaterThanInterface & gt
Definition sha256.hpp:42
BitwiseInterface & bitwise
Definition sha256.hpp:41
EventEmitterInterface< Sha256CompressionEvent > & events
Definition sha256.hpp:43
void compression(MemoryInterface &memory, MemoryAddress state_addr, MemoryAddress input_addr, MemoryAddress output_addr) override
Definition sha256.cpp:83
MemoryValue shr(const MemoryValue &x, uint8_t shift)
Definition sha256.cpp:46
ExecutionIdGetterInterface & execution_id_manager
Definition sha256.hpp:40
Sha256(ExecutionIdGetterInterface &execution_id_manager, BitwiseInterface &bitwise, GreaterThanInterface &gt, EventEmitterInterface< Sha256CompressionEvent > &event_emitter)
Definition sha256.hpp:19
MemoryValue ror(const MemoryValue &x, uint8_t shift)
Definition sha256.cpp:30
EventEmitter< DataCopyEvent > event_emitter
uint32_t MemoryAddress
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13