def aes128_gcm_decrypt
import bend-collections@1.0.0.0/src/crypto/aesgcm.bend as Aesgcmimport Base
import bend-collections@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)