def read3_5
bend-collections@1.0.0.0 · src/crypto/hash.bend:439
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
439def read3_5(bytes: List<&2, U32>, w0: TK.Lane, w1: TK.Lane, w2: TK.Lane, w3: TK.Lane, w4: TK.Lane) -> Read3:
440 match bytes:
441 case b0 <> b1 <> b2 <> b3 <> b4 <> b5 <> b6 <> b7 <> rest:
442 read3_6(rest, w0, w1, w2, w3, w4, TK.W{C3.pack(b0, b1, b2, b3), C3.pack(b4, b5, b6, b7)})
443 case _:
444 Short3{}