def read512_2
bend-collections@1.0.0.0 · src/crypto/hash.bend:306
import bend-collections@1.0.0.0/src/crypto/hash.bend as Hash
import Base
import bend-collections@1.0.0.0/src/crypto/sha512/types.bend as T512
import bend-collections@1.0.0.0/src/crypto/sha512/core.bend as C512
306def read512_2(bytes: List<&2, U32>, w0: T512.Lane, w1: T512.Lane) -> Read512:
307 match bytes:
308 case b0 <> b1 <> b2 <> b3 <> b4 <> b5 <> b6 <> b7 <> rest:
309 read512_3(rest, w0, w1, T512.W{C512.pack(b0, b1, b2, b3), C512.pack(b4, b5, b6, b7)})
310 case _:
311 Short512{}