Searched refs:nrounds (Results 1 – 1 of 1) sorted by relevance
15 static void chacha_permute(u32 *x, int nrounds) in chacha_permute() argument20 WARN_ON_ONCE(nrounds != 20 && nrounds != 12); in chacha_permute()22 for (i = 0; i < nrounds; i += 2) { in chacha_permute()75 void chacha_block(u32 *state, u8 *stream, int nrounds) in chacha_block() argument82 chacha_permute(x, nrounds); in chacha_block()102 void hchacha_block(const u32 *in, u32 *out, int nrounds) in hchacha_block() argument108 chacha_permute(x, nrounds); in hchacha_block()