law encrypt_correct

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/chacha/stream.bend:254

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/chacha/stream.bend as Stream
import Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/chacha/chacha20.bend as I
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/chacha.bend as R

254law encrypt_correct:
255  for +r: Nat
256  for +kb: List<&2, U32>
257  for +c: U32
258  for +nb: List<&2, U32>
259  for +pt: List<&2, U32>
260  {I.encrypt_rounds(r, kb, c, nb, pt) == R.encrypt_rounds(r, kb, c, nb, pt) : List<&2, U32>}

Uses (7)

Used by (7)