def expand
import bend-collections@1.0.0.0/proofs/crypto/sha/packed/core_model.bend as CoreModelimport Base
33def expand(n: Nat, +history: List<&2, U32>) -> List<&2, U32>:
34 match n:
35 case 0n:
36 Nil{}
37 case 1n+p:
38 +w = next_word(history)
39 w <> expand(p, w <> history)
Uses (4)
Used by (7)
- bend-collections@1.0.0.0/proofs/crypto/sha/packed/core_model:schedule
- bend-collections@1.0.0.0/proofs/crypto/sha/packed/conformance:fused_compress_correct
- bend-collections@1.0.0.0/proofs/crypto/sha/packed/conformance:schedule_correct
- bend-collections@1.0.0.0/proofs/crypto/sha/packed/conformance:schedule_rounds_correct
- bend-collections@1.0.0.0/proofs/crypto/sha/packed/conformance:expanded_rounds_correct
- …