Crate permutation_keccak

Source
Expand description

Keccak-f and keccak-p permutations in the crypto-permutation framework.

Keccak-p: Permutation

Uses the RustCrypto keccak crate internally for the actual permutation invocation.

Structsยง

KeccakF1600
Keccak-f[1600] permutation (i.e. full 24 rounds Keccak-p).
KeccakP1600
Keccak-[1600, ROUNDS] permutation (i.e. ROUNDS rounds Keccak-p). ROUNDS can be at most 24.
KeccakState1600
1600 bit state for the Keccak-p[1600, n] permutation. 200 bytes, internally represented by 25 u64s in little endian encoding.