Lines Matching refs:CHACHA_BLOCK_SIZE
43 int l = min(bytes, CHACHA_BLOCK_SIZE * 5); in chacha_doneon()
45 if (l <= CHACHA_BLOCK_SIZE) { in chacha_doneon()
46 u8 buf[CHACHA_BLOCK_SIZE]; in chacha_doneon()
55 bytes -= CHACHA_BLOCK_SIZE * 5; in chacha_doneon()
56 src += CHACHA_BLOCK_SIZE * 5; in chacha_doneon()
57 dst += CHACHA_BLOCK_SIZE * 5; in chacha_doneon()
94 if (req->cryptlen <= CHACHA_BLOCK_SIZE || !crypto_simd_usable()) in chacha_neon()
108 if (req->cryptlen <= CHACHA_BLOCK_SIZE || !crypto_simd_usable()) in xchacha_neon()
135 .chunksize = CHACHA_BLOCK_SIZE,
136 .walksize = 5 * CHACHA_BLOCK_SIZE,
151 .chunksize = CHACHA_BLOCK_SIZE,
152 .walksize = 5 * CHACHA_BLOCK_SIZE,
167 .chunksize = CHACHA_BLOCK_SIZE,
168 .walksize = 5 * CHACHA_BLOCK_SIZE,