Searched refs:CHACHA20_BLOCK_SIZE (Results 1 – 6 of 6) sorted by relevance
32 u8 buf[CHACHA20_BLOCK_SIZE]; in chacha20_dosimd()36 while (bytes >= CHACHA20_BLOCK_SIZE * 8) { in chacha20_dosimd()38 bytes -= CHACHA20_BLOCK_SIZE * 8; in chacha20_dosimd()39 src += CHACHA20_BLOCK_SIZE * 8; in chacha20_dosimd()40 dst += CHACHA20_BLOCK_SIZE * 8; in chacha20_dosimd()45 while (bytes >= CHACHA20_BLOCK_SIZE * 4) { in chacha20_dosimd()47 bytes -= CHACHA20_BLOCK_SIZE * 4; in chacha20_dosimd()48 src += CHACHA20_BLOCK_SIZE * 4; in chacha20_dosimd()49 dst += CHACHA20_BLOCK_SIZE * 4; in chacha20_dosimd()52 while (bytes >= CHACHA20_BLOCK_SIZE) { in chacha20_dosimd()[all …]
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()[all …]
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()[all …]
26 while (bytes >= CHACHA20_BLOCK_SIZE) { in chacha20_docrypt()28 crypto_xor(dst, (const u8 *)stream, CHACHA20_BLOCK_SIZE); in chacha20_docrypt()29 bytes -= CHACHA20_BLOCK_SIZE; in chacha20_docrypt()30 dst += CHACHA20_BLOCK_SIZE; in chacha20_docrypt()113 .chunksize = CHACHA20_BLOCK_SIZE,
15 #define CHACHA20_BLOCK_SIZE 64 macro16 #define CHACHA20_BLOCK_WORDS (CHACHA20_BLOCK_SIZE / sizeof(u32))
1018 if (used + CHACHA20_KEY_SIZE > CHACHA20_BLOCK_SIZE) { in _crng_backtrack_protect()1045 ssize_t ret = 0, i = CHACHA20_BLOCK_SIZE; in extract_crng_user()1060 i = min_t(int, nbytes, CHACHA20_BLOCK_SIZE); in extract_crng_user()1629 while (nbytes >= CHACHA20_BLOCK_SIZE) { in _get_random_bytes()1631 buf += CHACHA20_BLOCK_SIZE; in _get_random_bytes()1632 nbytes -= CHACHA20_BLOCK_SIZE; in _get_random_bytes()1640 crng_backtrack_protect(tmp, CHACHA20_BLOCK_SIZE); in _get_random_bytes()2211 u64 entropy_u64[CHACHA20_BLOCK_SIZE / sizeof(u64)];2212 u32 entropy_u32[CHACHA20_BLOCK_SIZE / sizeof(u32)];