def read3_7

bend-collections-laws-crypto@1.0.0.0 · src/crypto/hash.bend:425

import bend-collections-laws-crypto@1.0.0.0/src/crypto/hash.bend as Hash
import Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/keccak/types.bend as TK
import bend-collections-laws-crypto@1.0.0.0/src/crypto/sha3/core.bend as C3

425def read3_7(bytes: List<&2, U32>, w0: TK.Lane, w1: TK.Lane, w2: TK.Lane, w3: TK.Lane, w4: TK.Lane, w5: TK.Lane, w6: TK.Lane) -> Read3:
426  match bytes:
427    case b0 <> b1 <> b2 <> b3 <> b4 <> b5 <> b6 <> b7 <> rest:
428      read3_8(rest, w0, w1, w2, w3, w4, w5, w6, TK.W{C3.pack(b0, b1, b2, b3), C3.pack(b4, b5, b6, b7)})
429    case _:
430      Short3{}

Uses (6)

Used by (1)