Home
last modified time | relevance | path

Searched defs:alg (Results 1 – 25 of 246) sorted by relevance

12345678910

/linux-6.14.4/crypto/
Dapi.c44 struct crypto_alg *crypto_mod_get(struct crypto_alg *alg) in crypto_mod_get()
50 void crypto_mod_put(struct crypto_alg *alg) in crypto_mod_put()
62 struct crypto_alg *q, *alg = NULL; in __crypto_alg_lookup() local
94 static void crypto_larval_destroy(struct crypto_alg *alg) in crypto_larval_destroy()
129 struct crypto_alg *alg; in crypto_larval_add() local
201 static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg, in crypto_larval_wait()
248 struct crypto_alg *alg; in crypto_alg_lookup() local
284 struct crypto_alg *alg; in crypto_larval_lookup() local
331 struct crypto_alg *alg; in crypto_alg_mod_lookup() local
370 static unsigned int crypto_ctxsize(struct crypto_alg *alg, u32 type, u32 mask) in crypto_ctxsize()
[all …]
Dacompress.c26 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()
Dalgapi.c32 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()
231 static void crypto_alg_finish_registration(struct crypto_alg *alg, in crypto_alg_finish_registration()
259 static struct crypto_larval *crypto_alloc_test_larval(struct crypto_alg *alg) in crypto_alloc_test_larval()
288 __crypto_register_alg(struct crypto_alg *alg, struct list_head *algs_to_put) in __crypto_register_alg()
347 struct crypto_alg *alg; in crypto_alg_tested() local
397 struct crypto_alg *alg; in crypto_remove_final() local
407 int crypto_register_alg(struct crypto_alg *alg) in crypto_register_alg()
[all …]
Dinternal.h29 struct crypto_alg alg; member
87 static inline unsigned int crypto_cipher_ctxsize(struct crypto_alg *alg) in crypto_cipher_ctxsize()
92 static inline unsigned int crypto_compress_ctxsize(struct crypto_alg *alg) in crypto_compress_ctxsize()
117 static inline void *crypto_create_tfm(struct crypto_alg *alg, in crypto_create_tfm()
144 static inline struct crypto_alg *crypto_alg_get(struct crypto_alg *alg) in crypto_alg_get()
150 static inline void crypto_alg_put(struct crypto_alg *alg) in crypto_alg_put()
166 static inline int crypto_is_larval(struct crypto_alg *alg) in crypto_is_larval()
171 static inline int crypto_is_dead(struct crypto_alg *alg) in crypto_is_dead()
176 static inline int crypto_is_moribund(struct crypto_alg *alg) in crypto_is_moribund()
Dkpp.c21 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()
Dcrypto_user.c37 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 …]
Dsig.c21 struct sig_alg *alg = crypto_sig_alg(sig); in crypto_sig_exit_tfm() local
29 struct sig_alg *alg = crypto_sig_alg(sig); in crypto_sig_init_tfm() local
48 struct crypto_alg *alg) in crypto_sig_show()
54 struct crypto_alg *alg) in crypto_sig_report()
105 static int sig_prepare_alg(struct sig_alg *alg) in sig_prepare_alg()
131 int crypto_register_sig(struct sig_alg *alg) in crypto_register_sig()
144 void crypto_unregister_sig(struct sig_alg *alg) in crypto_unregister_sig()
Dskcipher.c67 struct crypto_alg *alg) in __crypto_skcipher_alg()
311 const struct skcipher_alg *alg = in skcipher_walk_virt() local
352 const struct aead_alg *alg = crypto_aead_alg(crypto_aead_reqtfm(req)); in skcipher_walk_aead_common() local
474 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in crypto_skcipher_encrypt() local
487 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in crypto_skcipher_decrypt() local
536 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in crypto_skcipher_export() local
547 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in crypto_skcipher_import() local
558 struct skcipher_alg *alg = crypto_skcipher_alg(skcipher); in crypto_skcipher_exit_tfm() local
566 struct skcipher_alg *alg = crypto_skcipher_alg(skcipher); in crypto_skcipher_init_tfm() local
591 static unsigned int crypto_skcipher_extsize(struct crypto_alg *alg) in crypto_skcipher_extsize()
[all …]
Dcrypto_engine.c77 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 …]
Dshash.c26 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()
Dlskcipher.c27 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 …]
Daead.c111 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()
Dakcipher.c37 struct sk_buff *skb, struct crypto_alg *alg) in crypto_akcipher_report()
52 static void crypto_akcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_akcipher_show()
60 struct akcipher_alg *alg = crypto_akcipher_alg(akcipher); in crypto_akcipher_exit_tfm() local
68 struct akcipher_alg *alg = crypto_akcipher_alg(akcipher); in crypto_akcipher_init_tfm() local
118 static void akcipher_prepare_alg(struct akcipher_alg *alg) in akcipher_prepare_alg()
138 int crypto_register_akcipher(struct akcipher_alg *alg) in crypto_register_akcipher()
154 void crypto_unregister_akcipher(struct akcipher_alg *alg) in crypto_unregister_akcipher()
Drng.c59 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()
Dahash.c233 static void ahash_set_needkey(struct crypto_ahash *tfm, struct ahash_alg *alg) in ahash_set_needkey()
255 struct ahash_alg *alg = crypto_ahash_alg(tfm); in crypto_ahash_setkey() local
481 struct ahash_alg *alg = crypto_ahash_alg(hash); in crypto_ahash_exit_tfm() local
489 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()
520 struct sk_buff *skb, struct crypto_alg *alg) in crypto_ahash_report()
536 static void crypto_ahash_show(struct seq_file *m, struct crypto_alg *alg) in crypto_ahash_show()
586 struct crypto_alg *alg = &halg->base; in crypto_hash_alg_has_setkey() local
599 struct ahash_alg *alg; in crypto_clone_ahash() local
649 static int ahash_prepare_alg(struct ahash_alg *alg) in ahash_prepare_alg()
[all …]
Dsimd.c43 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
Dscompress.c41 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.14.4/include/crypto/
Dsig.h105 static inline struct sig_alg *__crypto_sig_alg(struct crypto_alg *alg) in __crypto_sig_alg()
139 struct sig_alg *alg = crypto_sig_alg(tfm); in crypto_sig_keysize() local
156 struct sig_alg *alg = crypto_sig_alg(tfm); in crypto_sig_digestsize() local
173 struct sig_alg *alg = crypto_sig_alg(tfm); in crypto_sig_maxsize() local
195 struct sig_alg *alg = crypto_sig_alg(tfm); in crypto_sig_sign() local
218 struct sig_alg *alg = crypto_sig_alg(tfm); in crypto_sig_verify() local
239 struct sig_alg *alg = crypto_sig_alg(tfm); in crypto_sig_set_pubkey() local
260 struct sig_alg *alg = crypto_sig_alg(tfm); in crypto_sig_set_privkey() local
Dakcipher.h128 static inline struct akcipher_alg *__crypto_akcipher_alg(struct crypto_alg *alg) in __crypto_akcipher_alg()
260 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_maxsize() local
352 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_set_pub_key() local
374 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_set_priv_key() local
/linux-6.14.4/drivers/crypto/tegra/
Dtegra-se-key.c52 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()
131 void tegra_key_invalidate(struct tegra_se *se, u32 keyid, u32 alg) in tegra_key_invalidate()
144 void tegra_key_invalidate_reserved(struct tegra_se *se, u32 keyid, u32 alg) in tegra_key_invalidate_reserved()
156 u32 keylen, u32 alg, u32 *keyid) in tegra_key_submit_reserved()
161 int tegra_key_submit(struct tegra_se *se, const u8 *key, u32 keylen, u32 alg, u32 *keyid) in tegra_key_submit()
/linux-6.14.4/fs/verity/
Dhash_algs.c45 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.14.4/drivers/crypto/allwinner/sun8i-ce/
Dsun8i-ce-hash.c29 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.14.4/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-hash.c98 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
/linux-6.14.4/include/crypto/internal/
Dhash.h23 struct ahash_alg alg; member
34 struct shash_alg alg; member
56 static inline bool crypto_shash_alg_has_setkey(struct shash_alg *alg) in crypto_shash_alg_has_setkey()
61 static inline bool crypto_shash_alg_needs_key(struct shash_alg *alg) in crypto_shash_alg_needs_key()
119 static inline struct ahash_alg *__crypto_ahash_alg(struct crypto_alg *alg) in __crypto_ahash_alg()
/linux-6.14.4/drivers/crypto/nx/
Dnx.c515 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()

12345678910