Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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),
/OK3568_Linux_fs/kernel/arch/mips/crypto/
H A Dchacha-glue.c30 const struct chacha_ctx *ctx, const u8 *iv) in chacha_mips_stream_xor()
57 struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in chacha_mips()
65 struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in xchacha_mips()
66 struct chacha_ctx subctx; in xchacha_mips()
86 .base.cra_ctxsize = sizeof(struct chacha_ctx),
101 .base.cra_ctxsize = sizeof(struct chacha_ctx),
116 .base.cra_ctxsize = sizeof(struct chacha_ctx),
/OK3568_Linux_fs/kernel/arch/arm/crypto/
H A Dchacha-glue.c109 const struct chacha_ctx *ctx, const u8 *iv, in chacha_stream_xor()
145 struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in do_chacha()
163 struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in do_xchacha()
164 struct chacha_ctx subctx; in do_xchacha()
200 .base.cra_ctxsize = sizeof(struct chacha_ctx),
215 .base.cra_ctxsize = sizeof(struct chacha_ctx),
230 .base.cra_ctxsize = sizeof(struct chacha_ctx),
249 .base.cra_ctxsize = sizeof(struct chacha_ctx),
265 .base.cra_ctxsize = sizeof(struct chacha_ctx),
281 .base.cra_ctxsize = sizeof(struct chacha_ctx),
/OK3568_Linux_fs/kernel/arch/arm64/crypto/
H A Dchacha-neon-glue.c105 const struct chacha_ctx *ctx, const u8 *iv) in chacha_neon_stream_xor()
141 struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in chacha_neon()
149 struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in xchacha_neon()
150 struct chacha_ctx subctx; in xchacha_neon()
169 .base.cra_ctxsize = sizeof(struct chacha_ctx),
185 .base.cra_ctxsize = sizeof(struct chacha_ctx),
201 .base.cra_ctxsize = sizeof(struct chacha_ctx),
/OK3568_Linux_fs/kernel/arch/x86/crypto/
H A Dchacha_glue.c164 const struct chacha_ctx *ctx, const u8 *iv) in chacha_simd_stream_xor()
201 struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in chacha_simd()
209 struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in xchacha_simd()
211 struct chacha_ctx subctx; in xchacha_simd()
236 .base.cra_ctxsize = sizeof(struct chacha_ctx),
251 .base.cra_ctxsize = sizeof(struct chacha_ctx),
266 .base.cra_ctxsize = sizeof(struct chacha_ctx),
/OK3568_Linux_fs/kernel/include/crypto/internal/
H A Dchacha.h10 struct chacha_ctx { struct
18 struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in chacha_setkey() argument