law hchacha_rounds

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

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/chacha/laws.bend as Laws
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

31# HChaCha20 with r double rounds, and at twenty rounds.
32law hchacha_rounds:
33  for +r: Nat
34  for +key: List<&2, U32>
35  for +nonce: List<&2, U32>
36  {I.hchacha_rounds(r, key, nonce) == R.hchacha_rounds(r, key, nonce) : List<&2, U32>}

Uses (6)

Used by (0)

No other definition uses this definition.