Lines Matching refs:CHACHA_BLOCK_SIZE
43 u8 buf[CHACHA_BLOCK_SIZE]; in chacha_doneon()
45 while (bytes >= CHACHA_BLOCK_SIZE * 4) { in chacha_doneon()
47 bytes -= CHACHA_BLOCK_SIZE * 4; in chacha_doneon()
48 src += CHACHA_BLOCK_SIZE * 4; in chacha_doneon()
49 dst += CHACHA_BLOCK_SIZE * 4; in chacha_doneon()
52 while (bytes >= CHACHA_BLOCK_SIZE) { in chacha_doneon()
54 bytes -= CHACHA_BLOCK_SIZE; in chacha_doneon()
55 src += CHACHA_BLOCK_SIZE; in chacha_doneon()
56 dst += CHACHA_BLOCK_SIZE; in chacha_doneon()
88 bytes <= CHACHA_BLOCK_SIZE) { in chacha_crypt_arch()
90 state[12] += DIV_ROUND_UP(bytes, CHACHA_BLOCK_SIZE); in chacha_crypt_arch()
129 state[12] += DIV_ROUND_UP(nbytes, CHACHA_BLOCK_SIZE); in chacha_stream_xor()
206 .chunksize = CHACHA_BLOCK_SIZE,
221 .chunksize = CHACHA_BLOCK_SIZE,
236 .chunksize = CHACHA_BLOCK_SIZE,
255 .chunksize = CHACHA_BLOCK_SIZE,
256 .walksize = 4 * CHACHA_BLOCK_SIZE,
271 .chunksize = CHACHA_BLOCK_SIZE,
272 .walksize = 4 * CHACHA_BLOCK_SIZE,
287 .chunksize = CHACHA_BLOCK_SIZE,
288 .walksize = 4 * CHACHA_BLOCK_SIZE,