def kr30

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

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

520def kr30(q: Nat, win: ShaWindow, s: S.State) -> S.State:
521  match q win:
522    case 0n _:
523      s
524    case 1n+z W{a, +b, c, d, e, f, +g, h, i, j, l, m, o, r, +t, +u}:
525      +w = (small1(b) + g + small0(t) + u : U32)
526      kr31(z, W{w, a, b, c, d, e, f, g, h, i, j, l, m, o, r, t}, step(s, 113926993, w))

Uses (9)

Used by (2)