Home
last modified time | relevance | path

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

123

/linux-4.19.296/crypto/
Dinternal.h39 struct crypto_alg alg;
40 struct crypto_alg *adult;
59 static inline unsigned int crypto_cipher_ctxsize(struct crypto_alg *alg) in crypto_cipher_ctxsize()
64 static inline unsigned int crypto_compress_ctxsize(struct crypto_alg *alg) in crypto_compress_ctxsize()
69 struct crypto_alg *crypto_mod_get(struct crypto_alg *alg);
70 struct crypto_alg *crypto_alg_mod_lookup(const char *name, u32 type, u32 mask);
76 void crypto_larval_kill(struct crypto_alg *alg);
79 void crypto_remove_spawns(struct crypto_alg *alg, struct list_head *list,
80 struct crypto_alg *nalg);
82 struct crypto_tfm *__crypto_alloc_tfm(struct crypto_alg *alg, u32 type,
[all …]
Dapi.c38 static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg);
40 struct crypto_alg *crypto_mod_get(struct crypto_alg *alg) in crypto_mod_get()
46 void crypto_mod_put(struct crypto_alg *alg) in crypto_mod_put()
60 static struct crypto_alg *__crypto_alg_lookup(const char *name, u32 type, in __crypto_alg_lookup()
63 struct crypto_alg *q, *alg = NULL; in __crypto_alg_lookup()
100 static void crypto_larval_destroy(struct crypto_alg *alg) in crypto_larval_destroy()
130 static struct crypto_alg *crypto_larval_add(const char *name, u32 type, in crypto_larval_add()
133 struct crypto_alg *alg; in crypto_larval_add()
159 void crypto_larval_kill(struct crypto_alg *alg) in crypto_larval_kill()
171 static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg) in crypto_larval_wait()
[all …]
Dkpp.c29 static int crypto_kpp_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_kpp_report()
44 static int crypto_kpp_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_kpp_report()
50 static void crypto_kpp_show(struct seq_file *m, struct crypto_alg *alg)
53 static void crypto_kpp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_kpp_show()
101 struct crypto_alg *base = &alg->base; in kpp_prepare_alg()
110 struct crypto_alg *base = &alg->base; in crypto_register_kpp()
Dalgapi.c29 static inline int crypto_set_driver_name(struct crypto_alg *alg) in crypto_set_driver_name()
53 static int crypto_check_alg(struct crypto_alg *alg) in crypto_check_alg()
90 static void crypto_destroy_instance(struct crypto_alg *alg) in crypto_destroy_instance()
99 static struct list_head *crypto_more_spawns(struct crypto_alg *alg, in crypto_more_spawns()
143 void crypto_remove_spawns(struct crypto_alg *alg, struct list_head *list, in crypto_remove_spawns()
144 struct crypto_alg *nalg) in crypto_remove_spawns()
204 static struct crypto_larval *__crypto_register_alg(struct crypto_alg *alg) in __crypto_register_alg()
206 struct crypto_alg *q; in __crypto_register_alg()
269 struct crypto_alg *alg; in crypto_alg_tested()
270 struct crypto_alg *q; in crypto_alg_tested()
[all …]
Dakcipher.c29 static int crypto_akcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_akcipher_report()
44 static int crypto_akcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_akcipher_report()
50 static void crypto_akcipher_show(struct seq_file *m, struct crypto_alg *alg)
53 static void crypto_akcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_akcipher_show()
118 struct crypto_alg *base = &alg->base; in akcipher_prepare_alg()
127 struct crypto_alg *base = &alg->base; in crypto_register_akcipher()
Dcrypto_user.c49 static struct crypto_alg *crypto_alg_match(struct crypto_user_alg *p, int exact) in crypto_alg_match()
51 struct crypto_alg *q, *alg = NULL; in crypto_alg_match()
85 static int crypto_report_cipher(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_cipher()
104 static int crypto_report_comp(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_comp()
118 static int crypto_report_acomp(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_acomp()
133 static int crypto_report_akcipher(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_akcipher()
148 static int crypto_report_kpp(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_kpp()
163 static int crypto_report_one(struct crypto_alg *alg, in crypto_report_one()
230 static int crypto_report_alg(struct crypto_alg *alg, in crypto_report_alg()
264 struct crypto_alg *alg; in crypto_report()
[all …]
Dacompress.c32 static int crypto_acomp_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_acomp_report()
47 static int crypto_acomp_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_acomp_report()
53 static void crypto_acomp_show(struct seq_file *m, struct crypto_alg *alg)
56 static void crypto_acomp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_acomp_show()
91 static unsigned int crypto_acomp_extsize(struct crypto_alg *alg) in crypto_acomp_extsize()
153 struct crypto_alg *base = &alg->base; in crypto_register_acomp()
Drng.c64 static unsigned int seedsize(struct crypto_alg *alg) in seedsize()
72 static int crypto_rng_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_rng_report()
89 static int crypto_rng_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_rng_report()
95 static void crypto_rng_show(struct seq_file *m, struct crypto_alg *alg)
97 static void crypto_rng_show(struct seq_file *m, struct crypto_alg *alg) in crypto_rng_show()
185 struct crypto_alg *base = &alg->base; in crypto_register_rng()
Dscompress.c39 static int crypto_scomp_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_scomp_report()
54 static int crypto_scomp_report(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()
211 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_scomp_ops_async()
282 struct crypto_alg *base = &alg->base; in crypto_register_scomp()
Dablkcipher.c339 static unsigned int crypto_ablkcipher_ctxsize(struct crypto_alg *alg, u32 type, in crypto_ablkcipher_ctxsize()
364 static int crypto_ablkcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_ablkcipher_report()
387 static int crypto_ablkcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_ablkcipher_report()
393 static void crypto_ablkcipher_show(struct seq_file *m, struct crypto_alg *alg)
395 static void crypto_ablkcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_ablkcipher_show()
439 static int crypto_givcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_givcipher_report()
462 static int crypto_givcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_givcipher_report()
468 static void crypto_givcipher_show(struct seq_file *m, struct crypto_alg *alg)
470 static void crypto_givcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_givcipher_show()
Dahash.c487 static unsigned int crypto_ahash_extsize(struct crypto_alg *alg) in crypto_ahash_extsize()
496 static int crypto_ahash_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_ahash_report()
514 static int crypto_ahash_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_ahash_report()
520 static void crypto_ahash_show(struct seq_file *m, struct crypto_alg *alg)
522 static void crypto_ahash_show(struct seq_file *m, struct crypto_alg *alg) in crypto_ahash_show()
561 struct crypto_alg *base = &alg->halg.base; in ahash_prepare_alg()
577 struct crypto_alg *base = &alg->halg.base; in crypto_register_ahash()
654 struct crypto_alg *alg; in ahash_attr_alg()
663 struct crypto_alg *alg = &halg->base; in crypto_hash_alg_has_setkey()
Daead.c119 static int crypto_aead_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_aead_report()
140 static int crypto_aead_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_aead_report()
146 static void crypto_aead_show(struct seq_file *m, struct crypto_alg *alg)
148 static void crypto_aead_show(struct seq_file *m, struct crypto_alg *alg) in crypto_aead_show()
359 struct crypto_alg *base = &alg->base; in aead_prepare_alg()
377 struct crypto_alg *base = &alg->base; in crypto_register_aead()
Dshash.c369 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_shash_ops_async()
421 static int crypto_shash_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_shash_report()
440 static int crypto_shash_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_shash_report()
446 static void crypto_shash_show(struct seq_file *m, struct crypto_alg *alg)
448 static void crypto_shash_show(struct seq_file *m, struct crypto_alg *alg) in crypto_shash_show()
479 struct crypto_alg *base = &alg->base; in shash_prepare_alg()
507 struct crypto_alg *base = &alg->base; in crypto_register_shash()
591 struct crypto_alg *alg; in shash_attr_alg()
Dproc.c43 struct crypto_alg *alg = list_entry(p, struct crypto_alg, cra_list); in c_show()
Dskcipher.c584 static unsigned int crypto_skcipher_extsize(struct crypto_alg *alg) in crypto_skcipher_extsize()
669 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_skcipher_ops_blkcipher()
768 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_skcipher_ops_ablkcipher()
893 static void crypto_skcipher_show(struct seq_file *m, struct crypto_alg *alg)
895 static void crypto_skcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_skcipher_show()
912 static int crypto_skcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_skcipher_report()
935 static int crypto_skcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_skcipher_report()
979 struct crypto_alg *base = &alg->base; in skcipher_prepare_alg()
999 struct crypto_alg *base = &alg->base; in crypto_register_skcipher()
Dblkcipher.c444 static unsigned int crypto_blkcipher_ctxsize(struct crypto_alg *alg, u32 type, in crypto_blkcipher_ctxsize()
506 static int crypto_blkcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_blkcipher_report()
529 static int crypto_blkcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_blkcipher_report()
535 static void crypto_blkcipher_show(struct seq_file *m, struct crypto_alg *alg)
537 static void crypto_blkcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_blkcipher_show()
/linux-4.19.296/include/crypto/
Dalgapi.h35 unsigned int (*ctxsize)(struct crypto_alg *alg, u32 type, u32 mask);
36 unsigned int (*extsize)(struct crypto_alg *alg);
39 void (*show)(struct seq_file *m, struct crypto_alg *alg);
40 int (*report)(struct sk_buff *skb, struct crypto_alg *alg);
50 struct crypto_alg alg;
72 struct crypto_alg *alg;
141 void crypto_mod_put(struct crypto_alg *alg);
151 int crypto_init_spawn(struct crypto_spawn *spawn, struct crypto_alg *alg,
153 int crypto_init_spawn2(struct crypto_spawn *spawn, struct crypto_alg *alg,
173 struct crypto_alg *crypto_attr_alg2(struct rtattr *rta,
[all …]
Dacompress.h88 struct crypto_alg base;
120 static inline struct acomp_alg *__crypto_acomp_alg(struct crypto_alg *alg) in __crypto_acomp_alg()
Dhash.h51 struct crypto_alg base;
197 struct crypto_alg base;
311 struct crypto_alg *alg) in __crypto_hash_alg_common()
735 static inline struct shash_alg *__crypto_shash_alg(struct crypto_alg *alg) in __crypto_shash_alg()
Dkpp.h88 struct crypto_alg base;
117 static inline struct kpp_alg *__crypto_kpp_alg(struct crypto_alg *alg) in __crypto_kpp_alg()
Dakcipher.h106 struct crypto_alg base;
139 static inline struct akcipher_alg *__crypto_akcipher_alg(struct crypto_alg *alg) in __crypto_akcipher_alg()
Drng.h56 struct crypto_alg base;
/linux-4.19.296/include/crypto/internal/
Dhash.h130 static inline struct ahash_alg *__crypto_ahash_alg(struct crypto_alg *alg) in __crypto_ahash_alg()
161 return sizeof(struct ahash_alg) - sizeof(struct crypto_alg); in ahash_instance_headroom()
165 const char *name, struct crypto_alg *alg) in ahash_alloc_instance()
228 const char *name, struct crypto_alg *alg) in shash_alloc_instance()
Dscompress.h42 struct crypto_alg base;
45 static inline struct scomp_alg *__crypto_scomp_alg(struct crypto_alg *alg) in __crypto_scomp_alg()
/linux-4.19.296/include/linux/
Dcrypto.h461 struct crypto_alg { struct
487 void (*cra_destroy)(struct crypto_alg *alg); argument
534 int crypto_register_alg(struct crypto_alg *alg);
535 int crypto_unregister_alg(struct crypto_alg *alg);
536 int crypto_register_algs(struct crypto_alg *algs, int count);
537 int crypto_unregister_algs(struct crypto_alg *algs, int count);
606 struct crypto_alg *__crt_alg;

123