Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
keccakf1600.cpp File Reference
#include "keccak.hpp"
#include <stdint.h>

Go to the source code of this file.

Functions

void ethash_keccakf1600 (uint64_t state[KECCAKF1600_LANES]) NOEXCEPT
 

Function Documentation

◆ ethash_keccakf1600()

void ethash_keccakf1600 ( uint64_t  state[KECCAKF1600_LANES])

The Keccak-f[1600] function (FIPS 202 Section 3: https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.202.pdf)).

The implementation of the Keccak-f function with 1600-bit width of the permutation (b). The size of the state is also 1600 bit what gives 25 64-bit words.

Parameters
stateThe state of 25 64-bit words on which the permutation is to be performed.

Definition at line 36 of file keccakf1600.cpp.