Lines Matching +full:15 +full:- +full:input
1 // SPDX-License-Identifier: GPL-2.0-or-later
27 x[3] += x[7]; x[15] = rol32(x[15] ^ x[3], 16); in chacha_permute()
32 x[11] += x[15]; x[7] = rol32(x[7] ^ x[11], 12); in chacha_permute()
37 x[3] += x[7]; x[15] = rol32(x[15] ^ x[3], 8); in chacha_permute()
42 x[11] += x[15]; x[7] = rol32(x[7] ^ x[11], 7); in chacha_permute()
44 x[0] += x[5]; x[15] = rol32(x[15] ^ x[0], 16); in chacha_permute()
49 x[10] += x[15]; x[5] = rol32(x[5] ^ x[10], 12); in chacha_permute()
54 x[0] += x[5]; x[15] = rol32(x[15] ^ x[0], 8); in chacha_permute()
59 x[10] += x[15]; x[5] = rol32(x[5] ^ x[10], 7); in chacha_permute()
67 * chacha_block_generic - generate one keystream block and increment block counter
68 * @state: input state matrix (16 32-bit words)
72 * This is the ChaCha core, a function from 64-byte strings to 64-byte strings.
73 * The caller has already converted the endianness of the input. This function
74 * also handles incrementing the block counter in the input matrix.
93 * hchacha_block_generic - abbreviated ChaCha core, for XChaCha
94 * @state: input state matrix (16 32-bit words)
95 * @stream: output (8 32-bit words)
99 * towards XChaCha (see https://cr.yp.to/snuffle/xsalsa-20081128.pdf). HChaCha