/linux-6.12.1/crypto/ |
D | internal.h | 31 struct crypto_alg alg; 32 struct crypto_alg *adult; 102 static inline unsigned int crypto_cipher_ctxsize(struct crypto_alg *alg) in crypto_cipher_ctxsize() 107 static inline unsigned int crypto_compress_ctxsize(struct crypto_alg *alg) in crypto_compress_ctxsize() 112 struct crypto_alg *crypto_mod_get(struct crypto_alg *alg); 113 struct crypto_alg *crypto_alg_mod_lookup(const char *name, u32 type, u32 mask); 119 void crypto_remove_spawns(struct crypto_alg *alg, struct list_head *list, 120 struct crypto_alg *nalg); 122 void crypto_shoot_alg(struct crypto_alg *alg); 123 struct crypto_tfm *__crypto_alloc_tfmgfp(struct crypto_alg *alg, u32 type, [all …]
|
D | api.c | 39 static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg); 40 static struct crypto_alg *crypto_alg_lookup(const char *name, u32 type, 43 struct crypto_alg *crypto_mod_get(struct crypto_alg *alg) in crypto_mod_get() 49 void crypto_mod_put(struct crypto_alg *alg) in crypto_mod_put() 58 static struct crypto_alg *__crypto_alg_lookup(const char *name, u32 type, in __crypto_alg_lookup() 61 struct crypto_alg *q, *alg = NULL; in __crypto_alg_lookup() 93 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() 200 static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg) in crypto_larval_wait() [all …]
|
D | algapi.c | 38 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() 158 struct crypto_alg *nalg) in crypto_remove_spawns() 237 static void crypto_alg_finish_registration(struct crypto_alg *alg, in crypto_alg_finish_registration() 240 struct crypto_alg *q; in crypto_alg_finish_registration() 265 static struct crypto_larval *crypto_alloc_test_larval(struct crypto_alg *alg) in crypto_alloc_test_larval() 294 __crypto_register_alg(struct crypto_alg *alg, struct list_head *algs_to_put) in __crypto_register_alg() 296 struct crypto_alg *q; in __crypto_register_alg() [all …]
|
D | acompress.c | 26 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() 48 static void crypto_acomp_show(struct seq_file *m, struct crypto_alg *alg) 51 static void crypto_acomp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_acomp_show() 86 static unsigned int crypto_acomp_extsize(struct crypto_alg *alg) in crypto_acomp_extsize() 158 struct crypto_alg *base = &alg->base; in comp_prepare_alg() 165 struct crypto_alg *base = &alg->calg.base; in crypto_register_acomp()
|
D | crypto_user.c | 35 static struct crypto_alg *crypto_alg_match(struct crypto_user_alg *p, int exact) in crypto_alg_match() 37 struct crypto_alg *q, *alg = NULL; in crypto_alg_match() 71 static int crypto_report_cipher(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_cipher() 87 static int crypto_report_comp(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_comp() 98 static int crypto_report_one(struct crypto_alg *alg, in crypto_report_one() 153 static int crypto_report_alg(struct crypto_alg *alg, in crypto_report_alg() 188 struct crypto_alg *alg; in crypto_report() 228 struct crypto_alg *alg; in crypto_dump_report() 262 struct crypto_alg *alg; in crypto_update_alg() 298 struct crypto_alg *alg; in crypto_del_alg() [all …]
|
D | kpp.c | 21 struct sk_buff *skb, struct crypto_alg *alg) in crypto_kpp_report() 32 static void crypto_kpp_show(struct seq_file *m, struct crypto_alg *alg) 35 static void crypto_kpp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_kpp_show() 108 struct crypto_alg *base = &alg->base; in kpp_prepare_alg() 117 struct crypto_alg *base = &alg->base; in crypto_register_kpp()
|
D | rng.c | 59 static unsigned int seedsize(struct crypto_alg *alg) in seedsize() 67 struct sk_buff *skb, struct crypto_alg *alg) in crypto_rng_report() 80 static void crypto_rng_show(struct seq_file *m, struct crypto_alg *alg) 82 static void crypto_rng_show(struct seq_file *m, struct crypto_alg *alg) in crypto_rng_show() 172 struct crypto_alg *base = &alg->base; in crypto_register_rng()
|
D | akcipher.c | 24 struct sk_buff *skb, struct crypto_alg *alg) in crypto_akcipher_report() 36 static void crypto_akcipher_show(struct seq_file *m, struct crypto_alg *alg) 39 static void crypto_akcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_akcipher_show() 107 struct crypto_alg *base = &alg->base; in akcipher_prepare_alg() 127 struct crypto_alg *base = &alg->base; in crypto_register_akcipher() 261 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_akcipher_ops_sig()
|
D | aead.c | 135 struct sk_buff *skb, struct crypto_alg *alg) in crypto_aead_report() 152 static void crypto_aead_show(struct seq_file *m, struct crypto_alg *alg) 154 static void crypto_aead_show(struct seq_file *m, struct crypto_alg *alg) in crypto_aead_show() 213 struct crypto_alg *base = &alg->base; in aead_prepare_alg() 231 struct crypto_alg *base = &alg->base; in crypto_register_aead()
|
D | scompress.c | 41 struct sk_buff *skb, struct crypto_alg *alg) in crypto_scomp_report() 53 static void crypto_scomp_show(struct seq_file *m, struct crypto_alg *alg) 56 static void crypto_scomp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_scomp_show() 209 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_scomp_ops_async() 282 struct crypto_alg *base = &alg->calg.base; in crypto_register_scomp()
|
D | shash.c | 190 struct sk_buff *skb, struct crypto_alg *alg) in crypto_shash_report() 205 static void crypto_shash_show(struct seq_file *m, struct crypto_alg *alg) 207 static void crypto_shash_show(struct seq_file *m, struct crypto_alg *alg) in crypto_shash_show() 292 struct crypto_alg *base = &alg->base; in hash_prepare_alg() 308 struct crypto_alg *base = &alg->halg.base; in shash_prepare_alg() 349 struct crypto_alg *base = &alg->base; in crypto_register_shash()
|
D | ahash.c | 115 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_ahash_using_shash() 488 static unsigned int crypto_ahash_extsize(struct crypto_alg *alg) in crypto_ahash_extsize() 504 struct sk_buff *skb, struct crypto_alg *alg) in crypto_ahash_report() 518 static void crypto_ahash_show(struct seq_file *m, struct crypto_alg *alg) 520 static void crypto_ahash_show(struct seq_file *m, struct crypto_alg *alg) in crypto_ahash_show() 570 struct crypto_alg *alg = &halg->base; in crypto_hash_alg_has_setkey() 635 struct crypto_alg *base = &alg->halg.base; in ahash_prepare_alg() 658 struct crypto_alg *base = &alg->halg.base; in crypto_register_ahash()
|
D | proc.c | 39 struct crypto_alg *alg = list_entry(p, struct crypto_alg, cra_list); in c_show()
|
D | sig.c | 33 struct crypto_alg *alg) in crypto_sig_show() 39 struct crypto_alg *alg) in crypto_sig_report()
|
D | lskcipher.c | 27 struct crypto_alg *alg) in __crypto_lskcipher_alg() 250 struct seq_file *m, struct crypto_alg *alg) in crypto_lskcipher_show() 264 struct sk_buff *skb, struct crypto_alg *alg) in crypto_lskcipher_report() 309 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_lskcipher_ops_sg() 345 struct crypto_alg *base = &alg->co.base; in lskcipher_prepare_alg() 363 struct crypto_alg *base = &alg->co.base; in crypto_register_lskcipher()
|
D | skcipher.c | 87 struct crypto_alg *alg) in __crypto_skcipher_alg() 754 static unsigned int crypto_skcipher_extsize(struct crypto_alg *alg) in crypto_skcipher_extsize() 770 static void crypto_skcipher_show(struct seq_file *m, struct crypto_alg *alg) 772 static void crypto_skcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_skcipher_show() 789 struct sk_buff *skb, struct crypto_alg *alg) in crypto_skcipher_report() 872 struct crypto_alg *base = &alg->base; in skcipher_prepare_alg_common() 889 struct crypto_alg *base = &alg->base; in skcipher_prepare_alg() 916 struct crypto_alg *base = &alg->base; in crypto_register_skcipher() 1039 struct crypto_alg *cipher_alg; in skcipher_alloc_instance_simple()
|
/linux-6.12.1/include/crypto/ |
D | algapi.h | 58 unsigned int (*ctxsize)(struct crypto_alg *alg, u32 type, u32 mask); 59 unsigned int (*extsize)(struct crypto_alg *alg); 61 void (*show)(struct seq_file *m, struct crypto_alg *alg); 62 int (*report)(struct sk_buff *skb, struct crypto_alg *alg); 72 struct crypto_alg alg; 100 struct crypto_alg *alg; 138 int crypto_register_alg(struct crypto_alg *alg); 139 void crypto_unregister_alg(struct crypto_alg *alg); 140 int crypto_register_algs(struct crypto_alg *algs, int count); 141 void crypto_unregister_algs(struct crypto_alg *algs, int count); [all …]
|
D | rng.h | 53 struct crypto_alg base; 99 static inline struct rng_alg *__crypto_rng_alg(struct crypto_alg *alg) in __crypto_rng_alg()
|
D | acompress.h | 60 struct crypto_alg base; \ 112 struct crypto_alg *alg) in __crypto_comp_alg_common()
|
D | kpp.h | 88 struct crypto_alg base; 119 static inline struct kpp_alg *__crypto_kpp_alg(struct crypto_alg *alg) in __crypto_kpp_alg()
|
D | hash.h | 47 struct crypto_alg base; \ 325 struct crypto_alg *alg) in __crypto_hash_alg_common() 726 static inline struct shash_alg *__crypto_shash_alg(struct crypto_alg *alg) in __crypto_shash_alg()
|
/linux-6.12.1/include/linux/ |
D | crypto.h | 343 struct crypto_alg { struct 367 void (*cra_destroy)(struct crypto_alg *alg); argument 431 struct crypto_alg *__crt_alg;
|
/linux-6.12.1/drivers/crypto/aspeed/ |
D | aspeed-hace-crypto.c | 412 u32 crypto_alg = cmd & HACE_CMD_OP_MODE_MASK; in aspeed_des_crypt() local 416 if (crypto_alg == HACE_CMD_CBC || crypto_alg == HACE_CMD_ECB) { in aspeed_des_crypt() 542 u32 crypto_alg = cmd & HACE_CMD_OP_MODE_MASK; in aspeed_aes_crypt() local 544 if (crypto_alg == HACE_CMD_CBC || crypto_alg == HACE_CMD_ECB) { in aspeed_aes_crypt() 639 struct aspeed_hace_alg *crypto_alg; in aspeed_crypto_cra_init() local 642 crypto_alg = container_of(alg, struct aspeed_hace_alg, alg.skcipher.base); in aspeed_crypto_cra_init() 643 ctx->hace_dev = crypto_alg->hace_dev; in aspeed_crypto_cra_init()
|
/linux-6.12.1/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
|
/linux-6.12.1/arch/s390/crypto/ |
D | des_s390.c | 70 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()
|