law xchacha20poly1305.decrypt

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

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/src/crypto/aead/chacha20poly1305.bend as CP

115law xchacha20poly1305.decrypt:
116  for +key: List<&2, U32>
117  for +nonce: List<&2, U32>
118  for +aad: List<&2, U32>
119  for +data: List<&2, U32>
120  {CP.xdecrypt(key, nonce, aad, data) == A.decrypt(A.XCHACHA20_POLY1305{}, key, nonce, aad, data) : Maybe<&2, List<&2, U32>>}

Uses (9)

Used by (0)

No other definition uses this definition.