def read3_2

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

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

460def read3_2(bytes: List<&2, U32>, w0: TK.Lane, w1: TK.Lane) -> Read3:
461  match bytes:
462    case b0 <> b1 <> b2 <> b3 <> b4 <> b5 <> b6 <> b7 <> rest:
463      read3_3(rest, w0, w1, TK.W{C3.pack(b0, b1, b2, b3), C3.pack(b4, b5, b6, b7)})
464    case _:
465      Short3{}

Uses (6)

Used by (1)