def accept
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/aes/gcm.bend as Gcmimport Base
152def accept(ok: Bool, p: List<&2, U32>) -> Maybe<&2, List<&2, U32>>:
153 match ok:
154 case True{}:
155 Some{p}
156 case False{}:
157 None{}
Uses (4)
Used by (6)
- bend-collections-laws-crypto@1.0.0.0/spec/crypto/aes/gcm:open_checked
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/aes/aead:forgery
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/aes/aead:roundtrip
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/aead/sound:g_tag
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/aes/gcm:accept_ok
- …