Lines Matching refs:CHACHA20_BLOCK_SIZE
37 u8 buf[CHACHA20_BLOCK_SIZE]; in chacha20_doneon()
39 while (bytes >= CHACHA20_BLOCK_SIZE * 4) { in chacha20_doneon()
41 bytes -= CHACHA20_BLOCK_SIZE * 4; in chacha20_doneon()
42 src += CHACHA20_BLOCK_SIZE * 4; in chacha20_doneon()
43 dst += CHACHA20_BLOCK_SIZE * 4; in chacha20_doneon()
46 while (bytes >= CHACHA20_BLOCK_SIZE) { in chacha20_doneon()
48 bytes -= CHACHA20_BLOCK_SIZE; in chacha20_doneon()
49 src += CHACHA20_BLOCK_SIZE; in chacha20_doneon()
50 dst += CHACHA20_BLOCK_SIZE; in chacha20_doneon()
68 if (req->cryptlen <= CHACHA20_BLOCK_SIZE || !may_use_simd()) in chacha20_neon()
102 .chunksize = CHACHA20_BLOCK_SIZE,
103 .walksize = 4 * CHACHA20_BLOCK_SIZE,