Home
last modified time | relevance | path

Searched refs:crypto_alg (Results 1 – 25 of 84) sorted by relevance

1234

/linux/crypto/
H A Dinternal.h29 struct crypto_alg alg;
30 struct crypto_alg *adult;
87 static inline unsigned int crypto_cipher_ctxsize(struct crypto_alg *alg) in crypto_cipher_ctxsize()
92 static inline unsigned int crypto_compress_ctxsize(struct crypto_alg *alg) in crypto_compress_ctxsize()
97 struct crypto_alg *crypto_mod_get(struct crypto_alg *alg);
98 struct crypto_alg *crypto_alg_mod_lookup(const char *name, u32 type, u32 mask);
104 void crypto_remove_spawns(struct crypto_alg *alg, struct list_head *list,
105 struct crypto_alg *nalg);
107 void crypto_shoot_alg(struct crypto_alg *alg);
108 struct crypto_tfm *__crypto_alloc_tfmgfp(struct crypto_alg *alg, u32 type,
[all …]
H A Dapi.c39 static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg);
40 static struct crypto_alg *crypto_alg_lookup(const char *name, u32 type,
43 struct crypto_alg *crypto_mod_get(struct crypto_alg *alg) in crypto_mod_get()
49 void crypto_mod_put(struct crypto_alg *alg) in crypto_mod_put()
58 static struct crypto_alg *__crypto_alg_lookup(const char *name, u32 type, in __crypto_alg_lookup()
61 struct crypto_alg *q, *alg = NULL; in __crypto_alg_lookup()
93 static void crypto_larval_destroy(struct crypto_alg *alg) in crypto_larval_destroy()
125 static struct crypto_alg *crypto_larval_add(const char *name, u32 type, in crypto_larval_add()
128 struct crypto_alg *alg; in crypto_larval_add()
200 static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg) in crypto_larval_wait()
[all …]
H A Dacompress.c26 static inline struct acomp_alg *__crypto_acomp_alg(struct crypto_alg *alg) in __crypto_acomp_alg()
37 struct sk_buff *skb, struct crypto_alg *alg) in crypto_acomp_report()
48 static void crypto_acomp_show(struct seq_file *m, struct crypto_alg *alg)
51 static void crypto_acomp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_acomp_show()
86 static unsigned int crypto_acomp_extsize(struct crypto_alg *alg) in crypto_acomp_extsize()
158 struct crypto_alg *base = &alg->base; in comp_prepare_alg()
165 struct crypto_alg *base = &alg->calg.base; in crypto_register_acomp()
H A Dcrypto_user.c35 static struct crypto_alg *crypto_alg_match(struct crypto_user_alg *p, int exact) in crypto_alg_match()
37 struct crypto_alg *q, *alg = NULL; in crypto_alg_match()
71 static int crypto_report_cipher(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_cipher()
87 static int crypto_report_comp(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_comp()
98 static int crypto_report_one(struct crypto_alg *alg, in crypto_report_one()
153 static int crypto_report_alg(struct crypto_alg *alg, in crypto_report_alg()
188 struct crypto_alg *alg; in crypto_report()
228 struct crypto_alg *alg; in crypto_dump_report()
262 struct crypto_alg *alg; in crypto_update_alg()
298 struct crypto_alg *alg; in crypto_del_alg()
[all …]
H A Dkpp.c21 struct sk_buff *skb, struct crypto_alg *alg) in crypto_kpp_report()
32 static void crypto_kpp_show(struct seq_file *m, struct crypto_alg *alg)
35 static void crypto_kpp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_kpp_show()
108 struct crypto_alg *base = &alg->base; in kpp_prepare_alg()
117 struct crypto_alg *base = &alg->base; in crypto_register_kpp()
H A Drng.c59 static unsigned int seedsize(struct crypto_alg *alg) in seedsize()
67 struct sk_buff *skb, struct crypto_alg *alg) in crypto_rng_report()
80 static void crypto_rng_show(struct seq_file *m, struct crypto_alg *alg)
82 static void crypto_rng_show(struct seq_file *m, struct crypto_alg *alg) in crypto_rng_show()
172 struct crypto_alg *base = &alg->base; in crypto_register_rng()
H A Daead.c135 struct sk_buff *skb, struct crypto_alg *alg) in crypto_aead_report()
152 static void crypto_aead_show(struct seq_file *m, struct crypto_alg *alg)
154 static void crypto_aead_show(struct seq_file *m, struct crypto_alg *alg) in crypto_aead_show()
213 struct crypto_alg *base = &alg->base; in aead_prepare_alg()
231 struct crypto_alg *base = &alg->base; in crypto_register_aead()
H A Dscompress.c41 struct sk_buff *skb, struct crypto_alg *alg) in crypto_scomp_report()
53 static void crypto_scomp_show(struct seq_file *m, struct crypto_alg *alg)
56 static void crypto_scomp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_scomp_show()
209 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_scomp_ops_async()
282 struct crypto_alg *base = &alg->calg.base; in crypto_register_scomp()
H A Dshash.c190 struct sk_buff *skb, struct crypto_alg *alg) in crypto_shash_report()
205 static void crypto_shash_show(struct seq_file *m, struct crypto_alg *alg)
207 static void crypto_shash_show(struct seq_file *m, struct crypto_alg *alg) in crypto_shash_show()
292 struct crypto_alg *base = &alg->base; in hash_prepare_alg()
308 struct crypto_alg *base = &alg->halg.base; in shash_prepare_alg()
349 struct crypto_alg *base = &alg->base; in crypto_register_shash()
H A Dskcipher.c67 struct crypto_alg *alg) in __crypto_skcipher_alg()
591 static unsigned int crypto_skcipher_extsize(struct crypto_alg *alg) in crypto_skcipher_extsize()
607 static void crypto_skcipher_show(struct seq_file *m, struct crypto_alg *alg)
609 static void crypto_skcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_skcipher_show()
626 struct sk_buff *skb, struct crypto_alg *alg) in crypto_skcipher_report()
709 struct crypto_alg *base = &alg->base; in skcipher_prepare_alg_common()
726 struct crypto_alg *base = &alg->base; in skcipher_prepare_alg()
753 struct crypto_alg *base = &alg->base; in crypto_register_skcipher()
876 struct crypto_alg *cipher_alg; in skcipher_alloc_instance_simple()
H A Dlskcipher.c27 struct crypto_alg *alg) in __crypto_lskcipher_alg()
250 struct seq_file *m, struct crypto_alg *alg) in crypto_lskcipher_show()
264 struct sk_buff *skb, struct crypto_alg *alg) in crypto_lskcipher_report()
309 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_lskcipher_ops_sg()
345 struct crypto_alg *base = &alg->co.base; in lskcipher_prepare_alg()
363 struct crypto_alg *base = &alg->co.base; in crypto_register_lskcipher()
H A Dsm4_generic.c57 static struct crypto_alg sm4_alg = {
H A Daes_ti.c52 static struct crypto_alg aes_alg = {
/linux/include/crypto/
H A Dalgapi.h58 unsigned int (*ctxsize)(struct crypto_alg *alg, u32 type, u32 mask);
59 unsigned int (*extsize)(struct crypto_alg *alg);
61 void (*show)(struct seq_file *m, struct crypto_alg *alg);
62 int (*report)(struct sk_buff *skb, struct crypto_alg *alg);
72 struct crypto_alg alg;
100 struct crypto_alg *alg;
138 int crypto_register_alg(struct crypto_alg *alg);
139 void crypto_unregister_alg(struct crypto_alg *alg);
140 int crypto_register_algs(struct crypto_alg *algs, int count);
141 void crypto_unregister_algs(struct crypto_alg *algs, int count);
[all …]
H A Drng.h53 struct crypto_alg base;
99 static inline struct rng_alg *__crypto_rng_alg(struct crypto_alg *alg) in __crypto_rng_alg()
H A Dacompress.h60 struct crypto_alg base; \
112 struct crypto_alg *alg) in __crypto_comp_alg_common()
H A Dkpp.h88 struct crypto_alg base;
119 static inline struct kpp_alg *__crypto_kpp_alg(struct crypto_alg *alg) in __crypto_kpp_alg()
/linux/drivers/crypto/aspeed/
H A Daspeed-hace-crypto.c412 u32 crypto_alg = cmd & HACE_CMD_OP_MODE_MASK; in aspeed_des_crypt() local
416 if (crypto_alg == HACE_CMD_CBC || crypto_alg == HACE_CMD_ECB) { in aspeed_des_crypt()
542 u32 crypto_alg = cmd & HACE_CMD_OP_MODE_MASK; in aspeed_aes_crypt() local
544 if (crypto_alg == HACE_CMD_CBC || crypto_alg == HACE_CMD_ECB) { in aspeed_aes_crypt()
639 struct aspeed_hace_alg *crypto_alg; in aspeed_crypto_cra_init() local
642 crypto_alg = container_of(alg, struct aspeed_hace_alg, alg.skcipher.base); in aspeed_crypto_cra_init()
643 ctx->hace_dev = crypto_alg->hace_dev; in aspeed_crypto_cra_init()
/linux/include/linux/
H A Dcrypto.h343 struct crypto_alg { struct
367 void (*cra_destroy)(struct crypto_alg *alg); argument
431 struct crypto_alg *__crt_alg;
/linux/Documentation/crypto/
H A Ddevel-algos.rst14 filled with each, struct crypto_alg, must be considered -- see below
26 int crypto_register_alg(struct crypto_alg *alg);
27 int crypto_register_algs(struct crypto_alg *algs, int count);
34 void crypto_unregister_alg(struct crypto_alg *alg);
35 void crypto_unregister_algs(struct crypto_alg *algs, int count);
61 crypto_alg field .cra_type is empty. The .cra_u.cipher has to be
/linux/arch/s390/crypto/
H A Ddes_s390.c70 static struct crypto_alg des_alg = {
235 static struct crypto_alg des3_alg = {
398 static struct crypto_alg *des_s390_algs_ptr[2];
403 static int des_s390_register_alg(struct crypto_alg *alg) in des_s390_register_alg()
/linux/arch/powerpc/crypto/
H A Daesp8-ppc.h11 extern struct crypto_alg p8_aes_alg;
/linux/arch/arm/crypto/
H A Daes-cipher-glue.c33 static struct crypto_alg aes_alg = {
/linux/arch/arm64/crypto/
H A Daes-cipher-glue.c31 static struct crypto_alg aes_alg = {
H A Dsm4-ce-cipher-glue.c54 static struct crypto_alg sm4_ce_alg = {

1234