def kr23
bend-collections-laws-crypto@1.0.0.0 · src/crypto/sha/packed/core.bend:380
import bend-collections-laws-crypto@1.0.0.0/src/crypto/sha/packed/core.bend as Core
import Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/sha/state.bend as S
380def kr23(q: Nat, win: ShaWindow, s: S.State) -> S.State:
381 match q win:
382 case 0n _:
383 s
384 case 1n+z W{a, +b, c, d, e, f, +g, h, i, j, l, m, o, r, +t, +u}:
385 +w = (small1(b) + g + small0(t) + u : U32)
386 kr24(z, W{w, a, b, c, d, e, f, g, h, i, j, l, m, o, r, t}, step(s, 1996064986, w))