law permutation_rounds
import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/keccak/laws.bend as Lawsimport Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/keccak/types.bend as T
import bend-collections-laws-crypto@1.0.0.0/src/crypto/keccak/permutation.bend as P
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/keccak/permutation.bend as S
8# Universal permutation refinement; instantiating n=24 and i=0 gives Keccak-f[1600].
9law permutation_rounds:
10 for +n: Nat
11 for +i: Nat
12 for +s: T.State
13 {P.rounds(n,i,s) == S.rounds(n,i,s) : T.State}
Uses (5)
- Nat
- bend-collections-laws-crypto@1.0.0.0/src/crypto/keccak/types:State
- bend-collections-laws-crypto@1.0.0.0/src/crypto/keccak/permutation:rounds
- bend-collections-laws-crypto@1.0.0.0/spec/crypto/keccak/permutation:rounds
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/keccak/permutation:rounds_correct
Used by (0)
No other definition uses this definition.