law involution

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/chacha/involution.bend:203

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/chacha/involution.bend as Involution
import Base
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/chacha.bend as R

203law involution:
204  for +r: Nat
205  for +kb: List<&2, U32>
206  for +c: U32
207  for +nb: List<&2, U32>
208  for +pt: List<&2, U32>
209  {R.encrypt_rounds(r, kb, c, nb, R.encrypt_rounds(r, kb, c, nb, pt)) == pt : List<&2, U32>}

Uses (13)

Used by (4)