def kr24
bend-collections-laws-crypto@1.0.0.0 · src/crypto/sha/core.bend:568
import bend-collections-laws-crypto@1.0.0.0/src/crypto/sha/core.bend as Core
import Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/sha/state.bend as S
568def kr24(q: Nat, win: ShaWindow, s: S.State) -> S.State:
569 match q win:
570 case 0n _:
571 s
572 case 1n+z W{a, +b, c, d, e, f, +g, h, i, j, l, m, o, r, +t, +u}:
573 +w = (small1(b) + g + small0(t) + u : U32)
574 kr25(z, W{w, a, b, c, d, e, f, g, h, i, j, l, m, o, r, t}, step(s, 2554220882, w))