Home
last modified time | relevance | path

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

12

/crypto/
A Dapi.c49 void crypto_mod_put(struct crypto_alg *alg) in crypto_mod_put()
61 struct crypto_alg *q, *alg = NULL; in __crypto_alg_lookup() local
128 struct crypto_alg *alg; in crypto_larval_add() local
256 struct crypto_alg *alg; in crypto_alg_lookup() local
292 struct crypto_alg *alg; in crypto_larval_lookup() local
339 struct crypto_alg *alg; in crypto_alg_mod_lookup() local
399 void crypto_shoot_alg(struct crypto_alg *alg) in crypto_shoot_alg()
474 struct crypto_alg *alg; in crypto_alloc_base() local
565 struct crypto_alg *alg = otfm->__crt_alg; in crypto_clone_tfm() local
634 struct crypto_alg *alg; in crypto_alloc_tfm_node() local
[all …]
A 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
107 static void kpp_prepare_alg(struct kpp_alg *alg) in kpp_prepare_alg()
116 int crypto_register_kpp(struct kpp_alg *alg) in crypto_register_kpp()
125 void crypto_unregister_kpp(struct kpp_alg *alg) in crypto_unregister_kpp()
A Dalgapi.c32 static int crypto_check_alg(struct crypto_alg *alg) in crypto_check_alg()
360 struct crypto_alg *alg; in crypto_alg_tested() local
410 struct crypto_alg *alg; in crypto_remove_final() local
420 static void crypto_free_alg(struct crypto_alg *alg) in crypto_free_alg()
429 int crypto_register_alg(struct crypto_alg *alg) in crypto_register_alg()
489 void crypto_unregister_alg(struct crypto_alg *alg) in crypto_unregister_alg()
726 struct crypto_alg *alg; in crypto_grab_spawn() local
776 struct crypto_alg *alg = ERR_PTR(-EAGAIN); in crypto_spawn_alg() local
802 struct crypto_alg *alg; in crypto_spawn_tfm() local
827 struct crypto_alg *alg; in crypto_spawn_tfm2() local
[all …]
A 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()
111 static int sig_prepare_alg(struct sig_alg *alg) in sig_prepare_alg()
137 int crypto_register_sig(struct sig_alg *alg) in crypto_register_sig()
150 void crypto_unregister_sig(struct sig_alg *alg) in crypto_unregister_sig()
A Dinternal.h29 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()
132 static inline void *crypto_create_tfm(struct crypto_alg *alg, in crypto_create_tfm()
159 static inline struct crypto_alg *crypto_alg_get(struct crypto_alg *alg) in crypto_alg_get()
167 static inline void crypto_alg_put(struct crypto_alg *alg) in crypto_alg_put()
183 static inline int crypto_is_larval(struct crypto_alg *alg) in crypto_is_larval()
188 static inline int crypto_is_dead(struct crypto_alg *alg) in crypto_is_dead()
193 static inline int crypto_is_moribund(struct crypto_alg *alg) in crypto_is_moribund()
A Dskcipher.c33 struct crypto_alg *alg) in __crypto_skcipher_alg()
42 struct skcipher_alg *alg; in skcipher_walk_virt() local
189 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in crypto_skcipher_encrypt() local
202 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in crypto_skcipher_decrypt() local
251 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in crypto_skcipher_export() local
262 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in crypto_skcipher_import() local
273 struct skcipher_alg *alg = crypto_skcipher_alg(skcipher); in crypto_skcipher_exit_tfm() local
281 struct skcipher_alg *alg = crypto_skcipher_alg(skcipher); in crypto_skcipher_init_tfm() local
341 struct sk_buff *skb, struct crypto_alg *alg) in crypto_skcipher_report()
441 static int skcipher_prepare_alg(struct skcipher_alg *alg) in skcipher_prepare_alg()
[all …]
A Dcrypto_engine.c74 struct crypto_engine_alg *alg; in crypto_pump_requests() local
507 int crypto_engine_register_aead(struct aead_engine_alg *alg) in crypto_engine_register_aead()
515 void crypto_engine_unregister_aead(struct aead_engine_alg *alg) in crypto_engine_unregister_aead()
549 int crypto_engine_register_ahash(struct ahash_engine_alg *alg) in crypto_engine_register_ahash()
557 void crypto_engine_unregister_ahash(struct ahash_engine_alg *alg) in crypto_engine_unregister_ahash()
592 int crypto_engine_register_akcipher(struct akcipher_engine_alg *alg) in crypto_engine_register_akcipher()
600 void crypto_engine_unregister_akcipher(struct akcipher_engine_alg *alg) in crypto_engine_unregister_akcipher()
606 int crypto_engine_register_kpp(struct kpp_engine_alg *alg) in crypto_engine_register_kpp()
614 void crypto_engine_unregister_kpp(struct kpp_engine_alg *alg) in crypto_engine_unregister_kpp()
620 int crypto_engine_register_skcipher(struct skcipher_engine_alg *alg) in crypto_engine_register_skcipher()
[all …]
A 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_one(struct crypto_alg *alg, in crypto_report_one()
137 static int crypto_report_alg(struct crypto_alg *alg, in crypto_report_alg()
172 struct crypto_alg *alg; in crypto_report() local
212 struct crypto_alg *alg; in crypto_dump_report() local
246 struct crypto_alg *alg; in crypto_update_alg() local
282 struct crypto_alg *alg; in crypto_del_alg() local
322 struct crypto_alg *alg; in crypto_add_alg() local
429 struct crypto_alg *alg; in crypto_user_rcv_msg() local
A 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()
171 int crypto_register_rng(struct rng_alg *alg) in crypto_register_rng()
186 void crypto_unregister_rng(struct rng_alg *alg) in crypto_unregister_rng()
A Daead.c112 struct aead_alg *alg = crypto_aead_alg(aead); in crypto_aead_exit_tfm() local
120 struct aead_alg *alg = crypto_aead_alg(aead); in crypto_aead_init_tfm() local
136 struct sk_buff *skb, struct crypto_alg *alg) in crypto_aead_report()
155 static void crypto_aead_show(struct seq_file *m, struct crypto_alg *alg) in crypto_aead_show()
213 static int aead_prepare_alg(struct aead_alg *alg) in aead_prepare_alg()
231 int crypto_register_aead(struct aead_alg *alg) in crypto_register_aead()
244 void crypto_unregister_aead(struct aead_alg *alg) in crypto_unregister_aead()
A 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
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()
344 static int lskcipher_prepare_alg(struct lskcipher_alg *alg) in lskcipher_prepare_alg()
362 int crypto_register_lskcipher(struct lskcipher_alg *alg) in crypto_register_lskcipher()
[all …]
A 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
119 static void akcipher_prepare_alg(struct akcipher_alg *alg) in akcipher_prepare_alg()
139 int crypto_register_akcipher(struct akcipher_alg *alg) in crypto_register_akcipher()
155 void crypto_unregister_akcipher(struct akcipher_alg *alg) in crypto_unregister_akcipher()
A Dscompress.c49 struct sk_buff *skb, struct crypto_alg *alg) in crypto_scomp_report()
64 static void crypto_scomp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_scomp_show()
124 struct scomp_alg *alg = crypto_scomp_alg(__crypto_scomp_tfm(tfm)); in crypto_scomp_init_tfm() local
328 static void crypto_scomp_destroy(struct crypto_alg *alg) in crypto_scomp_destroy()
352 static void scomp_prepare_alg(struct scomp_alg *alg) in scomp_prepare_alg()
361 int crypto_register_scomp(struct scomp_alg *alg) in crypto_register_scomp()
374 void crypto_unregister_scomp(struct scomp_alg *alg) in crypto_unregister_scomp()
A Dacompress.c41 static inline struct acomp_alg *__crypto_acomp_alg(struct crypto_alg *alg) in __crypto_acomp_alg()
52 struct sk_buff *skb, struct crypto_alg *alg) in crypto_acomp_report()
66 static void crypto_acomp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_acomp_show()
74 struct acomp_alg *alg = crypto_acomp_alg(acomp); in crypto_acomp_exit_tfm() local
86 struct acomp_alg *alg = crypto_acomp_alg(acomp); in crypto_acomp_init_tfm() local
126 static unsigned int crypto_acomp_extsize(struct crypto_alg *alg) in crypto_acomp_extsize()
308 void comp_prepare_alg(struct comp_alg_common *alg) in comp_prepare_alg()
315 int crypto_register_acomp(struct acomp_alg *alg) in crypto_register_acomp()
328 void crypto_unregister_acomp(struct acomp_alg *alg) in crypto_unregister_acomp()
A Dshash.c44 static void shash_set_needkey(struct crypto_shash *tfm, struct shash_alg *alg) in shash_set_needkey()
305 struct shash_alg *alg = crypto_shash_alg(hash); in crypto_shash_exit_tfm() local
313 struct shash_alg *alg = crypto_shash_alg(hash); in crypto_shash_init_tfm() local
334 struct sk_buff *skb, struct crypto_alg *alg) in crypto_shash_report()
351 static void crypto_shash_show(struct seq_file *m, struct crypto_alg *alg) in crypto_shash_show()
402 struct shash_alg *alg = crypto_shash_alg(hash); in crypto_clone_shash() local
436 int hash_prepare_alg(struct hash_alg_common *alg) in hash_prepare_alg()
462 static int shash_prepare_alg(struct shash_alg *alg) in shash_prepare_alg()
520 int crypto_register_shash(struct shash_alg *alg) in crypto_register_shash()
533 void crypto_unregister_shash(struct shash_alg *alg) in crypto_unregister_shash()
A Dahash.c305 struct ahash_alg *alg = crypto_ahash_alg(tfm); in crypto_ahash_setkey() local
689 struct ahash_alg *alg = crypto_ahash_alg(hash); in crypto_ahash_exit_tfm() local
703 struct ahash_alg *alg = crypto_ahash_alg(hash); in crypto_ahash_init_tfm() local
760 static unsigned int crypto_ahash_extsize(struct crypto_alg *alg) in crypto_ahash_extsize()
776 struct sk_buff *skb, struct crypto_alg *alg) in crypto_ahash_report()
792 static void crypto_ahash_show(struct seq_file *m, struct crypto_alg *alg) in crypto_ahash_show()
843 struct crypto_alg *alg = &halg->base; in crypto_hash_alg_has_setkey() local
858 struct ahash_alg *alg; in crypto_clone_ahash() local
932 static int ahash_prepare_alg(struct ahash_alg *alg) in ahash_prepare_alg()
984 int crypto_register_ahash(struct ahash_alg *alg) in crypto_register_ahash()
[all …]
A 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
A Dalgboss.c46 char alg[CRYPTO_MAX_ALG_NAME]; member
187 static int cryptomgr_schedule_test(struct crypto_alg *alg) in cryptomgr_schedule_test()
A Dproc.c39 struct crypto_alg *alg = list_entry(p, struct crypto_alg, cra_list); in c_show() local
A Dgeniv.c45 struct aead_alg *alg; in aead_geniv_alloc() local
A Dctr.c130 struct crypto_alg *alg; in crypto_ctr_create() local
262 struct skcipher_alg_common *alg; in crypto_rfc3686_create() local
A Dblowfish_generic.c101 static struct crypto_alg alg = { variable
A Dxxhash_generic.c70 static struct shash_alg alg = { variable
A Dpcrypt.c222 struct crypto_alg *alg) in pcrypt_init_instance()
242 struct aead_alg *alg; in pcrypt_create_aead() local
A Dcipher.c96 struct crypto_alg *alg = tfm->__crt_alg; in crypto_clone_cipher() local

Completed in 46 milliseconds

12