/linux-6.12.1/crypto/ |
D | api.c | 43 struct crypto_alg *crypto_mod_get(struct crypto_alg *alg) in crypto_mod_get() 49 void crypto_mod_put(struct crypto_alg *alg) in crypto_mod_put() 61 struct crypto_alg *q, *alg = NULL; in __crypto_alg_lookup() local 93 static void crypto_larval_destroy(struct crypto_alg *alg) in crypto_larval_destroy() 128 struct crypto_alg *alg; in crypto_larval_add() local 200 static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg) in crypto_larval_wait() 251 struct crypto_alg *alg; in crypto_alg_lookup() local 287 struct crypto_alg *alg; in crypto_larval_lookup() local 334 struct crypto_alg *alg; in crypto_alg_mod_lookup() local 373 static unsigned int crypto_ctxsize(struct crypto_alg *alg, u32 type, u32 mask) in crypto_ctxsize() [all …]
|
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() 51 static void crypto_acomp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_acomp_show() 59 struct acomp_alg *alg = crypto_acomp_alg(acomp); in crypto_acomp_exit_tfm() local 67 struct acomp_alg *alg = crypto_acomp_alg(acomp); in crypto_acomp_init_tfm() local 86 static unsigned int crypto_acomp_extsize(struct crypto_alg *alg) in crypto_acomp_extsize() 156 void comp_prepare_alg(struct comp_alg_common *alg) in comp_prepare_alg() 163 int crypto_register_acomp(struct acomp_alg *alg) in crypto_register_acomp() 176 void crypto_unregister_acomp(struct acomp_alg *alg) in crypto_unregister_acomp()
|
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() 237 static void crypto_alg_finish_registration(struct crypto_alg *alg, in crypto_alg_finish_registration() 265 static struct crypto_larval *crypto_alloc_test_larval(struct crypto_alg *alg) in crypto_alloc_test_larval() 294 __crypto_register_alg(struct crypto_alg *alg, struct list_head *algs_to_put) in __crypto_register_alg() 353 struct crypto_alg *alg; in crypto_alg_tested() local 403 struct crypto_alg *alg; in crypto_remove_final() local 413 int crypto_register_alg(struct crypto_alg *alg) in crypto_register_alg() [all …]
|
D | kpp.c | 21 struct sk_buff *skb, struct crypto_alg *alg) in crypto_kpp_report() 35 static void crypto_kpp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_kpp_show() 43 struct kpp_alg *alg = crypto_kpp_alg(kpp); in crypto_kpp_exit_tfm() local 51 struct kpp_alg *alg = crypto_kpp_alg(kpp); in crypto_kpp_init_tfm() local 106 static void kpp_prepare_alg(struct kpp_alg *alg) in kpp_prepare_alg() 115 int crypto_register_kpp(struct kpp_alg *alg) in crypto_register_kpp() 124 void crypto_unregister_kpp(struct kpp_alg *alg) in crypto_unregister_kpp()
|
D | internal.h | 31 struct crypto_alg alg; member 102 static inline unsigned int crypto_cipher_ctxsize(struct crypto_alg *alg) in crypto_cipher_ctxsize() 107 static inline unsigned int crypto_compress_ctxsize(struct crypto_alg *alg) in crypto_compress_ctxsize() 136 static inline void *crypto_create_tfm(struct crypto_alg *alg, in crypto_create_tfm() 163 static inline struct crypto_alg *crypto_alg_get(struct crypto_alg *alg) in crypto_alg_get() 169 static inline void crypto_alg_put(struct crypto_alg *alg) in crypto_alg_put() 185 static inline int crypto_is_larval(struct crypto_alg *alg) in crypto_is_larval() 190 static inline int crypto_is_dead(struct crypto_alg *alg) in crypto_is_dead() 195 static inline int crypto_is_moribund(struct crypto_alg *alg) in crypto_is_moribund()
|
D | crypto_user.c | 37 struct crypto_alg *q, *alg = NULL; in crypto_alg_match() local 71 static int crypto_report_cipher(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_cipher() 87 static int crypto_report_comp(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_comp() 98 static int crypto_report_one(struct crypto_alg *alg, in crypto_report_one() 153 static int crypto_report_alg(struct crypto_alg *alg, in crypto_report_alg() 188 struct crypto_alg *alg; in crypto_report() local 228 struct crypto_alg *alg; in crypto_dump_report() local 262 struct crypto_alg *alg; in crypto_update_alg() local 298 struct crypto_alg *alg; in crypto_del_alg() local 338 struct crypto_alg *alg; in crypto_add_alg() local [all …]
|
D | crypto_engine.c | 77 struct crypto_engine_alg *alg; in crypto_pump_requests() local 568 int crypto_engine_register_aead(struct aead_engine_alg *alg) in crypto_engine_register_aead() 579 void crypto_engine_unregister_aead(struct aead_engine_alg *alg) in crypto_engine_unregister_aead() 613 int crypto_engine_register_ahash(struct ahash_engine_alg *alg) in crypto_engine_register_ahash() 624 void crypto_engine_unregister_ahash(struct ahash_engine_alg *alg) in crypto_engine_unregister_ahash() 659 int crypto_engine_register_akcipher(struct akcipher_engine_alg *alg) in crypto_engine_register_akcipher() 670 void crypto_engine_unregister_akcipher(struct akcipher_engine_alg *alg) in crypto_engine_unregister_akcipher() 676 int crypto_engine_register_kpp(struct kpp_engine_alg *alg) in crypto_engine_register_kpp() 687 void crypto_engine_unregister_kpp(struct kpp_engine_alg *alg) in crypto_engine_unregister_kpp() 693 int crypto_engine_register_skcipher(struct skcipher_engine_alg *alg) in crypto_engine_register_skcipher() [all …]
|
D | shash.c | 26 static void shash_set_needkey(struct crypto_shash *tfm, struct shash_alg *alg) in shash_set_needkey() 147 struct shash_alg *alg = crypto_shash_alg(hash); in crypto_shash_exit_tfm() local 155 struct shash_alg *alg = crypto_shash_alg(hash); in crypto_shash_init_tfm() local 190 struct sk_buff *skb, struct crypto_alg *alg) in crypto_shash_report() 207 static void crypto_shash_show(struct seq_file *m, struct crypto_alg *alg) in crypto_shash_show() 257 struct shash_alg *alg = crypto_shash_alg(hash); in crypto_clone_shash() local 290 int hash_prepare_alg(struct hash_alg_common *alg) in hash_prepare_alg() 306 static int shash_prepare_alg(struct shash_alg *alg) in shash_prepare_alg() 347 int crypto_register_shash(struct shash_alg *alg) in crypto_register_shash() 360 void crypto_unregister_shash(struct shash_alg *alg) in crypto_unregister_shash()
|
D | lskcipher.c | 27 struct crypto_alg *alg) in __crypto_lskcipher_alg() 143 struct lskcipher_alg *alg = crypto_lskcipher_alg(tfm); in crypto_lskcipher_encrypt() local 152 struct lskcipher_alg *alg = crypto_lskcipher_alg(tfm); in crypto_lskcipher_decrypt() local 205 struct lskcipher_alg *alg = crypto_lskcipher_alg(*ctx); in crypto_lskcipher_encrypt_sg() local 214 struct lskcipher_alg *alg = crypto_lskcipher_alg(*ctx); in crypto_lskcipher_decrypt_sg() local 222 struct lskcipher_alg *alg = crypto_lskcipher_alg(skcipher); in crypto_lskcipher_exit_tfm() local 230 struct lskcipher_alg *alg = crypto_lskcipher_alg(skcipher); in crypto_lskcipher_init_tfm() local 250 struct seq_file *m, struct crypto_alg *alg) in crypto_lskcipher_show() 264 struct sk_buff *skb, struct crypto_alg *alg) in crypto_lskcipher_report() 343 static int lskcipher_prepare_alg(struct lskcipher_alg *alg) in lskcipher_prepare_alg() [all …]
|
D | aead.c | 111 struct aead_alg *alg = crypto_aead_alg(aead); in crypto_aead_exit_tfm() local 119 struct aead_alg *alg = crypto_aead_alg(aead); in crypto_aead_init_tfm() local 135 struct sk_buff *skb, struct crypto_alg *alg) in crypto_aead_report() 154 static void crypto_aead_show(struct seq_file *m, struct crypto_alg *alg) in crypto_aead_show() 211 static int aead_prepare_alg(struct aead_alg *alg) in aead_prepare_alg() 229 int crypto_register_aead(struct aead_alg *alg) in crypto_register_aead() 242 void crypto_unregister_aead(struct aead_alg *alg) in crypto_unregister_aead()
|
D | akcipher.c | 24 struct sk_buff *skb, struct crypto_alg *alg) in crypto_akcipher_report() 39 static void crypto_akcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_akcipher_show() 47 struct akcipher_alg *alg = crypto_akcipher_alg(akcipher); in crypto_akcipher_exit_tfm() local 55 struct akcipher_alg *alg = crypto_akcipher_alg(akcipher); in crypto_akcipher_init_tfm() local 105 static void akcipher_prepare_alg(struct akcipher_alg *alg) in akcipher_prepare_alg() 125 int crypto_register_akcipher(struct akcipher_alg *alg) in crypto_register_akcipher() 145 void crypto_unregister_akcipher(struct akcipher_alg *alg) in crypto_unregister_akcipher()
|
D | ahash.c | 217 static void ahash_set_needkey(struct crypto_ahash *tfm, struct ahash_alg *alg) in ahash_set_needkey() 239 struct ahash_alg *alg = crypto_ahash_alg(tfm); in crypto_ahash_setkey() local 465 struct ahash_alg *alg = crypto_ahash_alg(hash); in crypto_ahash_exit_tfm() local 473 struct ahash_alg *alg = crypto_ahash_alg(hash); in crypto_ahash_init_tfm() local 488 static unsigned int crypto_ahash_extsize(struct crypto_alg *alg) in crypto_ahash_extsize() 504 struct sk_buff *skb, struct crypto_alg *alg) in crypto_ahash_report() 520 static void crypto_ahash_show(struct seq_file *m, struct crypto_alg *alg) in crypto_ahash_show() 570 struct crypto_alg *alg = &halg->base; in crypto_hash_alg_has_setkey() local 583 struct ahash_alg *alg; in crypto_clone_ahash() local 633 static int ahash_prepare_alg(struct ahash_alg *alg) in ahash_prepare_alg() [all …]
|
D | rng.c | 59 static unsigned int seedsize(struct crypto_alg *alg) in seedsize() 67 struct sk_buff *skb, struct crypto_alg *alg) in crypto_rng_report() 82 static void crypto_rng_show(struct seq_file *m, struct crypto_alg *alg) in crypto_rng_show() 170 int crypto_register_rng(struct rng_alg *alg) in crypto_register_rng() 185 void crypto_unregister_rng(struct rng_alg *alg) in crypto_unregister_rng()
|
D | skcipher.c | 87 struct crypto_alg *alg) in __crypto_skcipher_alg() 451 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in skcipher_walk_skcipher() local 637 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in crypto_skcipher_encrypt() local 650 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in crypto_skcipher_decrypt() local 699 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in crypto_skcipher_export() local 710 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in crypto_skcipher_import() local 721 struct skcipher_alg *alg = crypto_skcipher_alg(skcipher); in crypto_skcipher_exit_tfm() local 729 struct skcipher_alg *alg = crypto_skcipher_alg(skcipher); in crypto_skcipher_init_tfm() local 754 static unsigned int crypto_skcipher_extsize(struct crypto_alg *alg) in crypto_skcipher_extsize() 772 static void crypto_skcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_skcipher_show() [all …]
|
D | simd.c | 43 struct skcipher_alg alg; member 116 struct skcipher_alg *alg; in simd_skcipher_init() local 145 struct skcipher_alg *alg; in simd_skcipher_create_compat() local 261 struct aead_alg alg; member 342 struct aead_alg *alg; in simd_aead_init() local 370 struct aead_alg *alg; in simd_aead_create_compat() local
|
D | scompress.c | 41 struct sk_buff *skb, struct crypto_alg *alg) in crypto_scomp_report() 56 static void crypto_scomp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_scomp_show() 280 int crypto_register_scomp(struct scomp_alg *alg) in crypto_register_scomp() 293 void crypto_unregister_scomp(struct scomp_alg *alg) in crypto_unregister_scomp()
|
/linux-6.12.1/fs/verity/ |
D | hash_algs.c | 45 struct fsverity_hash_alg *alg; in fsverity_get_hash_alg() local 111 const u8 *fsverity_prepare_hash_state(const struct fsverity_hash_alg *alg, in fsverity_prepare_hash_state() 209 int fsverity_hash_buffer(const struct fsverity_hash_alg *alg, in fsverity_hash_buffer() 224 const struct fsverity_hash_alg *alg = &fsverity_hash_algs[i]; in fsverity_check_hash_algs() local
|
/linux-6.12.1/drivers/crypto/allwinner/sun8i-ce/ |
D | sun8i-ce-hash.c | 29 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ce_hash_init_tfm() local 123 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ce_hash_final() local 166 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ce_hash_finup() local 194 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ce_hash_digest_fb() local 209 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_need_fallback() local 242 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_digest() local 334 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_run() local
|
/linux-6.12.1/drivers/crypto/tegra/ |
D | tegra-se-key.c | 52 const u32 *key, u32 keylen, u16 slot, u32 alg) in tegra_key_prep_ins_cmd() 115 u32 keylen, u16 slot, u32 alg) in tegra_key_insert() 125 void tegra_key_invalidate(struct tegra_se *se, u32 keyid, u32 alg) in tegra_key_invalidate() 138 int tegra_key_submit(struct tegra_se *se, const u8 *key, u32 keylen, u32 alg, u32 *keyid) in tegra_key_submit()
|
/linux-6.12.1/drivers/crypto/allwinner/sun8i-ss/ |
D | sun8i-ss-hash.c | 98 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ss_hash_init_tfm() local 194 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ss_hash_final() local 238 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ss_hash_finup() local 267 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ss_hash_digest_fb() local 343 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ss_hash_need_fallback() local 393 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ss_hash_digest() local 479 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ss_hash_run() local
|
D | sun8i-ss-cipher.c | 26 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun8i_ss_need_fallback() local 97 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun8i_ss_cipher_fallback() local 189 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun8i_ss_cipher() local 393 struct skcipher_alg *alg = crypto_skcipher_alg(sktfm); in sun8i_ss_cipher_init() local
|
/linux-6.12.1/include/crypto/internal/ |
D | hash.h | 37 struct ahash_alg alg; member 48 struct shash_alg alg; member 79 static inline bool crypto_shash_alg_has_setkey(struct shash_alg *alg) in crypto_shash_alg_has_setkey() 84 static inline bool crypto_shash_alg_needs_key(struct shash_alg *alg) in crypto_shash_alg_needs_key() 142 static inline struct ahash_alg *__crypto_ahash_alg(struct crypto_alg *alg) in __crypto_ahash_alg()
|
/linux-6.12.1/drivers/crypto/nx/ |
D | nx.c | 515 static int nx_register_skcipher(struct skcipher_alg *alg, u32 fc, u32 mode) in nx_register_skcipher() 521 static int nx_register_aead(struct aead_alg *alg, u32 fc, u32 mode) in nx_register_aead() 527 static int nx_register_shash(struct shash_alg *alg, u32 fc, u32 mode, int slot) in nx_register_shash() 535 static void nx_unregister_skcipher(struct skcipher_alg *alg, u32 fc, u32 mode) in nx_unregister_skcipher() 541 static void nx_unregister_aead(struct aead_alg *alg, u32 fc, u32 mode) in nx_unregister_aead() 547 static void nx_unregister_shash(struct shash_alg *alg, u32 fc, u32 mode, in nx_unregister_shash()
|
/linux-6.12.1/drivers/crypto/hisilicon/sec/ |
D | sec_algs.c | 128 enum sec_cipher_alg alg) in sec_alg_skcipher_init_template() 145 enum sec_cipher_alg alg) in sec_alg_skcipher_init_context() 229 enum sec_cipher_alg alg) in sec_alg_skcipher_setkey() 256 enum sec_cipher_alg alg; in sec_alg_skcipher_setkey_aes_ecb() local 278 enum sec_cipher_alg alg; in sec_alg_skcipher_setkey_aes_cbc() local 300 enum sec_cipher_alg alg; in sec_alg_skcipher_setkey_aes_ctr() local 322 enum sec_cipher_alg alg; in sec_alg_skcipher_setkey_aes_xts() local
|
/linux-6.12.1/net/wireless/ |
D | lib80211.c | 167 struct lib80211_crypto_alg *alg; in lib80211_register_crypto_ops() local 188 struct lib80211_crypto_alg *alg; in lib80211_unregister_crypto_ops() local 211 struct lib80211_crypto_alg *alg; in lib80211_get_crypto_ops() local
|