Home
last modified time | relevance | path

Searched refs:chacha_ctx (Results 1 – 9 of 9) sorted by relevance

/linux-6.15/crypto/
H A Dchacha_generic.c16 const struct chacha_ctx *ctx, const u8 *iv) in chacha_stream_xor()
43 struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in crypto_chacha_crypt()
51 struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in crypto_xchacha_crypt()
52 struct chacha_ctx subctx; in crypto_xchacha_crypt()
75 .base.cra_ctxsize = sizeof(struct chacha_ctx),
90 .base.cra_ctxsize = sizeof(struct chacha_ctx),
105 .base.cra_ctxsize = sizeof(struct chacha_ctx),
/linux-6.15/arch/mips/crypto/
H A Dchacha-glue.c24 const struct chacha_ctx *ctx, const u8 *iv) in chacha_mips_stream_xor()
51 struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in chacha_mips()
59 struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in xchacha_mips()
60 struct chacha_ctx subctx; in xchacha_mips()
80 .base.cra_ctxsize = sizeof(struct chacha_ctx),
95 .base.cra_ctxsize = sizeof(struct chacha_ctx),
110 .base.cra_ctxsize = sizeof(struct chacha_ctx),
/linux-6.15/arch/powerpc/crypto/
H A Dchacha-p10-glue.c82 const struct chacha_ctx *ctx, const u8 *iv) in chacha_p10_stream_xor()
121 struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in chacha_p10()
129 struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in xchacha_p10()
130 struct chacha_ctx subctx; in xchacha_p10()
149 .base.cra_ctxsize = sizeof(struct chacha_ctx),
164 .base.cra_ctxsize = sizeof(struct chacha_ctx),
179 .base.cra_ctxsize = sizeof(struct chacha_ctx),
/linux-6.15/arch/arm/crypto/
H A Dchacha-glue.c104 const struct chacha_ctx *ctx, const u8 *iv, in chacha_stream_xor()
140 struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in do_chacha()
158 struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in do_xchacha()
159 struct chacha_ctx subctx; in do_xchacha()
195 .base.cra_ctxsize = sizeof(struct chacha_ctx),
210 .base.cra_ctxsize = sizeof(struct chacha_ctx),
225 .base.cra_ctxsize = sizeof(struct chacha_ctx),
244 .base.cra_ctxsize = sizeof(struct chacha_ctx),
260 .base.cra_ctxsize = sizeof(struct chacha_ctx),
276 .base.cra_ctxsize = sizeof(struct chacha_ctx),
/linux-6.15/arch/arm64/crypto/
H A Dchacha-neon-glue.c99 const struct chacha_ctx *ctx, const u8 *iv) in chacha_neon_stream_xor()
135 struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in chacha_neon()
143 struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in xchacha_neon()
144 struct chacha_ctx subctx; in xchacha_neon()
163 .base.cra_ctxsize = sizeof(struct chacha_ctx),
179 .base.cra_ctxsize = sizeof(struct chacha_ctx),
195 .base.cra_ctxsize = sizeof(struct chacha_ctx),
/linux-6.15/arch/x86/crypto/
H A Dchacha_glue.c158 const struct chacha_ctx *ctx, const u8 *iv) in chacha_simd_stream_xor()
195 struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in chacha_simd()
203 struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in xchacha_simd()
205 struct chacha_ctx subctx; in xchacha_simd()
230 .base.cra_ctxsize = sizeof(struct chacha_ctx),
245 .base.cra_ctxsize = sizeof(struct chacha_ctx),
260 .base.cra_ctxsize = sizeof(struct chacha_ctx),
/linux-6.15/include/crypto/internal/
H A Dchacha.h10 struct chacha_ctx { struct
18 struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in chacha_setkey() argument
/linux-6.15/arch/riscv/crypto/
H A Dchacha-riscv64-glue.c24 const struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in riscv64_chacha20_crypt()
73 .cra_ctxsize = sizeof(struct chacha_ctx),
/linux-6.15/arch/s390/crypto/
H A Dchacha-glue.c37 struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in chacha20_s390()
93 .base.cra_ctxsize = sizeof(struct chacha_ctx),