def select
import bend-collections-laws-crypto@1.0.0.0/src/crypto/poly1305/limbs.bend as Limbsimport Base
102def select(+m: U32, a: List<&2, U32>, b: List<&2, U32>) -> List<&2, U32>:
103 match a b:
104 case x <> at y <> bt: pick(m, x, y) <> select(m, at, bt)
105 case _ _: Nil{}
Uses (3)
Used by (5)
- bend-collections-laws-crypto@1.0.0.0/src/crypto/poly1305/limbs:freeze
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/poly1305/final:which0
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/poly1305/final:which1
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/poly1305/final:sel0
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/poly1305/final:sel1