def kr40

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

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

244def kr40(q: Nat, win: ShaWindow, s: S.State) -> S.State:
245  match q win:
246    case 0n _:
247      s
248    case 1n+z W{a, +b, c, d, e, f, +g, h, i, j, l, m, o, r, +t, +u}:
249      +w = (small1(b) + g + small0(t) + u : U32)
250      kr41(z, W{w, a, b, c, d, e, f, g, h, i, j, l, m, o, r, t}, step(s, 2730485921, w))

Uses (9)

Used by (2)