def schedules
import bend-collections@1.0.0.0/spec/crypto/sha.bend as Shaimport Base
110def schedules(ws: List<&2, U32>, +extra: Nat) -> List<&2, List<&2, U32>>:
111 match ws:
112 case a <> b <> c <> d <> e <> f <> g <> h <> i <> j <> k <> l <> m <> n <> o <> p <> rest:
113 schedule(extra, [a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p]) <> schedules(rest, extra)
114 case _:
115 Nil{}
Uses (4)
Used by (5)
- bend-collections@1.0.0.0/spec/crypto/sha:prepare
- bend-collections@1.0.0.0/proofs/crypto/sha/conformance:block_bytes_correct
- bend-collections@1.0.0.0/proofs/crypto/sha/conformance:sha256_correct
- bend-collections@1.0.0.0/proofs/crypto/sha/packed/conformance:block_bytes_correct
- bend-collections@1.0.0.0/proofs/crypto/sha/packed/conformance:sha256_correct