def kr19

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

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

608def kr19(q: Nat, win: ShaWindow, s: S.State) -> S.State:
609  match q win:
610    case 0n _:
611      s
612    case 1n+z W{a, +b, c, d, e, f, +g, h, i, j, l, m, o, r, +t, +u}:
613      +w = (small1(b) + g + small0(t) + u : U32)
614      kr20(z, W{w, a, b, c, d, e, f, g, h, i, j, l, m, o, r, t}, step(s, 604807628, w))

Uses (9)

Used by (2)