Home
last modified time | relevance | path

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

12345

/linux/include/linux/
A Dcrypto.h469 struct crypto_alg { struct
493 void (*cra_destroy)(struct crypto_alg *alg); argument
512 void crypto_stats_init(struct crypto_alg *alg); argument
513 void crypto_stats_get(struct crypto_alg *alg);
527 void crypto_stats_rng_seed(struct crypto_alg *alg, int ret);
532 static inline void crypto_stats_init(struct crypto_alg *alg) in crypto_stats_init()
534 static inline void crypto_stats_get(struct crypto_alg *alg) in crypto_stats_get()
613 int crypto_register_alg(struct crypto_alg *alg);
614 void crypto_unregister_alg(struct crypto_alg *alg);
615 int crypto_register_algs(struct crypto_alg *algs, int count);
[all …]
/linux/crypto/
A Dinternal.h27 struct crypto_alg alg;
28 struct crypto_alg *adult;
72 struct crypto_alg *crypto_mod_get(struct crypto_alg *alg);
76 void crypto_larval_kill(struct crypto_alg *alg);
81 struct crypto_alg *nalg);
83 void crypto_shoot_alg(struct crypto_alg *alg);
86 void *crypto_create_tfm_node(struct crypto_alg *alg,
95 struct crypto_alg *crypto_find_alg(const char *alg_name,
111 unsigned int crypto_alg_extsize(struct crypto_alg *alg);
116 static inline struct crypto_alg *crypto_alg_get(struct crypto_alg *alg) in crypto_alg_get()
[all …]
A Dapi.c37 static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg);
39 struct crypto_alg *crypto_mod_get(struct crypto_alg *alg) in crypto_mod_get()
127 struct crypto_alg *alg; in crypto_larval_add()
203 static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg) in crypto_larval_wait()
236 struct crypto_alg *alg; in crypto_alg_lookup()
260 struct crypto_alg *alg; in crypto_larval_lookup()
303 struct crypto_alg *alg; in crypto_alg_mod_lookup()
304 struct crypto_alg *larval; in crypto_alg_mod_lookup()
448 struct crypto_alg *alg; in crypto_alloc_base()
565 struct crypto_alg *alg; in crypto_alloc_tfm_node()
[all …]
A Dalgapi.c140 struct crypto_alg *nalg) in crypto_remove_spawns()
247 struct crypto_alg *q; in __crypto_register_alg()
303 struct crypto_alg *alg; in crypto_alg_tested()
304 struct crypto_alg *q; in crypto_alg_tested()
399 struct crypto_alg *alg; in crypto_remove_final()
400 struct crypto_alg *n; in crypto_remove_final()
676 struct crypto_alg *alg; in crypto_grab_spawn()
751 struct crypto_alg *alg; in crypto_spawn_tfm()
776 struct crypto_alg *alg; in crypto_spawn_tfm2()
876 struct crypto_alg *alg) in crypto_inst_setname()
[all …]
A Dkpp.c24 static int crypto_kpp_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_kpp_report()
35 static int crypto_kpp_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_kpp_report()
41 static void crypto_kpp_show(struct seq_file *m, struct crypto_alg *alg)
44 static void crypto_kpp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_kpp_show()
92 struct crypto_alg *base = &alg->base; in kpp_prepare_alg()
101 struct crypto_alg *base = &alg->base; in crypto_register_kpp()
A Drng.c33 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_rng_reset()
62 static unsigned int seedsize(struct crypto_alg *alg) in seedsize()
70 static int crypto_rng_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_rng_report()
83 static int crypto_rng_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_rng_report()
89 static void crypto_rng_show(struct seq_file *m, struct crypto_alg *alg)
91 static void crypto_rng_show(struct seq_file *m, struct crypto_alg *alg) in crypto_rng_show()
179 struct crypto_alg *base = &alg->base; in crypto_register_rng()
A Dakcipher.c24 static int crypto_akcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_akcipher_report()
36 static int crypto_akcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_akcipher_report()
42 static void crypto_akcipher_show(struct seq_file *m, struct crypto_alg *alg)
45 static void crypto_akcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_akcipher_show()
111 struct crypto_alg *base = &alg->base; in akcipher_prepare_alg()
125 struct crypto_alg *base = &alg->base; in crypto_register_akcipher()
A Dcrypto_user_stat.c31 static int crypto_report_aead(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_aead()
48 static int crypto_report_cipher(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_cipher()
65 static int crypto_report_comp(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_comp()
81 static int crypto_report_acomp(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_acomp()
116 static int crypto_report_kpp(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_kpp()
132 static int crypto_report_ahash(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_ahash()
147 static int crypto_report_shash(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_shash()
162 static int crypto_report_rng(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_rng()
178 static int crypto_reportstat_one(struct crypto_alg *alg, in crypto_reportstat_one()
265 static int crypto_reportstat_alg(struct crypto_alg *alg, in crypto_reportstat_alg()
[all …]
A Dcrypto_user_base.c36 struct crypto_alg *crypto_alg_match(struct crypto_user_alg *p, int exact) in crypto_alg_match()
38 struct crypto_alg *q, *alg = NULL; in crypto_alg_match()
88 static int crypto_report_comp(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_comp()
99 static int crypto_report_one(struct crypto_alg *alg, in crypto_report_one()
154 static int crypto_report_alg(struct crypto_alg *alg, in crypto_report_alg()
189 struct crypto_alg *alg; in crypto_report()
229 struct crypto_alg *alg; in crypto_dump_report()
263 struct crypto_alg *alg; in crypto_update_alg()
299 struct crypto_alg *alg; in crypto_del_alg()
339 struct crypto_alg *alg; in crypto_add_alg()
[all …]
A Dacompress.c27 static int crypto_acomp_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_acomp_report()
38 static int crypto_acomp_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_acomp_report()
44 static void crypto_acomp_show(struct seq_file *m, struct crypto_alg *alg)
47 static void crypto_acomp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_acomp_show()
82 static unsigned int crypto_acomp_extsize(struct crypto_alg *alg) in crypto_acomp_extsize()
152 struct crypto_alg *base = &alg->base; in crypto_register_acomp()
A Daead.c86 struct crypto_alg *alg = aead->base.__crt_alg; in crypto_aead_encrypt()
103 struct crypto_alg *alg = aead->base.__crt_alg; in crypto_aead_decrypt()
146 static int crypto_aead_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_aead_report()
163 static int crypto_aead_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_aead_report()
169 static void crypto_aead_show(struct seq_file *m, struct crypto_alg *alg)
171 static void crypto_aead_show(struct seq_file *m, struct crypto_alg *alg) in crypto_aead_show()
222 struct crypto_alg *base = &alg->base; in aead_prepare_alg()
240 struct crypto_alg *base = &alg->base; in crypto_register_aead()
A Dahash.c343 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_ahash_final()
357 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_ahash_finup()
371 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_ahash_digest()
484 static unsigned int crypto_ahash_extsize(struct crypto_alg *alg) in crypto_ahash_extsize()
500 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()
570 struct crypto_alg *base = &alg->halg.base; in ahash_prepare_alg()
586 struct crypto_alg *base = &alg->halg.base; in crypto_register_ahash()
[all …]
A Dscompress.c42 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()
188 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_scomp_ops_async()
259 struct crypto_alg *base = &alg->base; in crypto_register_scomp()
A Dshash.c379 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_shash_ops_async()
462 static int crypto_shash_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_shash_report()
477 static int crypto_shash_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_shash_report()
483 static void crypto_shash_show(struct seq_file *m, struct crypto_alg *alg)
485 static void crypto_shash_show(struct seq_file *m, struct crypto_alg *alg) in crypto_shash_show()
526 struct crypto_alg *base = &alg->base; in shash_prepare_alg()
557 struct crypto_alg *base = &alg->base; in crypto_register_shash()
A Dproc.c38 struct crypto_alg *alg = list_entry(p, struct crypto_alg, cra_list); in c_show()
A Dskcipher.c622 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_skcipher_encrypt()
639 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_skcipher_decrypt()
685 static void crypto_skcipher_show(struct seq_file *m, struct crypto_alg *alg)
687 static void crypto_skcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_skcipher_show()
704 static int crypto_skcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_skcipher_report()
724 static int crypto_skcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_skcipher_report()
792 struct crypto_alg *base = &alg->base; in skcipher_prepare_alg()
812 struct crypto_alg *base = &alg->base; in crypto_register_skcipher()
935 struct crypto_alg *cipher_alg; in skcipher_alloc_instance_simple()
/linux/include/crypto/
A Dalgapi.h32 unsigned int (*ctxsize)(struct crypto_alg *alg, u32 type, u32 mask);
33 unsigned int (*extsize)(struct crypto_alg *alg);
36 void (*show)(struct seq_file *m, struct crypto_alg *alg);
37 int (*report)(struct sk_buff *skb, struct crypto_alg *alg);
47 struct crypto_alg alg;
73 struct crypto_alg *alg;
108 void crypto_mod_put(struct crypto_alg *alg);
131 struct crypto_alg *alg);
A Dakcipher.h106 struct crypto_alg base;
139 static inline struct akcipher_alg *__crypto_akcipher_alg(struct crypto_alg *alg) in __crypto_akcipher_alg()
291 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_akcipher_encrypt()
315 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_akcipher_decrypt()
339 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_akcipher_sign()
366 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_akcipher_verify()
A Dkpp.h83 struct crypto_alg base;
112 static inline struct kpp_alg *__crypto_kpp_alg(struct crypto_alg *alg) in __crypto_kpp_alg()
287 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_kpp_set_secret()
313 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_kpp_generate_public_key()
336 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_kpp_compute_shared_secret()
A Dacompress.h83 struct crypto_alg base;
133 static inline struct acomp_alg *__crypto_acomp_alg(struct crypto_alg *alg) in __crypto_acomp_alg()
264 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_acomp_compress()
286 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_acomp_decompress()
A Dhash.h46 struct crypto_alg base;
221 struct crypto_alg base;
335 struct crypto_alg *alg) in __crypto_hash_alg_common()
552 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_ahash_update()
767 static inline struct shash_alg *__crypto_shash_alg(struct crypto_alg *alg) in __crypto_shash_alg()
A Drng.h51 struct crypto_alg base;
140 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_rng_generate()
/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
/linux/include/crypto/internal/
A Dscompress.h37 struct crypto_alg base;
40 static inline struct scomp_alg *__crypto_scomp_alg(struct crypto_alg *alg) in __crypto_scomp_alg()
/linux/arch/s390/crypto/
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()

Completed in 39 milliseconds

12345