def xenc

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

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

60def xenc(+kb: List<&2, U32>, +c: U32, +sub: List<&2, U32>, +nn: List<&2, U32>, +pt: List<&2, U32>) -> List<&2, U32>:
61  R.encrypt_rounds(10n, sub, c, 0 <> 0 <> 0 <> 0 <> nn, pt)

Uses (3)

Used by (1)