Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/arch/arm/crypto/ !
Dchacha-glue.c165 struct chacha_ctx subctx; in do_xchacha() local
172 hchacha_block_arm(state, subctx.key, ctx->nrounds); in do_xchacha()
175 hchacha_block_neon(state, subctx.key, ctx->nrounds); in do_xchacha()
178 subctx.nrounds = ctx->nrounds; in do_xchacha()
182 return chacha_stream_xor(req, &subctx, real_iv, neon); in do_xchacha()
/linux-6.1.9/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()