law Api128.bad_key_open
import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/aes/laws.bend as Lawsimport Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/aesgcm.bend as GCM
294law Api128.bad_key_open:
295 for +key: List<&2, U32>
296 for +h: {Nat.is_eq(List.length(&2, U32, key), 16n) == False{} : Bool}
297 for +nonce: List<&2, U32>
298 for +aad: List<&2, U32>
299 for +ct: List<&2, U32>
300 {GCM.aes128_gcm_decrypt(key, nonce, aad, ct) == None{} : Maybe<&2, List<&2, U32>>}
Uses (10)
Used by (0)
No other definition uses this definition.