Lines Matching refs:CHACHA_BLOCK_SIZE
43 u8 buf[CHACHA_BLOCK_SIZE]; in chacha_doneon()
45 while (bytes > CHACHA_BLOCK_SIZE) { in chacha_doneon()
46 unsigned int l = min(bytes, CHACHA_BLOCK_SIZE * 4U); in chacha_doneon()
52 state[12] += DIV_ROUND_UP(l, CHACHA_BLOCK_SIZE); in chacha_doneon()
58 if (bytes != CHACHA_BLOCK_SIZE) in chacha_doneon()
89 bytes <= CHACHA_BLOCK_SIZE) { in chacha_crypt_arch()
91 state[12] += DIV_ROUND_UP(bytes, CHACHA_BLOCK_SIZE); in chacha_crypt_arch()
130 state[12] += DIV_ROUND_UP(nbytes, CHACHA_BLOCK_SIZE); in chacha_stream_xor()
207 .chunksize = CHACHA_BLOCK_SIZE,
222 .chunksize = CHACHA_BLOCK_SIZE,
237 .chunksize = CHACHA_BLOCK_SIZE,
256 .chunksize = CHACHA_BLOCK_SIZE,
257 .walksize = 4 * CHACHA_BLOCK_SIZE,
272 .chunksize = CHACHA_BLOCK_SIZE,
273 .walksize = 4 * CHACHA_BLOCK_SIZE,
288 .chunksize = CHACHA_BLOCK_SIZE,
289 .walksize = 4 * CHACHA_BLOCK_SIZE,