def aes128_gcm_decrypt
import bend-collections-laws-crypto@1.0.0.0/src/crypto/aesgcm.bend as Aesgcmimport Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/aes/gcm.bend as G
15# The plaintext of ciphertext || tag, or None.
16def aes128_gcm_decrypt(+key: List<&2, U32>, +nonce: List<&2, U32>, +aad: List<&2, U32>, +ct: List<&2, U32>) -> Maybe<&2, List<&2, U32>>:
17 G.open_key(G.schedule_of(16n, key), nonce, aad, ct)
Uses (5)
Used by (14)
- bend-collections-laws-crypto@1.0.0.0/src/crypto/aead:open
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/aes/api:open128
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/aes/api:aes128_decrypt
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/aes/api:aes128_decrypt_l
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/aes/api:aes128_forgery
- …