def rounds

bend-collections@1.0.0.0 · spec/crypto/keccak/permutation.bend:108

import bend-collections@1.0.0.0/spec/crypto/keccak/permutation.bend as Permutation
import Base
import bend-collections@1.0.0.0/src/crypto/keccak/types.bend as T

108def rounds(n: Nat, +i: Nat, s: T.State) -> T.State:
109  match n:
110    case 0n: s
111    case 1n+p: rounds(p,1n+i,round(s,constant(i)))

Uses (4)

Used by (2)