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()
43 bytes -= CHACHA20_BLOCK_SIZE * 4; in chacha20_doneon()
44 src += CHACHA20_BLOCK_SIZE * 4; in chacha20_doneon()
45 dst += CHACHA20_BLOCK_SIZE * 4; in chacha20_doneon()
53 while (bytes >= CHACHA20_BLOCK_SIZE) { in chacha20_doneon()
55 bytes -= CHACHA20_BLOCK_SIZE; in chacha20_doneon()
56 src += CHACHA20_BLOCK_SIZE; in chacha20_doneon()
57 dst += CHACHA20_BLOCK_SIZE; in chacha20_doneon()
76 if (!may_use_simd() || req->cryptlen <= CHACHA20_BLOCK_SIZE) in chacha20_neon()
108 .chunksize = CHACHA20_BLOCK_SIZE,
109 .walksize = 4 * CHACHA20_BLOCK_SIZE,