Home
last modified time | relevance | path

Searched refs:real_iv (Results 1 – 5 of 5) sorted by relevance

/linux-6.3-rc2/crypto/
A Dchacha_generic.c54 u8 real_iv[16]; in crypto_xchacha_crypt() local
62 memcpy(&real_iv[0], req->iv + 24, 8); /* stream position */ in crypto_xchacha_crypt()
63 memcpy(&real_iv[8], req->iv + 16, 8); /* remaining 64 nonce bits */ in crypto_xchacha_crypt()
66 return chacha_stream_xor(req, &subctx, real_iv); in crypto_xchacha_crypt()
/linux-6.3-rc2/arch/mips/crypto/
A Dchacha-glue.c68 u8 real_iv[16]; in xchacha_mips() local
75 memcpy(&real_iv[0], req->iv + 24, 8); in xchacha_mips()
76 memcpy(&real_iv[8], req->iv + 16, 8); in xchacha_mips()
77 return chacha_mips_stream_xor(req, &subctx, real_iv); in xchacha_mips()
/linux-6.3-rc2/arch/arm64/crypto/
A Dchacha-neon-glue.c152 u8 real_iv[16]; in xchacha_neon() local
158 memcpy(&real_iv[0], req->iv + 24, 8); in xchacha_neon()
159 memcpy(&real_iv[8], req->iv + 16, 8); in xchacha_neon()
160 return chacha_neon_stream_xor(req, &subctx, real_iv); in xchacha_neon()
/linux-6.3-rc2/arch/x86/crypto/
A Dchacha_glue.c212 u8 real_iv[16]; in xchacha_simd() local
225 memcpy(&real_iv[0], req->iv + 24, 8); in xchacha_simd()
226 memcpy(&real_iv[8], req->iv + 16, 8); in xchacha_simd()
227 return chacha_simd_stream_xor(req, &subctx, real_iv); in xchacha_simd()
/linux-6.3-rc2/arch/arm/crypto/
A Dchacha-glue.c167 u8 real_iv[16]; in do_xchacha() local
180 memcpy(&real_iv[0], req->iv + 24, 8); in do_xchacha()
181 memcpy(&real_iv[8], req->iv + 16, 8); in do_xchacha()
182 return chacha_stream_xor(req, &subctx, real_iv, neon); in do_xchacha()

Completed in 7 milliseconds