Home
last modified time | relevance | path

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

/Linux-v5.10/crypto/
Dchacha_generic.c52 struct chacha_ctx subctx; in crypto_xchacha_crypt() local
58 hchacha_block_generic(state, subctx.key, ctx->nrounds); in crypto_xchacha_crypt()
59 subctx.nrounds = ctx->nrounds; in crypto_xchacha_crypt()
66 return chacha_stream_xor(req, &subctx, real_iv); in crypto_xchacha_crypt()
/Linux-v5.10/arch/mips/crypto/
Dchacha-glue.c66 struct chacha_ctx subctx; in xchacha_mips() local
72 hchacha_block(state, subctx.key, ctx->nrounds); in xchacha_mips()
73 subctx.nrounds = ctx->nrounds; in xchacha_mips()
77 return chacha_mips_stream_xor(req, &subctx, real_iv); in xchacha_mips()
/Linux-v5.10/arch/arm64/crypto/
Dchacha-neon-glue.c150 struct chacha_ctx subctx; in xchacha_neon() local
155 hchacha_block_arch(state, subctx.key, ctx->nrounds); in xchacha_neon()
156 subctx.nrounds = ctx->nrounds; in xchacha_neon()
160 return chacha_neon_stream_xor(req, &subctx, real_iv); in xchacha_neon()
/Linux-v5.10/arch/arm/crypto/
Dchacha-glue.c164 struct chacha_ctx subctx; in do_xchacha() local
171 hchacha_block_arm(state, subctx.key, ctx->nrounds); in do_xchacha()
174 hchacha_block_neon(state, subctx.key, ctx->nrounds); in do_xchacha()
177 subctx.nrounds = ctx->nrounds; in do_xchacha()
181 return chacha_stream_xor(req, &subctx, real_iv, neon); in do_xchacha()
/Linux-v5.10/arch/x86/crypto/
Dchacha_glue.c211 struct chacha_ctx subctx; in xchacha_simd() local
218 hchacha_block_ssse3(state, subctx.key, ctx->nrounds); in xchacha_simd()
221 hchacha_block_generic(state, subctx.key, ctx->nrounds); in xchacha_simd()
223 subctx.nrounds = ctx->nrounds; in xchacha_simd()
227 return chacha_simd_stream_xor(req, &subctx, real_iv); in xchacha_simd()