/Linux-v4.19/crypto/ |
D | internal.h | 39 struct crypto_alg alg; 40 struct crypto_alg *adult; 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() 69 struct crypto_alg *crypto_mod_get(struct crypto_alg *alg); 70 struct crypto_alg *crypto_alg_mod_lookup(const char *name, u32 type, u32 mask); 76 void crypto_larval_kill(struct crypto_alg *alg); 79 void crypto_remove_spawns(struct crypto_alg *alg, struct list_head *list, 80 struct crypto_alg *nalg); 82 void crypto_shoot_alg(struct crypto_alg *alg); [all …]
|
D | api.c | 38 static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg); 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() 60 static struct crypto_alg *__crypto_alg_lookup(const char *name, u32 type, in __crypto_alg_lookup() 63 struct crypto_alg *q, *alg = NULL; in __crypto_alg_lookup() 100 static void crypto_larval_destroy(struct crypto_alg *alg) in crypto_larval_destroy() 130 static struct crypto_alg *crypto_larval_add(const char *name, u32 type, in crypto_larval_add() 133 struct crypto_alg *alg; in crypto_larval_add() 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() [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() 144 struct crypto_alg *nalg) in crypto_remove_spawns() 204 static struct crypto_larval *__crypto_register_alg(struct crypto_alg *alg) in __crypto_register_alg() 206 struct crypto_alg *q; in __crypto_register_alg() 269 struct crypto_alg *alg; in crypto_alg_tested() 270 struct crypto_alg *q; in crypto_alg_tested() [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() 50 static void crypto_kpp_show(struct seq_file *m, struct crypto_alg *alg) 53 static void crypto_kpp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_kpp_show() 101 struct crypto_alg *base = &alg->base; in kpp_prepare_alg() 110 struct crypto_alg *base = &alg->base; in crypto_register_kpp()
|
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() 50 static void crypto_akcipher_show(struct seq_file *m, struct crypto_alg *alg) 53 static void crypto_akcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_akcipher_show() 118 struct crypto_alg *base = &alg->base; in akcipher_prepare_alg() 127 struct crypto_alg *base = &alg->base; in crypto_register_akcipher()
|
D | crypto_user.c | 49 static struct crypto_alg *crypto_alg_match(struct crypto_user_alg *p, int exact) in crypto_alg_match() 51 struct crypto_alg *q, *alg = NULL; in crypto_alg_match() 82 static int crypto_report_cipher(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_cipher() 101 static int crypto_report_comp(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_comp() 115 static int crypto_report_acomp(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_acomp() 130 static int crypto_report_akcipher(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_akcipher() 145 static int crypto_report_kpp(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_kpp() 160 static int crypto_report_one(struct crypto_alg *alg, in crypto_report_one() 227 static int crypto_report_alg(struct crypto_alg *alg, in crypto_report_alg() 261 struct crypto_alg *alg; in crypto_report() [all …]
|
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() 53 static void crypto_acomp_show(struct seq_file *m, struct crypto_alg *alg) 56 static void crypto_acomp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_acomp_show() 91 static unsigned int crypto_acomp_extsize(struct crypto_alg *alg) in crypto_acomp_extsize() 153 struct crypto_alg *base = &alg->base; in crypto_register_acomp()
|
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() 95 static void crypto_rng_show(struct seq_file *m, struct crypto_alg *alg) 97 static void crypto_rng_show(struct seq_file *m, struct crypto_alg *alg) in crypto_rng_show() 185 struct crypto_alg *base = &alg->base; in crypto_register_rng()
|
D | scompress.c | 39 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() 211 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_scomp_ops_async() 282 struct crypto_alg *base = &alg->base; in crypto_register_scomp()
|
D | ablkcipher.c | 339 static unsigned int crypto_ablkcipher_ctxsize(struct crypto_alg *alg, u32 type, in crypto_ablkcipher_ctxsize() 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() 393 static void crypto_ablkcipher_show(struct seq_file *m, struct crypto_alg *alg) 395 static void crypto_ablkcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_ablkcipher_show() 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() 468 static void crypto_givcipher_show(struct seq_file *m, struct crypto_alg *alg) 470 static void crypto_givcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_givcipher_show()
|
D | ahash.c | 477 static unsigned int crypto_ahash_extsize(struct crypto_alg *alg) in crypto_ahash_extsize() 486 static int crypto_ahash_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_ahash_report() 504 static int crypto_ahash_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_ahash_report() 510 static void crypto_ahash_show(struct seq_file *m, struct crypto_alg *alg) 512 static void crypto_ahash_show(struct seq_file *m, struct crypto_alg *alg) in crypto_ahash_show() 551 struct crypto_alg *base = &alg->halg.base; in ahash_prepare_alg() 567 struct crypto_alg *base = &alg->halg.base; in crypto_register_ahash() 644 struct crypto_alg *alg; in ahash_attr_alg() 653 struct crypto_alg *alg = &halg->base; in crypto_hash_alg_has_setkey()
|
D | aead.c | 117 static int crypto_aead_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_aead_report() 138 static int crypto_aead_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_aead_report() 144 static void crypto_aead_show(struct seq_file *m, struct crypto_alg *alg) 146 static void crypto_aead_show(struct seq_file *m, struct crypto_alg *alg) in crypto_aead_show() 357 struct crypto_alg *base = &alg->base; in aead_prepare_alg() 375 struct crypto_alg *base = &alg->base; in crypto_register_aead()
|
D | shash.c | 348 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_shash_ops_async() 401 static int crypto_shash_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_shash_report() 420 static int crypto_shash_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_shash_report() 426 static void crypto_shash_show(struct seq_file *m, struct crypto_alg *alg) 428 static void crypto_shash_show(struct seq_file *m, struct crypto_alg *alg) in crypto_shash_show() 459 struct crypto_alg *base = &alg->base; in shash_prepare_alg() 487 struct crypto_alg *base = &alg->base; in crypto_register_shash() 571 struct crypto_alg *alg; in shash_attr_alg()
|
D | proc.c | 43 struct crypto_alg *alg = list_entry(p, struct crypto_alg, cra_list); in c_show()
|
/Linux-v4.19/drivers/crypto/vmx/ |
D | vmx.c | 32 extern struct crypto_alg p8_aes_alg; 33 extern struct crypto_alg p8_aes_cbc_alg; 34 extern struct crypto_alg p8_aes_ctr_alg; 35 extern struct crypto_alg p8_aes_xts_alg; 36 static struct crypto_alg *algs[] = { 47 struct crypto_alg **alg_it; in p8_init() 72 struct crypto_alg **alg_it; in p8_exit()
|
/Linux-v4.19/include/crypto/ |
D | algapi.h | 35 unsigned int (*ctxsize)(struct crypto_alg *alg, u32 type, u32 mask); 36 unsigned int (*extsize)(struct crypto_alg *alg); 39 void (*show)(struct seq_file *m, struct crypto_alg *alg); 40 int (*report)(struct sk_buff *skb, struct crypto_alg *alg); 50 struct crypto_alg alg; 72 struct crypto_alg *alg; 141 void crypto_mod_put(struct crypto_alg *alg); 151 int crypto_init_spawn(struct crypto_spawn *spawn, struct crypto_alg *alg, 153 int crypto_init_spawn2(struct crypto_spawn *spawn, struct crypto_alg *alg, 173 struct crypto_alg *crypto_attr_alg2(struct rtattr *rta, [all …]
|
D | hash.h | 51 struct crypto_alg base; 197 struct crypto_alg base; 309 struct crypto_alg *alg) in __crypto_hash_alg_common() 731 static inline struct shash_alg *__crypto_shash_alg(struct crypto_alg *alg) in __crypto_shash_alg()
|
D | acompress.h | 88 struct crypto_alg base; 120 static inline struct acomp_alg *__crypto_acomp_alg(struct crypto_alg *alg) in __crypto_acomp_alg()
|
/Linux-v4.19/arch/s390/crypto/ |
D | des_s390.c | 65 static struct crypto_alg des_alg = { 147 static struct crypto_alg ecb_des_alg = { 187 static struct crypto_alg cbc_des_alg = { 265 static struct crypto_alg des3_alg = { 305 static struct crypto_alg ecb_des3_alg = { 346 static struct crypto_alg cbc_des3_alg = { 439 static struct crypto_alg ctr_des_alg = { 481 static struct crypto_alg ctr_des3_alg = { 502 static struct crypto_alg *des_s390_algs_ptr[8]; 505 static int des_s390_register_alg(struct crypto_alg *alg) in des_s390_register_alg()
|
/Linux-v4.19/include/crypto/internal/ |
D | hash.h | 136 static inline struct ahash_alg *__crypto_ahash_alg(struct crypto_alg *alg) in __crypto_ahash_alg() 167 return sizeof(struct ahash_alg) - sizeof(struct crypto_alg); in ahash_instance_headroom() 171 const char *name, struct crypto_alg *alg) in ahash_alloc_instance() 234 const char *name, struct crypto_alg *alg) in shash_alloc_instance()
|
D | scompress.h | 42 struct crypto_alg base; 45 static inline struct scomp_alg *__crypto_scomp_alg(struct crypto_alg *alg) in __crypto_scomp_alg()
|
/Linux-v4.19/drivers/crypto/ccp/ |
D | ccp-crypto.h | 39 struct crypto_alg alg; 72 struct crypto_alg *alg = tfm->__crt_alg; in ccp_crypto_ablkcipher_alg() 80 struct crypto_alg *alg = tfm->__crt_alg; in ccp_crypto_ahash_alg()
|
D | ccp-crypto-aes.c | 218 static struct crypto_alg ccp_aes_defaults = { 239 static struct crypto_alg ccp_aes_rfc3686_defaults = { 267 struct crypto_alg *alg_defaults; 331 struct crypto_alg *alg; in ccp_register_aes_alg()
|
/Linux-v4.19/drivers/crypto/nx/ |
D | nx.h | 189 extern struct crypto_alg nx_cbc_aes_alg; 190 extern struct crypto_alg nx_ecb_aes_alg; 193 extern struct crypto_alg nx_ctr3686_aes_alg;
|
/Linux-v4.19/include/linux/ |
D | crypto.h | 461 struct crypto_alg { struct 487 void (*cra_destroy)(struct crypto_alg *alg); argument 534 int crypto_register_alg(struct crypto_alg *alg); 535 int crypto_unregister_alg(struct crypto_alg *alg); 536 int crypto_register_algs(struct crypto_alg *algs, int count); 537 int crypto_unregister_algs(struct crypto_alg *algs, int count); 606 struct crypto_alg *__crt_alg;
|