def hchacha_body

bend-collections-laws-crypto@1.0.0.0 · spec/crypto/chacha.bend:183

import bend-collections-laws-crypto@1.0.0.0/spec/crypto/chacha.bend as Chacha
import Base

183def hchacha_body(+n: Nat, +key: List<&2, U32>, +nonce: List<&2, U32>) -> List<&2, U32>:
184  +s = inner_blocks(n, hstate(words(key), words(nonce)))
185  serialize([get(s, 0n), get(s, 1n), get(s, 2n), get(s, 3n), get(s, 12n), get(s, 13n), get(s, 14n), get(s, 15n)])

Uses (8)

Used by (2)