law aes128gcm.seal

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/aead/laws.bend:57

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/aead/laws.bend as Laws
import 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

57law aes128gcm.seal:
58  for +key: List<&2, U32>
59  for +hk: {List.length(&2, U32, key) == 16n : Nat}
60  for +nonce: List<&2, U32>
61  for +hn: {List.length(&2, U32, nonce) == 12n : Nat}
62  for +aad: List<&2, U32>
63  for +pt: List<&2, U32>
64  {A.seal(A.AES_128_GCM{}, key, nonce, aad, pt) == Some{G.aes_seal(key, nonce, aad, pt)} : Maybe<&2, List<&2, U32>>}

Uses (9)

Used by (0)

No other definition uses this definition.