/Linux-v5.4/crypto/ |
D | algapi.c | 31 static int crypto_check_alg(struct crypto_alg *alg) in crypto_check_alg() 76 static void crypto_destroy_instance(struct crypto_alg *alg) in crypto_destroy_instance() 85 static struct list_head *crypto_more_spawns(struct crypto_alg *alg, in crypto_more_spawns() 129 void crypto_remove_spawns(struct crypto_alg *alg, struct list_head *list, in crypto_remove_spawns() 190 static struct crypto_larval *__crypto_register_alg(struct crypto_alg *alg) in __crypto_register_alg() 257 struct crypto_alg *alg; in crypto_alg_tested() local 335 struct crypto_alg *alg; in crypto_remove_final() local 365 int crypto_register_alg(struct crypto_alg *alg) in crypto_register_alg() 387 static int crypto_remove_alg(struct crypto_alg *alg, struct list_head *list) in crypto_remove_alg() 400 int crypto_unregister_alg(struct crypto_alg *alg) in crypto_unregister_alg() [all …]
|
D | api.c | 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() 58 struct crypto_alg *q, *alg = NULL; in __crypto_alg_lookup() local 95 static void crypto_larval_destroy(struct crypto_alg *alg) in crypto_larval_destroy() 128 struct crypto_alg *alg; in crypto_larval_add() local 154 void crypto_larval_kill(struct crypto_alg *alg) in crypto_larval_kill() 166 static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg) in crypto_larval_wait() 194 struct crypto_alg *alg; in crypto_alg_lookup() local 218 struct crypto_alg *alg; in crypto_larval_lookup() local 261 struct crypto_alg *alg; in crypto_alg_mod_lookup() local [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 | 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 | internal.h | 28 struct crypto_alg alg; member 48 static inline unsigned int crypto_cipher_ctxsize(struct crypto_alg *alg) in crypto_cipher_ctxsize() 53 static inline unsigned int crypto_compress_ctxsize(struct crypto_alg *alg) in crypto_compress_ctxsize() 89 static inline struct crypto_alg *crypto_alg_get(struct crypto_alg *alg) in crypto_alg_get() 95 static inline void crypto_alg_put(struct crypto_alg *alg) in crypto_alg_put() 111 static inline int crypto_is_larval(struct crypto_alg *alg) in crypto_is_larval() 116 static inline int crypto_is_dead(struct crypto_alg *alg) in crypto_is_dead() 121 static inline int crypto_is_moribund(struct crypto_alg *alg) in crypto_is_moribund()
|
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 108 static void akcipher_prepare_alg(struct akcipher_alg *alg) in akcipher_prepare_alg() 122 int crypto_register_akcipher(struct akcipher_alg *alg) in crypto_register_akcipher() 140 void crypto_unregister_akcipher(struct akcipher_alg *alg) in crypto_unregister_akcipher()
|
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() 142 int crypto_register_acomp(struct acomp_alg *alg) in crypto_register_acomp() 154 int crypto_unregister_acomp(struct acomp_alg *alg) in crypto_unregister_acomp()
|
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 | ahash.c | 196 const struct hash_alg_common *alg = crypto_hash_alg_common(tfm); in ahash_set_needkey() local 374 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_ahash_final() local 388 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_ahash_finup() local 402 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_ahash_digest() local 481 struct ahash_alg *alg = crypto_ahash_alg(hash); in crypto_ahash_init_tfm() local 504 static unsigned int crypto_ahash_extsize(struct crypto_alg *alg) in crypto_ahash_extsize() 513 static int crypto_ahash_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_ahash_report() 527 static int crypto_ahash_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_ahash_report() 535 static void crypto_ahash_show(struct seq_file *m, struct crypto_alg *alg) in crypto_ahash_show() 572 static int ahash_prepare_alg(struct ahash_alg *alg) in ahash_prepare_alg() [all …]
|
D | aead.c | 91 struct crypto_alg *alg = aead->base.__crt_alg; in crypto_aead_encrypt() local 108 struct crypto_alg *alg = aead->base.__crt_alg; in crypto_aead_decrypt() local 127 struct aead_alg *alg = crypto_aead_alg(aead); in crypto_aead_exit_tfm() local 135 struct aead_alg *alg = crypto_aead_alg(aead); in crypto_aead_init_tfm() local 151 static int crypto_aead_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_aead_report() 168 static int crypto_aead_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_aead_report() 176 static void crypto_aead_show(struct seq_file *m, struct crypto_alg *alg) in crypto_aead_show() 238 struct aead_alg *alg; in aead_geniv_alloc() local 385 static int aead_prepare_alg(struct aead_alg *alg) in aead_prepare_alg() 403 int crypto_register_aead(struct aead_alg *alg) in crypto_register_aead() [all …]
|
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 227 struct crypto_alg *alg; in crypto_dump_report() local 261 struct crypto_alg *alg; in crypto_update_alg() local 297 struct crypto_alg *alg; in crypto_del_alg() local 336 struct crypto_alg *alg; in crypto_add_alg() local [all …]
|
D | blkcipher.c | 415 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in async_encrypt() local 429 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in async_decrypt() local 439 static unsigned int crypto_blkcipher_ctxsize(struct crypto_alg *alg, u32 type, in crypto_blkcipher_ctxsize() 457 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in crypto_init_blkcipher_ops_async() local 471 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in crypto_init_blkcipher_ops_sync() local 489 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in crypto_init_blkcipher_ops() local 501 static int crypto_blkcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_blkcipher_report() 519 static int crypto_blkcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_blkcipher_report() 527 static void crypto_blkcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_blkcipher_show()
|
D | shash.c | 51 static void shash_set_needkey(struct crypto_shash *tfm, struct shash_alg *alg) in shash_set_needkey() 353 struct shash_alg *alg = __crypto_shash_alg(calg); in crypto_init_shash_ops_async() local 392 struct shash_alg *alg = crypto_shash_alg(hash); in crypto_shash_init_tfm() local 402 static int crypto_shash_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_shash_report() 417 static int crypto_shash_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_shash_report() 425 static void crypto_shash_show(struct seq_file *m, struct crypto_alg *alg) in crypto_shash_show() 454 static int shash_prepare_alg(struct shash_alg *alg) in shash_prepare_alg() 485 int crypto_register_shash(struct shash_alg *alg) in crypto_register_shash() 498 int crypto_unregister_shash(struct shash_alg *alg) in crypto_unregister_shash() 561 struct shash_alg *alg, in crypto_init_shash_spawn() [all …]
|
D | skcipher.c | 581 static unsigned int crypto_skcipher_extsize(struct crypto_alg *alg) in crypto_skcipher_extsize() 642 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in skcipher_encrypt_blkcipher() local 651 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in skcipher_decrypt_blkcipher() local 741 struct ablkcipher_alg *alg = &tfm->__crt_alg->cra_ablkcipher; in skcipher_encrypt_ablkcipher() local 750 struct ablkcipher_alg *alg = &tfm->__crt_alg->cra_ablkcipher; in skcipher_decrypt_ablkcipher() local 847 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_skcipher_encrypt() local 864 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_skcipher_decrypt() local 881 struct skcipher_alg *alg = crypto_skcipher_alg(skcipher); in crypto_skcipher_exit_tfm() local 889 struct skcipher_alg *alg = crypto_skcipher_alg(skcipher); in crypto_skcipher_init_tfm() local 924 static void crypto_skcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_skcipher_show() [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() 257 int crypto_register_scomp(struct scomp_alg *alg) in crypto_register_scomp() 269 int crypto_unregister_scomp(struct scomp_alg *alg) in crypto_unregister_scomp()
|
D | simd.c | 43 struct skcipher_alg alg; member 120 struct skcipher_alg *alg; in simd_skcipher_init() local 150 struct skcipher_alg *alg; in simd_skcipher_create_compat() local 286 struct aead_alg alg; member 371 struct aead_alg *alg; in simd_aead_init() local 400 struct aead_alg *alg; in simd_aead_create_compat() local
|
/Linux-v5.4/include/crypto/ |
D | akcipher.h | 139 static inline struct akcipher_alg *__crypto_akcipher_alg(struct crypto_alg *alg) in __crypto_akcipher_alg() 270 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_maxsize() local 288 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_encrypt() local 312 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_decrypt() local 336 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_sign() local 363 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_verify() local 390 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_set_pub_key() local 412 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_set_priv_key() local
|
D | kpp.h | 112 static inline struct kpp_alg *__crypto_kpp_alg(struct crypto_alg *alg) in __crypto_kpp_alg() 284 struct kpp_alg *alg = crypto_kpp_alg(tfm); in crypto_kpp_set_secret() local 310 struct kpp_alg *alg = crypto_kpp_alg(tfm); in crypto_kpp_generate_public_key() local 333 struct kpp_alg *alg = crypto_kpp_alg(tfm); in crypto_kpp_compute_shared_secret() local 355 struct kpp_alg *alg = crypto_kpp_alg(tfm); in crypto_kpp_maxsize() local
|
/Linux-v5.4/fs/verity/ |
D | hash_algs.c | 42 struct fsverity_hash_alg *alg; in fsverity_get_hash_alg() local 104 const u8 *fsverity_prepare_hash_state(const struct fsverity_hash_alg *alg, in fsverity_prepare_hash_state() 232 int fsverity_hash_buffer(const struct fsverity_hash_alg *alg, in fsverity_hash_buffer() 265 const struct fsverity_hash_alg *alg = &fsverity_hash_algs[i]; in fsverity_check_hash_algs() local
|
/Linux-v5.4/include/crypto/internal/ |
D | hash.h | 33 struct ahash_alg alg; member 37 struct shash_alg alg; member 83 static inline bool crypto_shash_alg_has_setkey(struct shash_alg *alg) in crypto_shash_alg_has_setkey() 131 static inline struct ahash_alg *__crypto_ahash_alg(struct crypto_alg *alg) in __crypto_ahash_alg() 166 const char *name, struct crypto_alg *alg) in ahash_alloc_instance() 223 const char *name, struct crypto_alg *alg) in shash_alloc_instance()
|
D | skcipher.h | 26 struct skcipher_alg alg; member 183 struct skcipher_alg *alg) in crypto_skcipher_alg_min_keysize() 196 struct skcipher_alg *alg) in crypto_skcipher_alg_max_keysize() 209 struct skcipher_alg *alg) in crypto_skcipher_alg_chunksize() 222 struct skcipher_alg *alg) in crypto_skcipher_alg_walksize()
|
/Linux-v5.4/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_crypt.c | 101 struct ieee80211_crypto_alg *alg; in ieee80211_register_crypto_ops() local 133 struct ieee80211_crypto_alg *alg = in ieee80211_unregister_crypto_ops() local 164 struct ieee80211_crypto_alg *alg = in ieee80211_get_crypto_ops() local 226 struct ieee80211_crypto_alg *alg = in ieee80211_crypto_deinit() local
|
/Linux-v5.4/drivers/crypto/ |
D | picoxcell_crypto.c | 94 struct aead_alg alg; member 137 struct crypto_alg alg; member 176 static inline struct spacc_alg *to_spacc_alg(struct crypto_alg *alg) in to_spacc_alg() 181 static inline struct spacc_aead *to_spacc_aead(struct aead_alg *alg) in to_spacc_aead() 514 struct aead_alg *alg = crypto_aead_alg(aead); in spacc_aead_need_fallback() local 562 struct aead_alg *alg = crypto_aead_alg(aead); in spacc_aead_submit() local 633 struct aead_alg *alg = crypto_aead_alg(aead); in spacc_aead_setup() local 679 struct spacc_aead *alg = to_spacc_aead(crypto_aead_alg(aead)); in spacc_aead_encrypt() local 687 struct spacc_aead *alg = to_spacc_aead(crypto_aead_alg(aead)); in spacc_aead_decrypt() local 699 struct aead_alg *alg = crypto_aead_alg(tfm); in spacc_aead_cra_init() local [all …]
|
/Linux-v5.4/include/linux/ |
D | crypto.h | 617 static inline void crypto_stats_init(struct crypto_alg *alg) in crypto_stats_init() 619 static inline void crypto_stats_get(struct crypto_alg *alg) in crypto_stats_get() 621 …c inline void crypto_stats_ablkcipher_encrypt(unsigned int nbytes, int ret, struct crypto_alg *alg) in crypto_stats_ablkcipher_encrypt() 623 …c inline void crypto_stats_ablkcipher_decrypt(unsigned int nbytes, int ret, struct crypto_alg *alg) in crypto_stats_ablkcipher_decrypt() 625 static inline void crypto_stats_aead_encrypt(unsigned int cryptlen, struct crypto_alg *alg, int ret) in crypto_stats_aead_encrypt() 627 static inline void crypto_stats_aead_decrypt(unsigned int cryptlen, struct crypto_alg *alg, int ret) in crypto_stats_aead_decrypt() 629 static inline void crypto_stats_ahash_update(unsigned int nbytes, int ret, struct crypto_alg *alg) in crypto_stats_ahash_update() 631 static inline void crypto_stats_ahash_final(unsigned int nbytes, int ret, struct crypto_alg *alg) in crypto_stats_ahash_final() 633 …ic inline void crypto_stats_akcipher_encrypt(unsigned int src_len, int ret, struct crypto_alg *alg) in crypto_stats_akcipher_encrypt() 635 …ic inline void crypto_stats_akcipher_decrypt(unsigned int src_len, int ret, struct crypto_alg *alg) in crypto_stats_akcipher_decrypt() [all …]
|
/Linux-v5.4/drivers/crypto/nx/ |
D | nx.c | 514 static int nx_register_alg(struct crypto_alg *alg, u32 fc, u32 mode) in nx_register_alg() 520 static int nx_register_aead(struct aead_alg *alg, u32 fc, u32 mode) in nx_register_aead() 526 static int nx_register_shash(struct shash_alg *alg, u32 fc, u32 mode, int slot) in nx_register_shash() 534 static void nx_unregister_alg(struct crypto_alg *alg, u32 fc, u32 mode) in nx_unregister_alg() 540 static void nx_unregister_aead(struct aead_alg *alg, u32 fc, u32 mode) in nx_unregister_aead() 546 static void nx_unregister_shash(struct shash_alg *alg, u32 fc, u32 mode, in nx_unregister_shash()
|