Home
last modified time | relevance | path

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

12345

/linux/crypto/
A Dinternal.h31 struct crypto_alg alg;
32 struct crypto_alg *adult;
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,
142 struct crypto_alg *crypto_find_alg(const char *alg_name,
158 unsigned int crypto_alg_extsize(struct crypto_alg *alg);
163 static inline struct crypto_alg *crypto_alg_get(struct crypto_alg *alg) in crypto_alg_get()
169 static inline void crypto_alg_put(struct crypto_alg *alg) in crypto_alg_put()
[all …]
A Dapi.c39 static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg);
43 struct crypto_alg *crypto_mod_get(struct crypto_alg *alg) in crypto_mod_get()
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()
251 struct crypto_alg *alg; in crypto_alg_lookup()
287 struct crypto_alg *alg; in crypto_larval_lookup()
334 struct crypto_alg *alg; in crypto_alg_mod_lookup()
335 struct crypto_alg *larval; in crypto_alg_mod_lookup()
473 struct crypto_alg *alg; in crypto_alloc_base()
632 struct crypto_alg *alg; in crypto_alloc_tfm_node()
[all …]
A Dalgapi.c240 struct crypto_alg *q; in crypto_alg_finish_registration()
296 struct crypto_alg *q; in __crypto_register_alg()
353 struct crypto_alg *alg; in crypto_alg_tested()
354 struct crypto_alg *q; in crypto_alg_tested()
403 struct crypto_alg *alg; in crypto_remove_final()
404 struct crypto_alg *n; in crypto_remove_final()
687 struct crypto_alg *alg; in crypto_grab_spawn()
763 struct crypto_alg *alg; in crypto_spawn_tfm()
788 struct crypto_alg *alg; in crypto_spawn_tfm2()
888 struct crypto_alg *alg) in crypto_inst_setname()
[all …]
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()
A Dcrypto_user.c37 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()
338 struct crypto_alg *alg; in crypto_add_alg()
[all …]
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()
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()
A Dakcipher.c24 struct sk_buff *skb, struct crypto_alg *alg) in crypto_akcipher_report()
36 static void crypto_akcipher_show(struct seq_file *m, struct crypto_alg *alg)
39 static void crypto_akcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_akcipher_show()
107 struct crypto_alg *base = &alg->base; in akcipher_prepare_alg()
127 struct crypto_alg *base = &alg->base; in crypto_register_akcipher()
261 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_akcipher_ops_sig()
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()
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()
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()
A Dahash.c115 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_ahash_using_shash()
488 static unsigned int crypto_ahash_extsize(struct crypto_alg *alg) in crypto_ahash_extsize()
504 struct sk_buff *skb, struct crypto_alg *alg) in crypto_ahash_report()
518 static void crypto_ahash_show(struct seq_file *m, struct crypto_alg *alg)
520 static void crypto_ahash_show(struct seq_file *m, struct crypto_alg *alg) in crypto_ahash_show()
570 struct crypto_alg *alg = &halg->base; in crypto_hash_alg_has_setkey()
635 struct crypto_alg *base = &alg->halg.base; in ahash_prepare_alg()
658 struct crypto_alg *base = &alg->halg.base; in crypto_register_ahash()
A Dproc.c39 struct crypto_alg *alg = list_entry(p, struct crypto_alg, cra_list); in c_show()
A Dsig.c33 struct crypto_alg *alg) in crypto_sig_show()
39 struct crypto_alg *alg) in crypto_sig_report()
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()
A Dskcipher.c87 struct crypto_alg *alg) in __crypto_skcipher_alg()
754 static unsigned int crypto_skcipher_extsize(struct crypto_alg *alg) in crypto_skcipher_extsize()
770 static void crypto_skcipher_show(struct seq_file *m, struct crypto_alg *alg)
772 static void crypto_skcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_skcipher_show()
789 struct sk_buff *skb, struct crypto_alg *alg) in crypto_skcipher_report()
872 struct crypto_alg *base = &alg->base; in skcipher_prepare_alg_common()
889 struct crypto_alg *base = &alg->base; in skcipher_prepare_alg()
916 struct crypto_alg *base = &alg->base; in crypto_register_skcipher()
1039 struct crypto_alg *cipher_alg; in skcipher_alloc_instance_simple()
/linux/include/crypto/
A Dalgapi.h59 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);
143 void crypto_mod_put(struct crypto_alg *alg);
[all …]
A Drng.h53 struct crypto_alg base;
99 static inline struct rng_alg *__crypto_rng_alg(struct crypto_alg *alg) in __crypto_rng_alg()
A Dacompress.h60 struct crypto_alg base; \
112 struct crypto_alg *alg) in __crypto_comp_alg_common()
A Dkpp.h88 struct crypto_alg base;
119 static inline struct kpp_alg *__crypto_kpp_alg(struct crypto_alg *alg) in __crypto_kpp_alg()
A Dakcipher.h109 struct crypto_alg base;
142 static inline struct akcipher_alg *__crypto_akcipher_alg(struct crypto_alg *alg) in __crypto_akcipher_alg()
A Dhash.h47 struct crypto_alg base; \
325 struct crypto_alg *alg) in __crypto_hash_alg_common()
726 static inline struct shash_alg *__crypto_shash_alg(struct crypto_alg *alg) in __crypto_shash_alg()
/linux/include/linux/
A Dcrypto.h343 struct crypto_alg { struct
367 void (*cra_destroy)(struct crypto_alg *alg); argument
431 struct crypto_alg *__crt_alg;
/linux/drivers/crypto/aspeed/
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/Documentation/crypto/
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

Completed in 43 milliseconds

12345