Lines Matching refs:CHACHA_BLOCK_SIZE
42 u8 buf[CHACHA_BLOCK_SIZE]; in chacha_doneon()
44 while (bytes >= CHACHA_BLOCK_SIZE * 4) { in chacha_doneon()
46 bytes -= CHACHA_BLOCK_SIZE * 4; in chacha_doneon()
47 src += CHACHA_BLOCK_SIZE * 4; in chacha_doneon()
48 dst += CHACHA_BLOCK_SIZE * 4; in chacha_doneon()
51 while (bytes >= CHACHA_BLOCK_SIZE) { in chacha_doneon()
53 bytes -= CHACHA_BLOCK_SIZE; in chacha_doneon()
54 src += CHACHA_BLOCK_SIZE; in chacha_doneon()
55 dst += CHACHA_BLOCK_SIZE; in chacha_doneon()
97 if (req->cryptlen <= CHACHA_BLOCK_SIZE || !crypto_simd_usable()) in chacha_neon()
111 if (req->cryptlen <= CHACHA_BLOCK_SIZE || !crypto_simd_usable()) in xchacha_neon()
138 .chunksize = CHACHA_BLOCK_SIZE,
139 .walksize = 4 * CHACHA_BLOCK_SIZE,
154 .chunksize = CHACHA_BLOCK_SIZE,
155 .walksize = 4 * CHACHA_BLOCK_SIZE,
170 .chunksize = CHACHA_BLOCK_SIZE,
171 .walksize = 4 * CHACHA_BLOCK_SIZE,