def kr54
bend-collections@1.0.0.0 · src/crypto/sha/core.bend:328
import bend-collections@1.0.0.0/src/crypto/sha/core.bend as Core
import Base
import bend-collections@1.0.0.0/src/crypto/sha/state.bend as S
328def kr54(q: Nat, win: ShaWindow, s: S.State) -> S.State:
329 match q win:
330 case 0n _:
331 s
332 case 1n+z W{a, +b, c, d, e, f, +g, h, i, j, l, m, o, r, +t, +u}:
333 +w = (small1(b) + g + small0(t) + u : U32)
334 kr55(z, W{w, a, b, c, d, e, f, g, h, i, j, l, m, o, r, t}, step(s, 1537002063, w))