Lines Matching +full:no +full:- +full:chacha
3 /*-
19 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
30 * ChaCha pseudorandom function family and stream cipher portable C
33 * Daniel J. Bernstein, `ChaCha, a variant of Salsa20', Workshop
34 * Record of the State of the Art in Stream Ciphers -- SASC 2008.
35 * https://cr.yp.to/papers.html#chacha
39 * the stream cipher, with a 32-bit block counter and 96-bit nonce, is
53 return (u << c) | (u >> (32 - c)); in rol32()
64 const uint8_t chacha_const32[16] = "expand 32-byte k";
90 for (; nr > 0; nr -= 2) { in chacha_core_ref()
119 /* ChaCha stream cipher (IETF style, 96-bit nonce and 32-bit block counter) */
150 for (; nbytes >= 64; nbytes -= 64, s += 64, blkno++) { in chacha_stream_ref()
167 for (i = nr; i > 0; i -= 2) { in chacha_stream_ref()
214 for (i = nr; i > 0; i -= 2) { in chacha_stream_ref()
273 for (; nbytes >= 64; nbytes -= 64, s += 64, p += 64, blkno++) { in chacha_stream_xor_ref()
290 for (i = nr; i > 0; i -= 2) { in chacha_stream_xor_ref()
337 for (i = nr; i > 0; i -= 2) { in chacha_stream_xor_ref()
363 for (i = 0; i < nbytes - nbytes%4; i += 4) in chacha_stream_xor_ref()
395 for (; nr > 0; nr -= 2) { in hchacha_ref()
418 /* https://tools.ietf.org/html/draft-irtf-cfrg-xchacha-03 */
458 .ci_name = "Portable C ChaCha",