Home
last modified time | relevance | path

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

123

/crypto/
Dfips140-alg-registration.c90 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 …]
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()
257 struct crypto_alg *alg; in crypto_alg_lookup() local
293 struct crypto_alg *alg; in crypto_larval_lookup() local
340 struct crypto_alg *alg; in crypto_alg_mod_lookup() local
379 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()
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()
Dalgapi.c38 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 …]
Dinternal.h31 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()
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 …]
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 …]
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.c24 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()
Dshash.c26 static void shash_set_needkey(struct crypto_shash *tfm, struct shash_alg *alg) in shash_set_needkey()
103 struct shash_alg *alg = crypto_shash_alg(desc->tfm); in crypto_shash_finup_mb() local
194 struct shash_alg *alg = crypto_shash_alg(hash); in crypto_shash_exit_tfm() local
202 struct shash_alg *alg = crypto_shash_alg(hash); in crypto_shash_init_tfm() local
237 struct sk_buff *skb, struct crypto_alg *alg) in crypto_shash_report()
254 static void crypto_shash_show(struct seq_file *m, struct crypto_alg *alg) in crypto_shash_show()
304 struct shash_alg *alg = crypto_shash_alg(hash); in crypto_clone_shash() local
337 int hash_prepare_alg(struct hash_alg_common *alg) in hash_prepare_alg()
353 static int shash_prepare_alg(struct shash_alg *alg) in shash_prepare_alg()
405 int crypto_register_shash(struct shash_alg *alg) in crypto_register_shash()
[all …]
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()
175 int crypto_register_rng(struct rng_alg *alg) in crypto_register_rng()
193 void crypto_unregister_rng(struct rng_alg *alg) in crypto_unregister_rng()
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 …]
Dahash.c217 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 …]
Dskcipher.c87 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 …]
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()
Dsig.c33 struct crypto_alg *alg) in crypto_sig_show()
39 struct crypto_alg *alg) in crypto_sig_report()
Dalgboss.c46 char alg[CRYPTO_MAX_ALG_NAME]; member
187 static int cryptomgr_schedule_test(struct crypto_alg *alg) in cryptomgr_schedule_test()
Dproc.c39 struct crypto_alg *alg = list_entry(p, struct crypto_alg, cra_list); in c_show() local
Dsha1_generic.c63 static struct shash_alg alg = { variable
Dgeniv.c46 struct aead_alg *alg; in aead_geniv_alloc() local
Dcrc64_rocksoft_generic.c56 static struct shash_alg alg = { variable
Dctr.c130 struct crypto_alg *alg; in crypto_ctr_create() local
262 struct skcipher_alg_common *alg; in crypto_rfc3686_create() local
Dcrct10dif_generic.c88 static struct shash_alg alg = { variable

123