/openbmc/linux/crypto/ |
H A D | internal.h | 31 struct crypto_alg alg; 32 struct crypto_alg *adult; 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() 109 struct crypto_alg *crypto_mod_get(struct crypto_alg *alg); 110 struct crypto_alg *crypto_alg_mod_lookup(const char *name, u32 type, u32 mask); 113 void crypto_larval_kill(struct crypto_alg *alg); 117 void crypto_remove_spawns(struct crypto_alg *alg, struct list_head *list, 118 struct crypto_alg *nalg); 120 void crypto_shoot_alg(struct crypto_alg *alg); [all …]
|
H A D | api.c | 39 static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg); 41 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() 56 static struct crypto_alg *__crypto_alg_lookup(const char *name, u32 type, in __crypto_alg_lookup() 59 struct crypto_alg *q, *alg = NULL; in __crypto_alg_lookup() 96 static void crypto_larval_destroy(struct crypto_alg *alg) in crypto_larval_destroy() 126 static struct crypto_alg *crypto_larval_add(const char *name, u32 type, in crypto_larval_add() 129 struct crypto_alg *alg; in crypto_larval_add() 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() [all …]
|
H A 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() 241 struct crypto_alg *q; 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() 319 struct crypto_alg *q; in __crypto_register_alg() [all …]
|
H A 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() 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() 188 struct crypto_alg *base = &alg->base; in comp_prepare_alg() 198 struct crypto_alg *base = &alg->calg.base; in crypto_register_acomp()
|
H A 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() 70 struct sk_buff *skb, struct crypto_alg *alg) in crypto_kpp_report_stat() 135 struct crypto_alg *base = &alg->base; in kpp_prepare_alg() 147 struct crypto_alg *base = &alg->base; in crypto_register_kpp()
|
H A 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 …]
|
H A D | rng.c | 65 static unsigned int seedsize(struct crypto_alg *alg) in seedsize() 73 struct sk_buff *skb, struct crypto_alg *alg) in crypto_rng_report() 86 static void crypto_rng_show(struct seq_file *m, struct crypto_alg *alg) 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() 203 struct crypto_alg *base = &alg->base; in crypto_register_rng()
|
H A D | crypto_user_stat.c | 27 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()
|
H A 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() 74 struct sk_buff *skb, struct crypto_alg *alg) in crypto_akcipher_report_stat() 135 struct crypto_alg *base = &alg->base; in akcipher_prepare_alg() 158 struct crypto_alg *base = &alg->base; in crypto_register_akcipher() 292 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_akcipher_ops_sig()
|
H A 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() 187 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_scomp_ops_async() 263 struct crypto_alg *base = &alg->calg.base; in crypto_register_scomp()
|
H A D | aead.c | 178 struct sk_buff *skb, struct crypto_alg *alg) in crypto_aead_report() 195 static void crypto_aead_show(struct seq_file *m, struct crypto_alg *alg) 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() 274 struct crypto_alg *base = &alg->base; in aead_prepare_alg() 295 struct crypto_alg *base = &alg->base; in crypto_register_aead()
|
H A D | sig.c | 33 struct crypto_alg *alg) in crypto_sig_show() 39 struct crypto_alg *alg) in crypto_sig_report() 49 struct crypto_alg *alg) in crypto_sig_report_stat()
|
H A D | ahash.c | 453 static unsigned int crypto_ahash_extsize(struct crypto_alg *alg) in crypto_ahash_extsize() 469 struct sk_buff *skb, struct crypto_alg *alg) in crypto_ahash_report() 483 static void crypto_ahash_show(struct seq_file *m, struct crypto_alg *alg) 485 static void crypto_ahash_show(struct seq_file *m, struct crypto_alg *alg) in crypto_ahash_show() 496 struct sk_buff *skb, struct crypto_alg *alg) in crypto_ahash_report_stat() 596 struct crypto_alg *base = &alg->halg.base; in ahash_prepare_alg() 614 struct crypto_alg *base = &alg->halg.base; in crypto_register_ahash() 678 struct crypto_alg *alg = &halg->base; in crypto_hash_alg_has_setkey()
|
H A D | shash.c | 411 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_shash_ops_async() 512 struct sk_buff *skb, struct crypto_alg *alg) in crypto_shash_report() 527 static void crypto_shash_show(struct seq_file *m, struct crypto_alg *alg) 529 static void crypto_shash_show(struct seq_file *m, struct crypto_alg *alg) in crypto_shash_show() 539 struct sk_buff *skb, struct crypto_alg *alg) in crypto_shash_report_stat() 624 struct crypto_alg *base = &alg->base; in hash_prepare_alg() 639 struct crypto_alg *base = &alg->halg.base; in shash_prepare_alg() 675 struct crypto_alg *base = &alg->base; in crypto_register_shash()
|
H A D | proc.c | 39 struct crypto_alg *alg = list_entry(p, struct crypto_alg, cra_list); in c_show()
|
H A D | skcipher.c | 84 struct crypto_alg *alg) in __crypto_skcipher_alg() 713 static void crypto_skcipher_show(struct seq_file *m, struct crypto_alg *alg) 715 static void crypto_skcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_skcipher_show() 731 struct sk_buff *skb, struct crypto_alg *alg) in crypto_skcipher_report() 751 struct sk_buff *skb, struct crypto_alg *alg) in crypto_skcipher_report_stat() 840 struct crypto_alg *base = &alg->base; in skcipher_prepare_alg() 863 struct crypto_alg *base = &alg->base; in crypto_register_skcipher() 986 struct crypto_alg *cipher_alg; in skcipher_alloc_instance_simple()
|
H A D | compress.h | 22 int crypto_acomp_report_stat(struct sk_buff *skb, struct crypto_alg *alg);
|
/openbmc/linux/include/crypto/ |
H A 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); 65 int (*report_stat)(struct sk_buff *skb, struct crypto_alg *alg); 75 struct crypto_alg alg; 103 struct crypto_alg *alg; 141 int crypto_register_alg(struct crypto_alg *alg); 142 void crypto_unregister_alg(struct crypto_alg *alg); 143 int crypto_register_algs(struct crypto_alg *algs, int count); [all …]
|
H A D | rng.h | 72 struct crypto_alg base; 118 static inline struct rng_alg *__crypto_rng_alg(struct crypto_alg *alg) in __crypto_rng_alg()
|
H A D | acompress.h | 84 struct crypto_alg base; \ 136 struct crypto_alg *alg) in __crypto_comp_alg_common()
|
/openbmc/linux/include/linux/ |
H A D | crypto.h | 343 struct crypto_alg { struct 367 void (*cra_destroy)(struct crypto_alg *alg); argument 431 struct crypto_alg *__crt_alg;
|
/openbmc/linux/Documentation/crypto/ |
H A 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
|
/openbmc/linux/drivers/crypto/aspeed/ |
H A 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() 590 u32 crypto_alg = cmd & HACE_CMD_OP_MODE_MASK; in aspeed_aes_crypt() local 592 if (crypto_alg == HACE_CMD_CBC || crypto_alg == HACE_CMD_ECB) { in aspeed_aes_crypt() 707 struct aspeed_hace_alg *crypto_alg; in aspeed_crypto_cra_init() local 710 crypto_alg = container_of(alg, struct aspeed_hace_alg, alg.skcipher.base); in aspeed_crypto_cra_init() 711 ctx->hace_dev = crypto_alg->hace_dev; in aspeed_crypto_cra_init()
|
/openbmc/linux/include/crypto/internal/ |
H A D | cryptouser.h | 5 struct crypto_alg *crypto_alg_match(struct crypto_user_alg *p, int exact);
|
/openbmc/linux/arch/s390/crypto/ |
H A 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()
|