def lane_of

bend-collections-laws-crypto@1.0.0.0 · spec/crypto/argon2/blamka.bend:17

import bend-collections-laws-crypto@1.0.0.0/spec/crypto/argon2/blamka.bend as Blamka
import Base
import bend-collections-laws-crypto@1.0.0.0/spec/lib/common.bend as C
import bend-collections-laws-crypto@1.0.0.0/src/crypto/blake/blake2b/types.bend as T

17# The lane of n mod 2^64 (U32.from_nat keeps the low 32 bits).
18def lane_of(+n: Nat) -> T.Lane:
19  T.W{U32.from_nat(C.low(32n, n)), U32.from_nat(C.high(32n, n))}

Uses (5)

Used by (3)