Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <keccakf1600.hpp>
Public Member Functions | |
KeccakF1600 (ExecutionIdManagerInterface &execution_id_manager, EventEmitterInterface< KeccakF1600Event > &keccakf1600_emitter, BitwiseInterface &bitwise, RangeCheckInterface &range_check) | |
void | permutation (MemoryInterface &memory, MemoryAddress dst_addr, MemoryAddress src_addr) override |
Permutation Keccak-f[1600] consisting in AVM_KECCAKF1600_NUM_ROUNDS (24) rounds and a state of 25 64-bit values (aliased as KeccakF1600State). | |
![]() | |
virtual | ~KeccakF1600Interface ()=default |
Private Attributes | |
ExecutionIdManagerInterface & | execution_id_manager |
EventEmitterInterface< KeccakF1600Event > & | perm_events |
BitwiseInterface & | bitwise |
RangeCheckInterface & | range_check |
Definition at line 53 of file keccakf1600.hpp.
|
inline |
Definition at line 55 of file keccakf1600.hpp.
|
overridevirtual |
Permutation Keccak-f[1600] consisting in AVM_KECCAKF1600_NUM_ROUNDS (24) rounds and a state of 25 64-bit values (aliased as KeccakF1600State).
memory | |
dst_addr | Base slice address pointing to output of KeccakF1600 permutation. |
src_addr | Address pointing to a contiguous memory slice containing KeccakF1600State input. |
Implements bb::avm2::simulation::KeccakF1600Interface.
Definition at line 67 of file keccakf1600.cpp.
|
private |
Definition at line 70 of file keccakf1600.hpp.
|
private |
Definition at line 68 of file keccakf1600.hpp.
|
private |
Definition at line 69 of file keccakf1600.hpp.
|
private |
Definition at line 71 of file keccakf1600.hpp.