Lines Matching refs:nrounds
16 static void chacha_permute(u32 *x, int nrounds)
21 WARN_ON_ONCE(nrounds != 20 && nrounds != 12);
23 for (i = 0; i < nrounds; i += 2) {
70 * @nrounds: number of rounds (20 or 12; 20 is recommended)
76 void chacha_block_generic(u32 *state, u8 *stream, int nrounds)
83 chacha_permute(x, nrounds);
96 * @nrounds: number of rounds (20 or 12; 20 is recommended)
103 void hchacha_block_generic(const u32 *state, u32 *stream, int nrounds)
109 chacha_permute(x, nrounds);