Home
last modified time | relevance | path

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

/openbmc/linux/crypto/
H A 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()
/openbmc/linux/arch/mips/crypto/
H A 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()
/openbmc/linux/arch/powerpc/crypto/
H A Dchacha-p10-glue.c136 struct chacha_ctx subctx; in xchacha_p10() local
141 hchacha_block_arch(state, subctx.key, ctx->nrounds); in xchacha_p10()
142 subctx.nrounds = ctx->nrounds; in xchacha_p10()
146 return chacha_p10_stream_xor(req, &subctx, real_iv); in xchacha_p10()
/openbmc/linux/arch/arm64/crypto/
H A 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()
/openbmc/linux/arch/x86/crypto/
H A 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()
/openbmc/linux/arch/arm/crypto/
H A 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()