def when
import bend-collections-laws-crypto@1.0.0.0/src/crypto/chacha/chacha20.bend as Chacha20import Base
140def when(ok: Bool, x: List<&2, U32>) -> Maybe<&2, List<&2, U32>>:
141 match ok:
142 case True{}: Some{x}
143 case False{}: None{}
Uses (4)
Used by (6)
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/chacha/proof:when_false
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/chacha/proof:when_true
- bend-collections-laws-crypto@1.0.0.0/src/crypto/chacha/chacha20:chacha20
- bend-collections-laws-crypto@1.0.0.0/src/crypto/chacha/chacha20:chacha20_block
- bend-collections-laws-crypto@1.0.0.0/src/crypto/chacha/chacha20:hchacha20
- …