#include <keccakf1600.hpp>
Definition at line 49 of file keccakf1600.hpp.
◆ KeccakF1600()
◆ permutation()
Perform the Keccak-f[1600] permutation (24 rounds) over a 25-word (5x5) 64-bit state.
Reads AVM_KECCAKF1600_STATE_SIZE (25) U64 values from the memory slice starting at src_addr, applies 24 rounds of the Keccak-f permutation (theta, rho, pi, chi, iota), and writes the resulting state to the slice starting at dst_addr. Emits a KeccakF1600Event for tracegen.
- Parameters
-
| memory | Memory interface for reading/writing the state slices. |
| dst_addr | Base address of the output memory slice (must fit 25 contiguous U64 values). |
| src_addr | Base address of the input memory slice (must fit 25 contiguous U64 values). |
- Exceptions
-
| KeccakF1600Exception | if src_addr or dst_addr produces an out-of-range slice, or if any source memory value does not have tag U64. |
Implements bb::avm2::simulation::KeccakF1600Interface.
Definition at line 76 of file keccakf1600.cpp.
◆ bitwise
◆ execution_id_manager
◆ gt
◆ perm_events
◆ range_check
The documentation for this class was generated from the following files: