Home
last modified time | relevance | path

Searched defs:alg (Results 1 – 25 of 499) sorted by relevance

12345678910>>...20

/kernel/linux/linux-5.10/crypto/
Dalgapi.c32 static int crypto_check_alg(struct crypto_alg *alg) in crypto_check_alg()
82 static void crypto_destroy_instance(struct crypto_alg *alg) in crypto_destroy_instance()
101 static struct list_head *crypto_more_spawns(struct crypto_alg *alg, in crypto_more_spawns()
151 void crypto_remove_spawns(struct crypto_alg *alg, struct list_head *list, in crypto_remove_spawns()
231 static struct crypto_larval *__crypto_register_alg(struct crypto_alg *alg) in __crypto_register_alg()
299 struct crypto_alg *alg; in crypto_alg_tested() local
395 struct crypto_alg *alg; in crypto_remove_final() local
425 int crypto_register_alg(struct crypto_alg *alg) in crypto_register_alg()
447 static int crypto_remove_alg(struct crypto_alg *alg, struct list_head *list) in crypto_remove_alg()
460 void crypto_unregister_alg(struct crypto_alg *alg) in crypto_unregister_alg()
[all …]
Dapi.c35 struct crypto_alg *crypto_mod_get(struct crypto_alg *alg) in crypto_mod_get()
41 void crypto_mod_put(struct crypto_alg *alg) in crypto_mod_put()
58 struct crypto_alg *q, *alg = NULL; in __crypto_alg_lookup() local
95 static void crypto_larval_destroy(struct crypto_alg *alg) in crypto_larval_destroy()
128 struct crypto_alg *alg; in crypto_larval_add() local
154 void crypto_larval_kill(struct crypto_alg *alg) in crypto_larval_kill()
166 static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg) in crypto_larval_wait()
196 struct crypto_alg *alg; in crypto_alg_lookup() local
220 struct crypto_alg *alg; in crypto_larval_lookup() local
263 struct crypto_alg *alg; in crypto_alg_mod_lookup() local
[all …]
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()
97 static int crypto_report_akcipher(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_akcipher()
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()
[all …]
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()
44 static void crypto_kpp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_kpp_show()
52 struct kpp_alg *alg = crypto_kpp_alg(kpp); in crypto_kpp_exit_tfm() local
60 struct kpp_alg *alg = crypto_kpp_alg(kpp); in crypto_kpp_init_tfm() local
90 static void kpp_prepare_alg(struct kpp_alg *alg) in kpp_prepare_alg()
99 int crypto_register_kpp(struct kpp_alg *alg) in crypto_register_kpp()
108 void crypto_unregister_kpp(struct kpp_alg *alg) in crypto_unregister_kpp()
Dinternal.h26 struct crypto_alg alg; member
46 static inline unsigned int crypto_cipher_ctxsize(struct crypto_alg *alg) in crypto_cipher_ctxsize()
51 static inline unsigned int crypto_compress_ctxsize(struct crypto_alg *alg) in crypto_compress_ctxsize()
72 static inline void *crypto_create_tfm(struct crypto_alg *alg, in crypto_create_tfm()
99 static inline struct crypto_alg *crypto_alg_get(struct crypto_alg *alg) in crypto_alg_get()
105 static inline void crypto_alg_put(struct crypto_alg *alg) in crypto_alg_put()
121 static inline int crypto_is_larval(struct crypto_alg *alg) in crypto_is_larval()
126 static inline int crypto_is_dead(struct crypto_alg *alg) in crypto_is_dead()
131 static inline int crypto_is_moribund(struct crypto_alg *alg) in crypto_is_moribund()
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()
45 static void crypto_akcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_akcipher_show()
53 struct akcipher_alg *alg = crypto_akcipher_alg(akcipher); in crypto_akcipher_exit_tfm() local
61 struct akcipher_alg *alg = crypto_akcipher_alg(akcipher); in crypto_akcipher_init_tfm() local
109 static void akcipher_prepare_alg(struct akcipher_alg *alg) in akcipher_prepare_alg()
129 int crypto_register_akcipher(struct akcipher_alg *alg) in crypto_register_akcipher()
149 void crypto_unregister_akcipher(struct akcipher_alg *alg) in crypto_unregister_akcipher()
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()
47 static void crypto_acomp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_acomp_show()
55 struct acomp_alg *alg = crypto_acomp_alg(acomp); in crypto_acomp_exit_tfm() local
63 struct acomp_alg *alg = crypto_acomp_alg(acomp); in crypto_acomp_init_tfm() local
82 static unsigned int crypto_acomp_extsize(struct crypto_alg *alg) in crypto_acomp_extsize()
150 int crypto_register_acomp(struct acomp_alg *alg) in crypto_register_acomp()
162 void crypto_unregister_acomp(struct acomp_alg *alg) in crypto_unregister_acomp()
Daead.c85 struct crypto_alg *alg = aead->base.__crt_alg; in crypto_aead_encrypt() local
102 struct crypto_alg *alg = aead->base.__crt_alg; in crypto_aead_decrypt() local
121 struct aead_alg *alg = crypto_aead_alg(aead); in crypto_aead_exit_tfm() local
129 struct aead_alg *alg = crypto_aead_alg(aead); in crypto_aead_init_tfm() local
145 static int crypto_aead_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_aead_report()
162 static int crypto_aead_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_aead_report()
170 static void crypto_aead_show(struct seq_file *m, struct crypto_alg *alg) in crypto_aead_show()
219 static int aead_prepare_alg(struct aead_alg *alg) in aead_prepare_alg()
237 int crypto_register_aead(struct aead_alg *alg) in crypto_register_aead()
250 void crypto_unregister_aead(struct aead_alg *alg) in crypto_unregister_aead()
Drng.c33 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_rng_reset() local
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()
91 static void crypto_rng_show(struct seq_file *m, struct crypto_alg *alg) in crypto_rng_show()
177 int crypto_register_rng(struct rng_alg *alg) in crypto_register_rng()
192 void crypto_unregister_rng(struct rng_alg *alg) in crypto_unregister_rng()
Dcrypto_user_base.c38 struct crypto_alg *q, *alg = NULL; in crypto_alg_match() local
72 static int crypto_report_cipher(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_cipher()
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() local
229 struct crypto_alg *alg; in crypto_dump_report() local
263 struct crypto_alg *alg; in crypto_update_alg() local
299 struct crypto_alg *alg; in crypto_del_alg() local
339 struct crypto_alg *alg; in crypto_add_alg() local
[all …]
Dahash.c165 const struct hash_alg_common *alg = crypto_hash_alg_common(tfm); in ahash_set_needkey() local
343 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_ahash_final() local
357 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_ahash_finup() local
371 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_ahash_digest() local
450 struct ahash_alg *alg = crypto_ahash_alg(hash); in crypto_ahash_exit_tfm() local
458 struct ahash_alg *alg = crypto_ahash_alg(hash); in crypto_ahash_init_tfm() local
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()
522 static void crypto_ahash_show(struct seq_file *m, struct crypto_alg *alg) in crypto_ahash_show()
[all …]
/kernel/linux/linux-6.6/crypto/
Dapi.c41 struct crypto_alg *crypto_mod_get(struct crypto_alg *alg) in crypto_mod_get()
47 void crypto_mod_put(struct crypto_alg *alg) in crypto_mod_put()
59 struct crypto_alg *q, *alg = NULL; in __crypto_alg_lookup() local
96 static void crypto_larval_destroy(struct crypto_alg *alg) in crypto_larval_destroy()
129 struct crypto_alg *alg; in crypto_larval_add() local
155 void crypto_larval_kill(struct crypto_alg *alg) in crypto_larval_kill()
202 static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg) in crypto_larval_wait()
238 struct crypto_alg *alg; in crypto_alg_lookup() local
274 struct crypto_alg *alg; in crypto_larval_lookup() local
317 struct crypto_alg *alg; in crypto_alg_mod_lookup() local
[all …]
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()
51 static void crypto_acomp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_acomp_show()
59 struct acomp_alg *alg = crypto_acomp_alg(acomp); in crypto_acomp_exit_tfm() local
67 struct acomp_alg *alg = crypto_acomp_alg(acomp); in crypto_acomp_init_tfm() local
86 static unsigned int crypto_acomp_extsize(struct crypto_alg *alg) in crypto_acomp_extsize()
97 struct crypto_alg *alg) in __crypto_acomp_report_stat()
116 int crypto_acomp_report_stat(struct sk_buff *skb, struct crypto_alg *alg) in crypto_acomp_report_stat()
185 void comp_prepare_alg(struct comp_alg_common *alg) in comp_prepare_alg()
196 int crypto_register_acomp(struct acomp_alg *alg) in crypto_register_acomp()
[all …]
Dkpp.c21 struct sk_buff *skb, struct crypto_alg *alg) in crypto_kpp_report()
35 static void crypto_kpp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_kpp_show()
43 struct kpp_alg *alg = crypto_kpp_alg(kpp); in crypto_kpp_exit_tfm() local
51 struct kpp_alg *alg = crypto_kpp_alg(kpp); in crypto_kpp_init_tfm() local
70 struct sk_buff *skb, struct crypto_alg *alg) in crypto_kpp_report_stat()
132 static void kpp_prepare_alg(struct kpp_alg *alg) in kpp_prepare_alg()
145 int crypto_register_kpp(struct kpp_alg *alg) in crypto_register_kpp()
154 void crypto_unregister_kpp(struct kpp_alg *alg) in crypto_unregister_kpp()
Daead.c23 static inline struct crypto_istat_aead *aead_get_stat(struct aead_alg *alg) in aead_get_stat()
106 struct aead_alg *alg = crypto_aead_alg(aead); in crypto_aead_encrypt() local
129 struct aead_alg *alg = crypto_aead_alg(aead); in crypto_aead_decrypt() local
154 struct aead_alg *alg = crypto_aead_alg(aead); in crypto_aead_exit_tfm() local
162 struct aead_alg *alg = crypto_aead_alg(aead); in crypto_aead_init_tfm() local
178 struct sk_buff *skb, struct crypto_alg *alg) in crypto_aead_report()
197 static void crypto_aead_show(struct seq_file *m, struct crypto_alg *alg) in crypto_aead_show()
218 struct sk_buff *skb, struct crypto_alg *alg) in crypto_aead_report_stat()
271 static int aead_prepare_alg(struct aead_alg *alg) in aead_prepare_alg()
293 int crypto_register_aead(struct aead_alg *alg) in crypto_register_aead()
[all …]
Dalgapi.c38 static int crypto_check_alg(struct crypto_alg *alg) in crypto_check_alg()
88 static void crypto_destroy_instance(struct crypto_alg *alg) in crypto_destroy_instance()
107 static struct list_head *crypto_more_spawns(struct crypto_alg *alg, in crypto_more_spawns()
157 void crypto_remove_spawns(struct crypto_alg *alg, struct list_head *list, in crypto_remove_spawns()
237 static void crypto_alg_finish_registration(struct crypto_alg *alg, in crypto_alg_finish_registration()
288 static struct crypto_larval *crypto_alloc_test_larval(struct crypto_alg *alg) in crypto_alloc_test_larval()
317 __crypto_register_alg(struct crypto_alg *alg, struct list_head *algs_to_put) in __crypto_register_alg()
376 struct crypto_alg *alg; in crypto_alg_tested() local
443 struct crypto_alg *alg; in crypto_remove_final() local
453 int crypto_register_alg(struct crypto_alg *alg) in crypto_register_alg()
[all …]
Dinternal.h31 struct crypto_alg alg; member
99 static inline unsigned int crypto_cipher_ctxsize(struct crypto_alg *alg) in crypto_cipher_ctxsize()
104 static inline unsigned int crypto_compress_ctxsize(struct crypto_alg *alg) in crypto_compress_ctxsize()
134 static inline void *crypto_create_tfm(struct crypto_alg *alg, in crypto_create_tfm()
161 static inline struct crypto_alg *crypto_alg_get(struct crypto_alg *alg) in crypto_alg_get()
167 static inline void crypto_alg_put(struct crypto_alg *alg) in crypto_alg_put()
183 static inline int crypto_is_larval(struct crypto_alg *alg) in crypto_is_larval()
188 static inline int crypto_is_dead(struct crypto_alg *alg) in crypto_is_dead()
193 static inline int crypto_is_moribund(struct crypto_alg *alg) in crypto_is_moribund()
Drng.c33 struct rng_alg *alg = crypto_rng_alg(tfm); in crypto_rng_reset() local
65 static unsigned int seedsize(struct crypto_alg *alg) in seedsize()
73 struct sk_buff *skb, struct crypto_alg *alg) in crypto_rng_report()
88 static void crypto_rng_show(struct seq_file *m, struct crypto_alg *alg) in crypto_rng_show()
95 struct sk_buff *skb, struct crypto_alg *alg) in crypto_rng_report_stat()
200 int crypto_register_rng(struct rng_alg *alg) in crypto_register_rng()
219 void crypto_unregister_rng(struct rng_alg *alg) in crypto_unregister_rng()
Dcrypto_user_base.c38 struct crypto_alg *q, *alg = NULL; in crypto_alg_match() local
72 static int crypto_report_cipher(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_cipher()
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() local
229 struct crypto_alg *alg; in crypto_dump_report() local
263 struct crypto_alg *alg; in crypto_update_alg() local
299 struct crypto_alg *alg; in crypto_del_alg() local
339 struct crypto_alg *alg; in crypto_add_alg() local
[all …]
Dahash.c158 const struct hash_alg_common *alg = crypto_hash_alg_common(tfm); in ahash_set_needkey() local
305 struct hash_alg_common *alg = crypto_hash_alg_common(tfm); in crypto_ahash_final() local
317 struct hash_alg_common *alg = crypto_hash_alg_common(tfm); in crypto_ahash_finup() local
333 struct hash_alg_common *alg = crypto_hash_alg_common(tfm); in crypto_ahash_digest() local
417 struct ahash_alg *alg = crypto_ahash_alg(hash); in crypto_ahash_exit_tfm() local
425 struct ahash_alg *alg = crypto_ahash_alg(hash); in crypto_ahash_init_tfm() local
454 static unsigned int crypto_ahash_extsize(struct crypto_alg *alg) in crypto_ahash_extsize()
470 struct sk_buff *skb, struct crypto_alg *alg) in crypto_ahash_report()
486 static void crypto_ahash_show(struct seq_file *m, struct crypto_alg *alg) in crypto_ahash_show()
497 struct sk_buff *skb, struct crypto_alg *alg) in crypto_ahash_report_stat()
[all …]
Dakcipher.c24 struct sk_buff *skb, struct crypto_alg *alg) in crypto_akcipher_report()
39 static void crypto_akcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_akcipher_show()
47 struct akcipher_alg *alg = crypto_akcipher_alg(akcipher); in crypto_akcipher_exit_tfm() local
55 struct akcipher_alg *alg = crypto_akcipher_alg(akcipher); in crypto_akcipher_init_tfm() local
74 struct sk_buff *skb, struct crypto_alg *alg) in crypto_akcipher_report_stat()
132 static void akcipher_prepare_alg(struct akcipher_alg *alg) in akcipher_prepare_alg()
156 int crypto_register_akcipher(struct akcipher_alg *alg) in crypto_register_akcipher()
176 void crypto_unregister_akcipher(struct akcipher_alg *alg) in crypto_unregister_akcipher()
Dcrypto_engine.c77 struct crypto_engine_alg *alg; in crypto_pump_requests() local
572 int crypto_engine_register_aead(struct aead_engine_alg *alg) in crypto_engine_register_aead()
583 void crypto_engine_unregister_aead(struct aead_engine_alg *alg) in crypto_engine_unregister_aead()
617 int crypto_engine_register_ahash(struct ahash_engine_alg *alg) in crypto_engine_register_ahash()
628 void crypto_engine_unregister_ahash(struct ahash_engine_alg *alg) in crypto_engine_unregister_ahash()
663 int crypto_engine_register_akcipher(struct akcipher_engine_alg *alg) in crypto_engine_register_akcipher()
674 void crypto_engine_unregister_akcipher(struct akcipher_engine_alg *alg) in crypto_engine_unregister_akcipher()
680 int crypto_engine_register_kpp(struct kpp_engine_alg *alg) in crypto_engine_register_kpp()
691 void crypto_engine_unregister_kpp(struct kpp_engine_alg *alg) in crypto_engine_unregister_kpp()
697 int crypto_engine_register_skcipher(struct skcipher_engine_alg *alg) in crypto_engine_register_skcipher()
[all …]
Dcrypto_user_stat.c27 static int crypto_report_cipher(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_cipher()
38 static int crypto_report_comp(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_comp()
49 static int crypto_reportstat_one(struct crypto_alg *alg, in crypto_reportstat_one()
106 static int crypto_reportstat_alg(struct crypto_alg *alg, in crypto_reportstat_alg()
141 struct crypto_alg *alg; in crypto_reportstat() local
/kernel/linux/linux-5.10/fs/verity/
Dhash_algs.c46 struct fsverity_hash_alg *alg; in fsverity_get_hash_alg() local
125 struct ahash_request *fsverity_alloc_hash_request(struct fsverity_hash_alg *alg, in fsverity_alloc_hash_request()
140 void fsverity_free_hash_request(struct fsverity_hash_alg *alg, in fsverity_free_hash_request()
158 const u8 *fsverity_prepare_hash_state(struct fsverity_hash_alg *alg, in fsverity_prepare_hash_state()
283 int fsverity_hash_buffer(struct fsverity_hash_alg *alg, in fsverity_hash_buffer()
315 const struct fsverity_hash_alg *alg = &fsverity_hash_algs[i]; in fsverity_check_hash_algs() local
/kernel/linux/linux-6.6/include/crypto/
Dakcipher.h167 static inline struct akcipher_alg *__crypto_akcipher_alg(struct crypto_alg *alg) in __crypto_akcipher_alg()
300 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_maxsize() local
306 struct akcipher_alg *alg) in akcipher_get_stat()
315 static inline int crypto_akcipher_errstat(struct akcipher_alg *alg, int err) in crypto_akcipher_errstat()
339 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_encrypt() local
364 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_decrypt() local
425 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_sign() local
450 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_verify() local
475 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_set_pub_key() local
497 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_set_priv_key() local

12345678910>>...20