law aes256gcm.open

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

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

84law aes256gcm.open:
85  for +key: List<&2, U32>
86  for +hk: {List.length(&2, U32, key) == 32n : Nat}
87  for +nonce: List<&2, U32>
88  for +hn: {List.length(&2, U32, nonce) == 12n : Nat}
89  for +aad: List<&2, U32>
90  for +data: List<&2, U32>
91  {A.open(A.AES_256_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.