/kernel/linux/linux-5.10/crypto/ |
D | internal.h | 26 struct crypto_alg alg; 27 struct crypto_alg *adult; 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() 56 struct crypto_alg *crypto_mod_get(struct crypto_alg *alg); 57 struct crypto_alg *crypto_alg_mod_lookup(const char *name, u32 type, u32 mask); 60 void crypto_larval_kill(struct crypto_alg *alg); 63 void crypto_remove_spawns(struct crypto_alg *alg, struct list_head *list, 64 struct crypto_alg *nalg); 66 void crypto_shoot_alg(struct crypto_alg *alg); [all …]
|
D | api.c | 33 static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg); 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() 55 static struct crypto_alg *__crypto_alg_lookup(const char *name, u32 type, in __crypto_alg_lookup() 58 struct crypto_alg *q, *alg = NULL; in __crypto_alg_lookup() 95 static void crypto_larval_destroy(struct crypto_alg *alg) in crypto_larval_destroy() 125 static struct crypto_alg *crypto_larval_add(const char *name, u32 type, in crypto_larval_add() 128 struct crypto_alg *alg; in crypto_larval_add() 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() [all …]
|
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() 140 struct crypto_alg *nalg) in crypto_remove_spawns() 219 static struct crypto_larval *__crypto_register_alg(struct crypto_alg *alg) in __crypto_register_alg() 221 struct crypto_alg *q; in __crypto_register_alg() 286 struct crypto_alg *alg; in crypto_alg_tested() 287 struct crypto_alg *q; in crypto_alg_tested() 382 struct crypto_alg *alg; in crypto_remove_final() [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() 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()
|
D | rng.c | 33 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()
|
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() 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() 131 struct crypto_alg *base = &alg->base; in crypto_register_akcipher()
|
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 | 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() 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()
|
D | crypto_user_base.c | 36 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() 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() 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() [all …]
|
D | aead.c | 86 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()
|
D | scompress.c | 42 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()
|
D | ahash.c | 343 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 …]
|
D | proc.c | 38 struct crypto_alg *alg = list_entry(p, struct crypto_alg, cra_list); in c_show()
|
D | shash.c | 379 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()
|
D | skcipher.c | 627 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_skcipher_encrypt() 644 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_skcipher_decrypt() 690 static void crypto_skcipher_show(struct seq_file *m, struct crypto_alg *alg) 692 static void crypto_skcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_skcipher_show() 709 static int crypto_skcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_skcipher_report() 729 static int crypto_skcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_skcipher_report() 797 struct crypto_alg *base = &alg->base; in skcipher_prepare_alg() 817 struct crypto_alg *base = &alg->base; in crypto_register_skcipher() 940 struct crypto_alg *cipher_alg; in skcipher_alloc_instance_simple()
|
/kernel/linux/linux-5.10/include/linux/ |
D | crypto.h | 469 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); 514 void crypto_stats_aead_encrypt(unsigned int cryptlen, struct crypto_alg *alg, int ret); 515 void crypto_stats_aead_decrypt(unsigned int cryptlen, struct crypto_alg *alg, int ret); 516 void crypto_stats_ahash_update(unsigned int nbytes, int ret, struct crypto_alg *alg); 517 void crypto_stats_ahash_final(unsigned int nbytes, int ret, struct crypto_alg *alg); 518 void crypto_stats_akcipher_encrypt(unsigned int src_len, int ret, struct crypto_alg *alg); 519 void crypto_stats_akcipher_decrypt(unsigned int src_len, int ret, struct crypto_alg *alg); [all …]
|
/kernel/linux/linux-5.10/include/crypto/ |
D | algapi.h | 32 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; 99 void crypto_mod_put(struct crypto_alg *alg); 123 struct crypto_alg *alg); 211 static inline struct crypto_alg *crypto_spawn_cipher_alg( in crypto_spawn_cipher_alg()
|
D | akcipher.h | 106 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()
|
D | kpp.h | 83 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()
|
D | acompress.h | 83 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()
|
D | rng.h | 51 struct crypto_alg base; 140 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_rng_generate()
|
D | hash.h | 46 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()
|
/kernel/linux/linux-5.10/include/crypto/internal/ |
D | scompress.h | 37 struct crypto_alg base; 40 static inline struct scomp_alg *__crypto_scomp_alg(struct crypto_alg *alg) in __crypto_scomp_alg()
|
D | cryptouser.h | 5 struct crypto_alg *crypto_alg_match(struct crypto_user_alg *p, int exact);
|
/kernel/linux/linux-5.10/Documentation/crypto/ |
D | devel-algos.rst | 14 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
|