Home
last modified time | relevance | path

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

12345

/linux-6.15/crypto/
H A Dinternal.h29 struct crypto_alg alg;
30 struct crypto_alg *adult;
38 unsigned int (*extsize)(struct crypto_alg *alg);
40 void (*show)(struct seq_file *m, struct crypto_alg *alg);
43 void (*destroy)(struct crypto_alg *alg);
112 struct crypto_alg *crypto_mod_get(struct crypto_alg *alg);
120 struct crypto_alg *nalg);
122 void crypto_shoot_alg(struct crypto_alg *alg);
127 void *crypto_create_tfm_node(struct crypto_alg *alg,
131 void crypto_destroy_alg(struct crypto_alg *alg);
[all …]
H A Dapi.c39 static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg,
44 struct crypto_alg *crypto_mod_get(struct crypto_alg *alg) in crypto_mod_get()
129 struct crypto_alg *alg; in crypto_larval_add()
201 static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg, in crypto_larval_wait()
248 struct crypto_alg *alg; in crypto_alg_lookup()
284 struct crypto_alg *alg; in crypto_larval_lookup()
331 struct crypto_alg *alg; in crypto_alg_mod_lookup()
332 struct crypto_alg *larval; in crypto_alg_mod_lookup()
466 struct crypto_alg *alg; in crypto_alloc_base()
625 struct crypto_alg *alg; in crypto_alloc_tfm_node()
[all …]
H A Dalgapi.c234 struct crypto_alg *q; in crypto_alg_finish_registration()
290 struct crypto_alg *q; in __crypto_register_alg()
347 struct crypto_alg *alg; in crypto_alg_tested()
348 struct crypto_alg *q; in crypto_alg_tested()
397 struct crypto_alg *alg; in crypto_remove_final()
398 struct crypto_alg *n; in crypto_remove_final()
686 struct crypto_alg *alg; in crypto_grab_spawn()
762 struct crypto_alg *alg; in crypto_spawn_tfm()
787 struct crypto_alg *alg; in crypto_spawn_tfm2()
887 struct crypto_alg *alg) in crypto_inst_setname()
[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 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_one(struct crypto_alg *alg, in crypto_report_one()
137 static int crypto_report_alg(struct crypto_alg *alg, in crypto_report_alg()
172 struct crypto_alg *alg; in crypto_report()
212 struct crypto_alg *alg; in crypto_dump_report()
246 struct crypto_alg *alg; in crypto_update_alg()
282 struct crypto_alg *alg; in crypto_del_alg()
322 struct crypto_alg *alg; in crypto_add_alg()
[all …]
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 Dsig.c48 struct crypto_alg *alg) in crypto_sig_show()
54 struct crypto_alg *alg) in crypto_sig_report()
107 struct crypto_alg *base = &alg->base; in sig_prepare_alg()
133 struct crypto_alg *base = &alg->base; in crypto_register_sig()
H A Dakcipher.c37 struct sk_buff *skb, struct crypto_alg *alg) in crypto_akcipher_report()
49 static void crypto_akcipher_show(struct seq_file *m, struct crypto_alg *alg)
52 static void crypto_akcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_akcipher_show()
120 struct crypto_alg *base = &alg->base; in akcipher_prepare_alg()
140 struct crypto_alg *base = &alg->base; in crypto_register_akcipher()
H A Dscompress.c48 struct sk_buff *skb, struct crypto_alg *alg) in crypto_scomp_report()
60 static void crypto_scomp_show(struct seq_file *m, struct crypto_alg *alg)
63 static void crypto_scomp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_scomp_show()
333 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_scomp_ops_async()
356 static void crypto_scomp_destroy(struct crypto_alg *alg) in crypto_scomp_destroy()
379 struct crypto_alg *base = &alg->calg.base; in scomp_prepare_alg()
388 struct crypto_alg *base = &alg->calg.base; in crypto_register_scomp()
H A Daead.c136 struct sk_buff *skb, struct crypto_alg *alg) in crypto_aead_report()
153 static void crypto_aead_show(struct seq_file *m, struct crypto_alg *alg)
155 static void crypto_aead_show(struct seq_file *m, struct crypto_alg *alg) in crypto_aead_show()
214 struct crypto_alg *base = &alg->base; in aead_prepare_alg()
232 struct crypto_alg *base = &alg->base; in crypto_register_aead()
H A Dacompress.c29 static inline struct acomp_alg *__crypto_acomp_alg(struct crypto_alg *alg) in __crypto_acomp_alg()
40 struct sk_buff *skb, struct crypto_alg *alg) in crypto_acomp_report()
51 static void crypto_acomp_show(struct seq_file *m, struct crypto_alg *alg)
54 static void crypto_acomp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_acomp_show()
116 static unsigned int crypto_acomp_extsize(struct crypto_alg *alg) in crypto_acomp_extsize()
384 struct crypto_alg *base = &alg->base; in comp_prepare_alg()
391 struct crypto_alg *base = &alg->calg.base; in crypto_register_acomp()
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 Dproc.c39 struct crypto_alg *alg = list_entry(p, struct crypto_alg, cra_list); in c_show()
H A Dskcipher.c48 struct crypto_alg *alg) in __crypto_skcipher_alg()
555 static unsigned int crypto_skcipher_extsize(struct crypto_alg *alg) in crypto_skcipher_extsize()
571 static void crypto_skcipher_show(struct seq_file *m, struct crypto_alg *alg)
573 static void crypto_skcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_skcipher_show()
590 struct sk_buff *skb, struct crypto_alg *alg) in crypto_skcipher_report()
674 struct crypto_alg *base = &alg->base; in skcipher_prepare_alg_common()
691 struct crypto_alg *base = &alg->base; in skcipher_prepare_alg()
718 struct crypto_alg *base = &alg->base; in crypto_register_skcipher()
841 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 Dahash.c249 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_ahash_using_shash()
844 static unsigned int crypto_ahash_extsize(struct crypto_alg *alg) in crypto_ahash_extsize()
860 struct sk_buff *skb, struct crypto_alg *alg) in crypto_ahash_report()
874 static void crypto_ahash_show(struct seq_file *m, struct crypto_alg *alg)
876 static void crypto_ahash_show(struct seq_file *m, struct crypto_alg *alg) in crypto_ahash_show()
926 struct crypto_alg *alg = &halg->base; in crypto_hash_alg_has_setkey()
991 struct crypto_alg *base = &alg->halg.base; in ahash_prepare_alg()
1015 struct crypto_alg *base = &alg->halg.base; in crypto_register_ahash()
/linux-6.15/include/crypto/
H A Dalgapi.h60 struct crypto_alg alg;
88 struct crypto_alg *alg;
133 int crypto_register_alg(struct crypto_alg *alg);
134 void crypto_unregister_alg(struct crypto_alg *alg);
135 int crypto_register_algs(struct crypto_alg *algs, int count);
136 void crypto_unregister_algs(struct crypto_alg *algs, int count);
138 void crypto_mod_put(struct crypto_alg *alg);
161 struct crypto_alg *alg);
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 Dsig.h70 struct crypto_alg base;
106 static inline struct sig_alg *__crypto_sig_alg(struct crypto_alg *alg) in __crypto_sig_alg()
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()
H A Dakcipher.h95 struct crypto_alg base;
128 static inline struct akcipher_alg *__crypto_akcipher_alg(struct crypto_alg *alg) in __crypto_akcipher_alg()
/linux-6.15/include/linux/
H A Dcrypto.h328 struct crypto_alg { struct
351 void (*cra_destroy)(struct crypto_alg *alg); argument
415 struct crypto_alg *__crt_alg;
/linux-6.15/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-6.15/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-6.15/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()

12345