| /kernel/linux/linux-5.10/crypto/ |
| D | algapi.c | 31 static int crypto_check_alg(struct crypto_alg *alg) in crypto_check_alg() 71 static void crypto_destroy_instance(struct crypto_alg *alg) in crypto_destroy_instance() 89 static struct list_head *crypto_more_spawns(struct crypto_alg *alg, in crypto_more_spawns() 139 void crypto_remove_spawns(struct crypto_alg *alg, struct list_head *list, in crypto_remove_spawns() 219 static struct crypto_larval *__crypto_register_alg(struct crypto_alg *alg) in __crypto_register_alg() 286 struct crypto_alg *alg; in crypto_alg_tested() local 382 struct crypto_alg *alg; in crypto_remove_final() local 412 int crypto_register_alg(struct crypto_alg *alg) in crypto_register_alg() 434 static int crypto_remove_alg(struct crypto_alg *alg, struct list_head *list) in crypto_remove_alg() 447 void crypto_unregister_alg(struct crypto_alg *alg) in crypto_unregister_alg() [all …]
|
| D | api.c | 35 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 …]
|
| D | kpp.c | 24 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()
|
| D | crypto_user_stat.c | 31 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 …]
|
| D | internal.h | 26 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()
|
| D | akcipher.c | 24 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() 123 int crypto_register_akcipher(struct akcipher_alg *alg) in crypto_register_akcipher() 141 void crypto_unregister_akcipher(struct akcipher_alg *alg) in crypto_unregister_akcipher()
|
| D | acompress.c | 27 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()
|
| D | aead.c | 86 struct crypto_alg *alg = aead->base.__crt_alg; in crypto_aead_encrypt() local 103 struct crypto_alg *alg = aead->base.__crt_alg; in crypto_aead_decrypt() local 122 struct aead_alg *alg = crypto_aead_alg(aead); in crypto_aead_exit_tfm() local 130 struct aead_alg *alg = crypto_aead_alg(aead); in crypto_aead_init_tfm() local 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() 171 static void crypto_aead_show(struct seq_file *m, struct crypto_alg *alg) in crypto_aead_show() 220 static int aead_prepare_alg(struct aead_alg *alg) in aead_prepare_alg() 238 int crypto_register_aead(struct aead_alg *alg) in crypto_register_aead() 251 void crypto_unregister_aead(struct aead_alg *alg) in crypto_unregister_aead()
|
| D | rng.c | 33 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()
|
| D | crypto_user_base.c | 38 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 …]
|
| D | ahash.c | 165 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-4.19/crypto/ |
| D | api.c | 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() 63 struct crypto_alg *q, *alg = NULL; in __crypto_alg_lookup() local 100 static void crypto_larval_destroy(struct crypto_alg *alg) in crypto_larval_destroy() 133 struct crypto_alg *alg; in crypto_larval_add() local 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() 199 struct crypto_alg *alg; in crypto_alg_lookup() local 223 struct crypto_alg *alg; in crypto_larval_lookup() local 266 struct crypto_alg *alg; in crypto_alg_mod_lookup() local [all …]
|
| D | kpp.c | 29 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() 53 static void crypto_kpp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_kpp_show() 61 struct kpp_alg *alg = crypto_kpp_alg(kpp); in crypto_kpp_exit_tfm() local 69 struct kpp_alg *alg = crypto_kpp_alg(kpp); in crypto_kpp_init_tfm() local 99 static void kpp_prepare_alg(struct kpp_alg *alg) in kpp_prepare_alg() 108 int crypto_register_kpp(struct kpp_alg *alg) in crypto_register_kpp() 117 void crypto_unregister_kpp(struct kpp_alg *alg) in crypto_unregister_kpp()
|
| D | internal.h | 39 struct crypto_alg alg; member 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() 101 static inline struct crypto_alg *crypto_alg_get(struct crypto_alg *alg) in crypto_alg_get() 107 static inline void crypto_alg_put(struct crypto_alg *alg) in crypto_alg_put() 123 static inline int crypto_is_larval(struct crypto_alg *alg) in crypto_is_larval() 128 static inline int crypto_is_dead(struct crypto_alg *alg) in crypto_is_dead() 133 static inline int crypto_is_moribund(struct crypto_alg *alg) in crypto_is_moribund()
|
| D | akcipher.c | 29 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() 53 static void crypto_akcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_akcipher_show() 61 struct akcipher_alg *alg = crypto_akcipher_alg(akcipher); in crypto_akcipher_exit_tfm() local 69 struct akcipher_alg *alg = crypto_akcipher_alg(akcipher); in crypto_akcipher_init_tfm() local 116 static void akcipher_prepare_alg(struct akcipher_alg *alg) in akcipher_prepare_alg() 125 int crypto_register_akcipher(struct akcipher_alg *alg) in crypto_register_akcipher() 134 void crypto_unregister_akcipher(struct akcipher_alg *alg) in crypto_unregister_akcipher()
|
| D | acompress.c | 32 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() 56 static void crypto_acomp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_acomp_show() 64 struct acomp_alg *alg = crypto_acomp_alg(acomp); in crypto_acomp_exit_tfm() local 72 struct acomp_alg *alg = crypto_acomp_alg(acomp); in crypto_acomp_init_tfm() local 91 static unsigned int crypto_acomp_extsize(struct crypto_alg *alg) in crypto_acomp_extsize() 151 int crypto_register_acomp(struct acomp_alg *alg) in crypto_register_acomp() 163 int crypto_unregister_acomp(struct acomp_alg *alg) in crypto_unregister_acomp()
|
| D | crypto_user.c | 51 struct crypto_alg *q, *alg = NULL; in crypto_alg_match() local 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() local 304 struct crypto_alg *alg; in crypto_dump_report() local [all …]
|
| D | algapi.c | 29 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() 204 static struct crypto_larval *__crypto_register_alg(struct crypto_alg *alg) in __crypto_register_alg() 269 struct crypto_alg *alg; in crypto_alg_tested() local 347 struct crypto_alg *alg; in crypto_remove_final() local 375 int crypto_register_alg(struct crypto_alg *alg) in crypto_register_alg() 397 static int crypto_remove_alg(struct crypto_alg *alg, struct list_head *list) in crypto_remove_alg() [all …]
|
| D | rng.c | 64 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() 97 static void crypto_rng_show(struct seq_file *m, struct crypto_alg *alg) in crypto_rng_show() 183 int crypto_register_rng(struct rng_alg *alg) in crypto_register_rng() 198 void crypto_unregister_rng(struct rng_alg *alg) in crypto_unregister_rng()
|
| D | aead.c | 95 struct aead_alg *alg = crypto_aead_alg(aead); in crypto_aead_exit_tfm() local 103 struct aead_alg *alg = crypto_aead_alg(aead); in crypto_aead_init_tfm() local 119 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() 148 static void crypto_aead_show(struct seq_file *m, struct crypto_alg *alg) in crypto_aead_show() 210 struct aead_alg *alg; in aead_geniv_alloc() local 357 static int aead_prepare_alg(struct aead_alg *alg) in aead_prepare_alg() 375 int crypto_register_aead(struct aead_alg *alg) in crypto_register_aead() 388 void crypto_unregister_aead(struct aead_alg *alg) in crypto_unregister_aead()
|
| D | ahash.c | 201 const struct hash_alg_common *alg = crypto_hash_alg_common(tfm); in ahash_set_needkey() local 464 struct ahash_alg *alg = crypto_ahash_alg(hash); in crypto_ahash_init_tfm() local 487 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() 522 static void crypto_ahash_show(struct seq_file *m, struct crypto_alg *alg) in crypto_ahash_show() 559 static int ahash_prepare_alg(struct ahash_alg *alg) in ahash_prepare_alg() 575 int crypto_register_ahash(struct ahash_alg *alg) in crypto_register_ahash() 588 int crypto_unregister_ahash(struct ahash_alg *alg) in crypto_unregister_ahash() 644 struct hash_alg_common *alg, in crypto_init_ahash_spawn() [all …]
|
| D | ablkcipher.c | 339 static unsigned int crypto_ablkcipher_ctxsize(struct crypto_alg *alg, u32 type, in crypto_ablkcipher_ctxsize() 348 struct ablkcipher_alg *alg = &tfm->__crt_alg->cra_ablkcipher; in crypto_init_ablkcipher_ops() local 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() 395 static void crypto_ablkcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_ablkcipher_show() 422 struct ablkcipher_alg *alg = &tfm->__crt_alg->cra_ablkcipher; in crypto_init_givcipher_ops() local 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() 470 static void crypto_givcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_givcipher_show()
|
| /kernel/linux/linux-5.10/fs/verity/ |
| D | hash_algs.c | 44 struct fsverity_hash_alg *alg; in fsverity_get_hash_alg() local 123 struct ahash_request *fsverity_alloc_hash_request(struct fsverity_hash_alg *alg, in fsverity_alloc_hash_request() 138 void fsverity_free_hash_request(struct fsverity_hash_alg *alg, in fsverity_free_hash_request() 156 const u8 *fsverity_prepare_hash_state(struct fsverity_hash_alg *alg, in fsverity_prepare_hash_state() 281 int fsverity_hash_buffer(struct fsverity_hash_alg *alg, in fsverity_hash_buffer() 313 const struct fsverity_hash_alg *alg = &fsverity_hash_algs[i]; in fsverity_check_hash_algs() local
|
| /kernel/linux/linux-4.19/include/crypto/ |
| D | akcipher.h | 139 static inline struct akcipher_alg *__crypto_akcipher_alg(struct crypto_alg *alg) in __crypto_akcipher_alg() 269 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_maxsize() local 287 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_encrypt() local 305 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_decrypt() local 323 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_sign() local 341 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_verify() local 362 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_set_pub_key() local 383 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_set_priv_key() local
|
| /kernel/linux/linux-5.10/include/crypto/ |
| D | akcipher.h | 139 static inline struct akcipher_alg *__crypto_akcipher_alg(struct crypto_alg *alg) in __crypto_akcipher_alg() 272 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_maxsize() local 290 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_encrypt() local 314 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_decrypt() local 338 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_sign() local 365 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_verify() local 392 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_set_pub_key() local 414 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_set_priv_key() local
|