/crypto/ |
D | fips140-alg-registration.c | 90 static bool fips140_wait_until_ready(struct crypto_alg *alg) in fips140_wait_until_ready() 109 static int fips140_store_init_function(struct crypto_alg *alg, void *func) in fips140_store_init_function() 127 static void *fips140_load_init_function(struct crypto_alg *alg) in fips140_load_init_function() 136 struct crypto_alg *alg = tfm->__crt_alg; in fips140_alg_init_tfm() local 147 struct aead_alg *alg = crypto_aead_alg(tfm); in fips140_aead_init_tfm() local 159 struct ahash_alg *alg = container_of(halg, struct ahash_alg, halg); in fips140_ahash_init_tfm() local 170 struct shash_alg *alg = crypto_shash_alg(tfm); in fips140_shash_init_tfm() local 181 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in fips140_skcipher_init_tfm() local 192 #define prepare_alg(alg, base_alg, field, wrapper_func) \ argument 204 static int fips140_prepare_alg(struct crypto_alg *alg) in fips140_prepare_alg() [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() 44 static void crypto_kpp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_kpp_show() 52 struct kpp_alg *alg = crypto_kpp_alg(kpp); in crypto_kpp_exit_tfm() local 60 struct kpp_alg *alg = crypto_kpp_alg(kpp); in crypto_kpp_init_tfm() local 90 static void kpp_prepare_alg(struct kpp_alg *alg) in kpp_prepare_alg() 99 int crypto_register_kpp(struct kpp_alg *alg) in crypto_register_kpp() 108 void crypto_unregister_kpp(struct kpp_alg *alg) in crypto_unregister_kpp()
|
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() 219 static void crypto_alg_finish_registration(struct crypto_alg *alg, in crypto_alg_finish_registration() 270 static struct crypto_larval *crypto_alloc_test_larval(struct crypto_alg *alg) in crypto_alloc_test_larval() 299 __crypto_register_alg(struct crypto_alg *alg, struct list_head *algs_to_put) in __crypto_register_alg() 360 struct crypto_alg *alg; in crypto_alg_tested() local 419 struct crypto_alg *alg; in crypto_remove_final() local 429 int crypto_register_alg(struct crypto_alg *alg) in crypto_register_alg() [all …]
|
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 | api.c | 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() 59 struct crypto_alg *q, *alg = NULL; in __crypto_alg_lookup() local 96 static void crypto_larval_destroy(struct crypto_alg *alg) in crypto_larval_destroy() 129 struct crypto_alg *alg; in crypto_larval_add() local 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() 235 struct crypto_alg *alg; in crypto_alg_lookup() local 259 struct crypto_alg *alg; in crypto_larval_lookup() local 302 struct crypto_alg *alg; in crypto_alg_mod_lookup() local [all …]
|
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() 45 static void crypto_akcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_akcipher_show() 53 struct akcipher_alg *alg = crypto_akcipher_alg(akcipher); in crypto_akcipher_exit_tfm() local 61 struct akcipher_alg *alg = crypto_akcipher_alg(akcipher); in crypto_akcipher_init_tfm() local 109 static void akcipher_prepare_alg(struct akcipher_alg *alg) in akcipher_prepare_alg() 129 int crypto_register_akcipher(struct akcipher_alg *alg) in crypto_register_akcipher() 149 void crypto_unregister_akcipher(struct akcipher_alg *alg) in crypto_unregister_akcipher()
|
D | internal.h | 27 struct crypto_alg alg; member 80 static inline unsigned int crypto_cipher_ctxsize(struct crypto_alg *alg) in crypto_cipher_ctxsize() 85 static inline unsigned int crypto_compress_ctxsize(struct crypto_alg *alg) in crypto_compress_ctxsize() 107 static inline void *crypto_create_tfm(struct crypto_alg *alg, in crypto_create_tfm() 134 static inline struct crypto_alg *crypto_alg_get(struct crypto_alg *alg) in crypto_alg_get() 140 static inline void crypto_alg_put(struct crypto_alg *alg) in crypto_alg_put() 156 static inline int crypto_is_larval(struct crypto_alg *alg) in crypto_is_larval() 161 static inline int crypto_is_dead(struct crypto_alg *alg) in crypto_is_dead() 166 static inline int crypto_is_moribund(struct crypto_alg *alg) in crypto_is_moribund()
|
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() 47 static void crypto_acomp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_acomp_show() 55 struct acomp_alg *alg = crypto_acomp_alg(acomp); in crypto_acomp_exit_tfm() local 63 struct acomp_alg *alg = crypto_acomp_alg(acomp); in crypto_acomp_init_tfm() local 82 static unsigned int crypto_acomp_extsize(struct crypto_alg *alg) in crypto_acomp_extsize() 150 int crypto_register_acomp(struct acomp_alg *alg) in crypto_register_acomp() 162 void crypto_unregister_acomp(struct acomp_alg *alg) in crypto_unregister_acomp()
|
D | aead.c | 86 struct crypto_alg *alg = aead->base.__crt_alg; in crypto_aead_encrypt() local 103 struct crypto_alg *alg = aead->base.__crt_alg; in crypto_aead_decrypt() local 122 struct aead_alg *alg = crypto_aead_alg(aead); in crypto_aead_exit_tfm() local 130 struct aead_alg *alg = crypto_aead_alg(aead); in crypto_aead_init_tfm() local 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() 171 static void crypto_aead_show(struct seq_file *m, struct crypto_alg *alg) in crypto_aead_show() 220 static int aead_prepare_alg(struct aead_alg *alg) in aead_prepare_alg() 238 int crypto_register_aead(struct aead_alg *alg) in crypto_register_aead() 251 void crypto_unregister_aead(struct aead_alg *alg) in crypto_unregister_aead()
|
D | rng.c | 33 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_rng_reset() local 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() 91 static void crypto_rng_show(struct seq_file *m, struct crypto_alg *alg) in crypto_rng_show() 177 int crypto_register_rng(struct rng_alg *alg) in crypto_register_rng() 192 void crypto_unregister_rng(struct rng_alg *alg) in crypto_unregister_rng()
|
D | crypto_user_base.c | 38 struct crypto_alg *q, *alg = NULL; in crypto_alg_match() local 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() local 229 struct crypto_alg *alg; in crypto_dump_report() local 263 struct crypto_alg *alg; in crypto_update_alg() local 299 struct crypto_alg *alg; in crypto_del_alg() local 339 struct crypto_alg *alg; in crypto_add_alg() local [all …]
|
D | ahash.c | 165 const struct hash_alg_common *alg = crypto_hash_alg_common(tfm); in ahash_set_needkey() local 343 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_ahash_final() local 357 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_ahash_finup() local 371 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_ahash_digest() local 450 struct ahash_alg *alg = crypto_ahash_alg(hash); in crypto_ahash_exit_tfm() local 458 struct ahash_alg *alg = crypto_ahash_alg(hash); in crypto_ahash_init_tfm() local 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() 522 static void crypto_ahash_show(struct seq_file *m, struct crypto_alg *alg) in crypto_ahash_show() [all …]
|
D | shash.c | 36 bool crypto_shash_alg_has_setkey(struct shash_alg *alg) in crypto_shash_alg_has_setkey() 63 static void shash_set_needkey(struct crypto_shash *tfm, struct shash_alg *alg) in shash_set_needkey() 380 struct shash_alg *alg = __crypto_shash_alg(calg); in crypto_init_shash_ops_async() local 419 struct shash_alg *alg = crypto_shash_alg(hash); in crypto_shash_exit_tfm() local 427 struct shash_alg *alg = crypto_shash_alg(hash); in crypto_shash_init_tfm() local 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() 485 static void crypto_shash_show(struct seq_file *m, struct crypto_alg *alg) in crypto_shash_show() 524 static int shash_prepare_alg(struct shash_alg *alg) in shash_prepare_alg() 555 int crypto_register_shash(struct shash_alg *alg) in crypto_register_shash() [all …]
|
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() 63 static void crypto_scomp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_scomp_show() 263 int crypto_register_scomp(struct scomp_alg *alg) in crypto_register_scomp() 275 void crypto_unregister_scomp(struct scomp_alg *alg) in crypto_unregister_scomp()
|
D | skcipher.c | 622 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_skcipher_encrypt() local 639 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_skcipher_decrypt() local 656 struct skcipher_alg *alg = crypto_skcipher_alg(skcipher); in crypto_skcipher_exit_tfm() local 664 struct skcipher_alg *alg = crypto_skcipher_alg(skcipher); in crypto_skcipher_init_tfm() local 687 static void crypto_skcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_skcipher_show() 704 static int crypto_skcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_skcipher_report() 724 static int crypto_skcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_skcipher_report() 790 static int skcipher_prepare_alg(struct skcipher_alg *alg) in skcipher_prepare_alg() 810 int crypto_register_skcipher(struct skcipher_alg *alg) in crypto_register_skcipher() 823 void crypto_unregister_skcipher(struct skcipher_alg *alg) in crypto_unregister_skcipher()
|
D | simd.c | 43 struct skcipher_alg alg; member 116 struct skcipher_alg *alg; in simd_skcipher_init() local 146 struct skcipher_alg *alg; in simd_skcipher_create_compat() local 283 struct aead_alg alg; member 364 struct aead_alg *alg; in simd_aead_init() local 393 struct aead_alg *alg; in simd_aead_create_compat() local
|
D | algboss.c | 46 char alg[CRYPTO_MAX_ALG_NAME]; member 188 static int cryptomgr_schedule_test(struct crypto_alg *alg) in cryptomgr_schedule_test()
|
D | proc.c | 38 struct crypto_alg *alg = list_entry(p, struct crypto_alg, cra_list); in c_show() local
|
D | ofb.c | 56 struct crypto_alg *alg; in crypto_ofb_create() local
|
D | sha1_generic.c | 63 static struct shash_alg alg = { variable
|
D | fips140-module.c | 119 static bool __init fips140_should_unregister_alg(struct crypto_alg *alg) in fips140_should_unregister_alg() 207 struct crypto_alg *alg; in fips140_remove_final() local 229 struct crypto_alg *alg, *tmp; in unregister_existing_fips140_algos() local
|
D | geniv.c | 46 struct aead_alg *alg; in aead_geniv_alloc() local
|
D | ctr.c | 130 struct crypto_alg *alg; in crypto_ctr_create() local 261 struct skcipher_alg *alg; in crypto_rfc3686_create() local
|
D | crct10dif_generic.c | 88 static struct shash_alg alg = { variable
|
D | xxhash_generic.c | 70 static struct shash_alg alg = { variable
|