def kr32
mylsm-lsm-store@0.6.0.1 · src/hub_sha/core.bend:590
import mylsm-lsm-store@0.6.0.1/src/hub_sha/core.bend as Core
import Base
import mylsm-lsm-store@0.6.0.1/src/hub_sha/state.bend as S
590
591def kr32(rounds_left: Nat, win: ShaWindow, state: S.State) -> S.State:
592 match rounds_left win:
593 case 0n _:
594 state
595 case 1n+z W{a, +b, c, d, e, f, +g, h, i, j, l, m, o, r, +t, +u}:
596 +w = (small1(b) + g + small0(t) + u : U32)
597 kr33(z, W{w, a, b, c, d, e, f, g, h, i, j, l, m, o, r, t}, step(state, 666307205, w))