def kr56

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

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

312def kr56(q: Nat, win: ShaWindow, s: S.State) -> S.State:
313  match q win:
314    case 0n _:
315      s
316    case 1n+z W{a, +b, c, d, e, f, +g, h, i, j, l, m, o, r, +t, +u}:
317      +w = (small1(b) + g + small0(t) + u : U32)
318      kr57(z, W{w, a, b, c, d, e, f, g, h, i, j, l, m, o, r, t}, step(s, 1955562222, w))

Uses (9)

Used by (2)