law chacha20poly1305.seal

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

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/chacha20poly1305.bend as R

29law chacha20poly1305.seal:
30  for +key: List<&2, U32>
31  for +nonce: List<&2, U32>
32  for +aad: List<&2, U32>
33  for +pt: List<&2, U32>
34  {A.seal(A.CHACHA20_POLY1305{}, key, nonce, aad, pt) == Some{R.seal(key, nonce, aad, pt)} : Maybe<&2, List<&2, U32>>}

Uses (9)

Used by (0)

No other definition uses this definition.