Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
keccakf1600_trace.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4
10
11namespace bb::avm2::tracegen {
12
29
30} // namespace bb::avm2::tracegen
void process_memory_slices(const simulation::EventEmitterInterface< simulation::KeccakF1600Event >::Container &events, TraceContainer &trace)
Populate the keccak_memory sub-trace for read/write memory slices.
static const InteractionDefinition interactions
void process_single_slice(const simulation::KeccakF1600Event &event, bool write, uint32_t &row, TraceContainer &trace)
Populate a single memory-slice (read or write) for one event.
void process_permutation(const simulation::EventEmitterInterface< simulation::KeccakF1600Event >::Container &events, TraceContainer &trace)
Populate the keccakf1600 sub-trace from permutation events.
TestTraceContainer trace
void write(B &buf, field2< base_field, Params > const &value)
simulation::PublicDataTreeReadWriteEvent event
Event emitted by the Keccak-f[1600] simulation for trace generation.