def kr26

bend-collections@1.0.0.0 · src/crypto/sha/packed/core.bend:356

import bend-collections@1.0.0.0/src/crypto/sha/packed/core.bend as Core
import Base
import bend-collections@1.0.0.0/src/crypto/sha/state.bend as S

356def kr26(q: Nat, win: ShaWindow, s: S.State) -> S.State:
357  match q win:
358    case 0n _:
359      s
360    case 1n+z W{a, +b, c, d, e, f, +g, h, i, j, l, m, o, r, +t, +u}:
361      +w = (small1(b) + g + small0(t) + u : U32)
362      kr27(z, W{w, a, b, c, d, e, f, g, h, i, j, l, m, o, r, t}, step(s, 2952996808, w))

Uses (9)

Used by (2)