law aes128gcm.open
import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/aead/laws.bend as Lawsimport Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/aead.bend as A
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/aes/gcm.bend as G
66law aes128gcm.open:
67 for +key: List<&2, U32>
68 for +hk: {List.length(&2, U32, key) == 16n : Nat}
69 for +nonce: List<&2, U32>
70 for +hn: {List.length(&2, U32, nonce) == 12n : Nat}
71 for +aad: List<&2, U32>
72 for +data: List<&2, U32>
73 {A.open(A.AES_128_GCM{}, key, nonce, aad, data) == G.aes_open(key, nonce, aad, data) : Maybe<&2, List<&2, U32>>}
Uses (9)
Used by (0)
No other definition uses this definition.