Home
last modified time | relevance | path

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

/Linux-v5.4/crypto/
Dchacha_generic.c35 const struct chacha_ctx *ctx, const u8 *iv) in chacha_stream_xor()
59 void crypto_chacha_init(u32 *state, const struct chacha_ctx *ctx, const u8 *iv) in crypto_chacha_init()
83 struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in chacha_setkey()
113 struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in crypto_chacha_crypt()
122 struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in crypto_xchacha_crypt()
123 struct chacha_ctx subctx; in crypto_xchacha_crypt()
147 .base.cra_ctxsize = sizeof(struct chacha_ctx),
162 .base.cra_ctxsize = sizeof(struct chacha_ctx),
177 .base.cra_ctxsize = sizeof(struct chacha_ctx),
/Linux-v5.4/arch/arm/crypto/
Dchacha-neon-glue.c66 const struct chacha_ctx *ctx, const u8 *iv) in chacha_neon_stream_xor()
95 struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in chacha_neon()
106 struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in xchacha_neon()
107 struct chacha_ctx subctx; in xchacha_neon()
132 .base.cra_ctxsize = sizeof(struct chacha_ctx),
148 .base.cra_ctxsize = sizeof(struct chacha_ctx),
164 .base.cra_ctxsize = sizeof(struct chacha_ctx),
/Linux-v5.4/arch/arm64/crypto/
Dchacha-neon-glue.c63 const struct chacha_ctx *ctx, const u8 *iv) in chacha_neon_stream_xor()
92 struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in chacha_neon()
103 struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in xchacha_neon()
104 struct chacha_ctx subctx; in xchacha_neon()
129 .base.cra_ctxsize = sizeof(struct chacha_ctx),
145 .base.cra_ctxsize = sizeof(struct chacha_ctx),
161 .base.cra_ctxsize = sizeof(struct chacha_ctx),
/Linux-v5.4/arch/x86/crypto/
Dchacha_glue.c127 const struct chacha_ctx *ctx, const u8 *iv) in chacha_simd_stream_xor()
165 struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in chacha_simd()
185 struct chacha_ctx *ctx = crypto_skcipher_ctx(tfm); in xchacha_simd()
187 struct chacha_ctx subctx; in xchacha_simd()
223 .base.cra_ctxsize = sizeof(struct chacha_ctx),
238 .base.cra_ctxsize = sizeof(struct chacha_ctx),
253 .base.cra_ctxsize = sizeof(struct chacha_ctx),
/Linux-v5.4/include/crypto/
Dchacha.h32 struct chacha_ctx { struct
44 void crypto_chacha_init(u32 *state, const struct chacha_ctx *ctx, const u8 *iv); argument