Home
last modified time | relevance | path

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

/linux/crypto/
H 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/arch/mips/crypto/
H 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/arch/powerpc/crypto/
H A Dchacha-p10-glue.c138 u8 real_iv[16]; in xchacha_p10() local
144 memcpy(&real_iv[0], req->iv + 24, 8); in xchacha_p10()
145 memcpy(&real_iv[8], req->iv + 16, 8); in xchacha_p10()
146 return chacha_p10_stream_xor(req, &subctx, real_iv); in xchacha_p10()
/linux/arch/arm64/crypto/
H 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/arch/arm/crypto/
H 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()
/linux/arch/x86/crypto/
H 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()