/kernel/linux/linux-5.10/crypto/ |
H A 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 *nal [all...] |
H A 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 *al in crypto_larval_add() [all...] |
H A D | algapi.c | 32 static int crypto_check_alg(struct crypto_alg *alg) in crypto_check_alg() 82 static void crypto_destroy_instance(struct crypto_alg *alg) in crypto_destroy_instance() 101 static struct list_head *crypto_more_spawns(struct crypto_alg *alg, in crypto_more_spawns() 151 void crypto_remove_spawns(struct crypto_alg *alg, struct list_head *list, in crypto_remove_spawns() 152 struct crypto_alg *nalg) in crypto_remove_spawns() 231 static struct crypto_larval *__crypto_register_alg(struct crypto_alg *alg) in __crypto_register_alg() 233 struct crypto_alg *q; in __crypto_register_alg() 299 struct crypto_alg *alg; in crypto_alg_tested() 300 struct crypto_alg *q; in crypto_alg_tested() 395 struct crypto_alg *al in crypto_remove_final() [all...] |
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
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 *al in crypto_del_alg() [all...] |
H A 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 *al [all...] |
H A D | aead.c | 85 struct crypto_alg *alg = aead->base.__crt_alg; in crypto_aead_encrypt() 102 struct crypto_alg *alg = aead->base.__crt_alg; in crypto_aead_decrypt() 145 static int crypto_aead_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_aead_report() 162 static int crypto_aead_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_aead_report() 168 static void crypto_aead_show(struct seq_file *m, struct crypto_alg *alg) 170 static void crypto_aead_show(struct seq_file *m, struct crypto_alg *alg) in crypto_aead_show() 221 struct crypto_alg *base = &alg->base; in aead_prepare_alg() 239 struct crypto_alg *base = &alg->base; in crypto_register_aead()
|
/kernel/linux/linux-6.6/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 *nal [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 *al in crypto_larval_add() [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 * 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 *al in crypto_del_alg() [all...] |
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 | 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 | 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()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | crypto.h | 383 * struct crypto_alg - definition of a cryptograpic cipher algorithm 465 * The struct crypto_alg describes a generic Crypto API algorithm and is common 469 struct crypto_alg { struct 493 void (*cra_destroy)(struct crypto_alg *alg); 512 void crypto_stats_init(struct crypto_alg *alg); 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 *al [all...] |
/kernel/linux/linux-6.6/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 *alg [all...] |
/kernel/linux/linux-5.10/include/crypto/ |
H A D | algapi.h | 33 unsigned int (*ctxsize)(struct crypto_alg *alg, u32 type, u32 mask); 34 unsigned int (*extsize)(struct crypto_alg *alg); 37 void (*show)(struct seq_file *m, struct crypto_alg *alg); 38 int (*report)(struct sk_buff *skb, struct crypto_alg *alg); 48 struct crypto_alg alg; 76 struct crypto_alg *alg; 102 void crypto_mod_put(struct crypto_alg *alg); 126 struct crypto_alg *alg); 214 static inline struct crypto_alg *crypto_spawn_cipher_alg( in crypto_spawn_cipher_alg()
|
H A 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()
|
H A 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()
|
H A 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()
|