def pick

bend-collections-laws-crypto@1.0.0.0 · src/crypto/poly1305/limbs.bend:98

import bend-collections-laws-crypto@1.0.0.0/src/crypto/poly1305/limbs.bend as Limbs
import Base

98# a when m is all zeros, b when m is all ones.
99def pick(+m: U32, +a: U32, b: U32) -> U32:
100  U32.xor(a, U32.and(m, U32.xor(a, b)))

Uses (3)

Used by (5)