def rounds_short
import bend-collections@1.0.0.0/src/crypto/keccak/permutation.bend as Permutationimport Base
import bend-collections@1.0.0.0/src/crypto/keccak/types.bend as T
76def rounds_short(n: Nat, +i: Nat, s: T.State) -> T.State:
77 match n:
78 case 0n: s
79 case 1n+p: rounds_short(p,1n+i,round(s,constant(i)))