Laws.aes128gcm.seal: law of bend-collections-laws-crypto@1.0.0.0 Import: import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/aead/laws.bend as Laws Lines 57-64 of bend-collections-laws-crypto@1.0.0.0/proofs/crypto/aead/laws.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-crypto@1.0.0.0/proofs/crypto/aead/laws.bend&start_line=57&end_line=64 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 law aes128gcm.seal: for +key: List<&2, U32> for +hk: {List.length(&2, U32, key) == 16n : Nat} for +nonce: List<&2, U32> for +hn: {List.length(&2, U32, nonce) == 12n : Nat} for +aad: List<&2, U32> for +pt: List<&2, U32> {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): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.length https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/proofs/crypto/aes/api.bend&name=aes128_encrypt_l https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/spec/crypto/aes/gcm.bend&name=aes_seal https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/src/crypto/aead.bend&name=Alg https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/src/crypto/aead.bend&name=seal