def kr53

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

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

336def kr53(q: Nat, win: ShaWindow, s: S.State) -> S.State:
337  match q win:
338    case 0n _:
339      s
340    case 1n+z W{a, +b, c, d, e, f, +g, h, i, j, l, m, o, r, +t, +u}:
341      +w = (small1(b) + g + small0(t) + u : U32)
342      kr54(z, W{w, a, b, c, d, e, f, g, h, i, j, l, m, o, r, t}, step(s, 1322822218, w))

Uses (9)

Used by (2)