def feedforward

bend-collections@1.0.0.0 · spec/crypto/sha.bend:136

import bend-collections@1.0.0.0/spec/crypto/sha.bend as Sha
import Base
import bend-collections@1.0.0.0/src/crypto/sha/state.bend as Types

136def feedforward(x: Types.State, y: Types.State) -> Types.State:
137  Types.H{a, b, c, d, e, f, g, h} = x
138  Types.H{i, j, k, l, m, n, o, p} = y
139  Types.H{(a + i : U32), (b + j : U32), (c + k : U32), (d + l : U32),
140    (e + m : U32), (f + n : U32), (g + o : U32), (h + p : U32)}

Uses (3)

Used by (3)