def read3_4
bend-collections@1.0.0.0 · src/crypto/hash.bend:446
import bend-collections@1.0.0.0/src/crypto/hash.bend as Hash
import Base
import bend-collections@1.0.0.0/src/crypto/keccak/types.bend as TK
import bend-collections@1.0.0.0/src/crypto/sha3/core.bend as C3
446def read3_4(bytes: List<&2, U32>, w0: TK.Lane, w1: TK.Lane, w2: TK.Lane, w3: TK.Lane) -> Read3:
447 match bytes:
448 case b0 <> b1 <> b2 <> b3 <> b4 <> b5 <> b6 <> b7 <> rest:
449 read3_5(rest, w0, w1, w2, w3, TK.W{C3.pack(b0, b1, b2, b3), C3.pack(b4, b5, b6, b7)})
450 case _:
451 Short3{}