def read3_6

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

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

432def read3_6(bytes: List<&2, U32>, w0: TK.Lane, w1: TK.Lane, w2: TK.Lane, w3: TK.Lane, w4: TK.Lane, w5: TK.Lane) -> Read3:
433  match bytes:
434    case b0 <> b1 <> b2 <> b3 <> b4 <> b5 <> b6 <> b7 <> rest:
435      read3_7(rest, w0, w1, w2, w3, w4, w5, TK.W{C3.pack(b0, b1, b2, b3), C3.pack(b4, b5, b6, b7)})
436    case _:
437      Short3{}

Uses (6)

Used by (1)