def fused_compress

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

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

152def fused_compress(+block: List<&2, U32>, +extra: Nat, +ks: List<&2, U32>, +s: S.State) -> S.State:
153  match block:
154    case a <> b <> c <> d <> e <> f <> g <> h <> i <> j <> k <> l <> m <> n <> o <> p <> Nil{}:
155      feedforward(s, window_schedule_rounds(
156        [a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p], extra,
157        W{p, o, n, m, l, k, j, i, h, g, f, e, d, c, b, a}, ks, s))
158    case _:
159      fused_compress_slow(block, extra, ks, s)

Uses (8)

Used by (3)