Searched refs:chacha_ctx (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.4/crypto/ |
| D | chacha_generic.c | 35 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/ |
| D | chacha-neon-glue.c | 66 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/ |
| D | chacha-neon-glue.c | 63 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/ |
| D | chacha_glue.c | 127 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/ |
| D | chacha.h | 32 struct chacha_ctx { struct 44 void crypto_chacha_init(u32 *state, const struct chacha_ctx *ctx, const u8 *iv); argument
|