Lines Matching defs:blocks
70 size_t blocks = inl / CHACHA_BLK_SIZE;
77 if (sizeof(size_t) > sizeof(unsigned int) && blocks > (1U << 28))
78 blocks = (1U << 28);
84 * amount of blocks to the exact overflow point...
86 ctr32 += (unsigned int)blocks;
87 if (ctr32 < blocks) {
88 blocks -= ctr32;
91 blocks *= CHACHA_BLK_SIZE;
92 ChaCha20_ctr32(out, in, blocks, ctx->key.d, ctx->counter);
93 inl -= blocks;
94 in += blocks;
95 out += blocks;