law body_correct

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

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

107law body_correct:
108  for +r: Nat
109  for +kb: List<&2, U32>
110  for +c: U32
111  for +nb: List<&2, U32>
112  {I.keystream(r, I.key(kb), c, I.nonce(nb)) == R.block_body(r, kb, c, nb) : List<&2, U32>}

Uses (22)

Used by (2)