Home
last modified time | relevance | path

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

/Linux-v5.4/arch/arm/crypto/
Dchacha-neon-glue.c107 struct chacha_ctx subctx; in xchacha_neon() local
117 hchacha_block_neon(state, subctx.key, ctx->nrounds); in xchacha_neon()
119 subctx.nrounds = ctx->nrounds; in xchacha_neon()
123 return chacha_neon_stream_xor(req, &subctx, real_iv); in xchacha_neon()
/Linux-v5.4/arch/arm64/crypto/
Dchacha-neon-glue.c104 struct chacha_ctx subctx; in xchacha_neon() local
114 hchacha_block_neon(state, subctx.key, ctx->nrounds); in xchacha_neon()
116 subctx.nrounds = ctx->nrounds; in xchacha_neon()
120 return chacha_neon_stream_xor(req, &subctx, real_iv); in xchacha_neon()
/Linux-v5.4/crypto/
Dchacha_generic.c123 struct chacha_ctx subctx; in crypto_xchacha_crypt() local
129 hchacha_block(state, subctx.key, ctx->nrounds); in crypto_xchacha_crypt()
130 subctx.nrounds = ctx->nrounds; in crypto_xchacha_crypt()
137 return chacha_stream_xor(req, &subctx, real_iv); in crypto_xchacha_crypt()
/Linux-v5.4/arch/x86/crypto/
Dchacha_glue.c187 struct chacha_ctx subctx; in xchacha_simd() local
205 hchacha_block_ssse3(state, subctx.key, ctx->nrounds); in xchacha_simd()
206 subctx.nrounds = ctx->nrounds; in xchacha_simd()
210 err = chacha_simd_stream_xor(&walk, &subctx, real_iv); in xchacha_simd()