def rounds
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/blake/blake3.bend as Blake3import Base
123def rounds(n: Nat, +v: List<&2,U32>, +m: List<&2,U32>) -> List<&2,U32>:
124 match n:
125 case 0n: v
126 case 1n+k: rounds(k,round(v,m),permute(m))
Uses (5)
Used by (4)
- bend-collections-laws-crypto@1.0.0.0/spec/crypto/blake/blake3:compress
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/blake/blake3/compress:compress_correct
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/blake/blake3/compress:rounds7_correct
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/blake/blake3/compress:step