def kr39
bend-collections-laws-crypto@1.0.0.0 · src/crypto/sha/packed/core.bend:252
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
252def kr39(q: Nat, win: ShaWindow, s: S.State) -> S.State:
253 match q win:
254 case 0n _:
255 s
256 case 1n+z W{a, +b, c, d, e, f, +g, h, i, j, l, m, o, r, +t, +u}:
257 +w = (small1(b) + g + small0(t) + u : U32)
258 kr40(z, W{w, a, b, c, d, e, f, g, h, i, j, l, m, o, r, t}, step(s, 2456956037, w))