Home
last modified time | relevance | path

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

123456789

/Linux-v4.19/crypto/
Dapi.c40 struct crypto_alg *crypto_mod_get(struct crypto_alg *alg) in crypto_mod_get()
46 void crypto_mod_put(struct crypto_alg *alg) in crypto_mod_put()
63 struct crypto_alg *q, *alg = NULL; in __crypto_alg_lookup() local
100 static void crypto_larval_destroy(struct crypto_alg *alg) in crypto_larval_destroy()
133 struct crypto_alg *alg; in crypto_larval_add() local
159 void crypto_larval_kill(struct crypto_alg *alg) in crypto_larval_kill()
171 static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg) in crypto_larval_wait()
199 struct crypto_alg *alg; in crypto_alg_lookup() local
223 struct crypto_alg *alg; in crypto_larval_lookup() local
266 struct crypto_alg *alg; in crypto_alg_mod_lookup() local
[all …]
Dkpp.c29 static int crypto_kpp_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_kpp_report()
44 static int crypto_kpp_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_kpp_report()
53 static void crypto_kpp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_kpp_show()
61 struct kpp_alg *alg = crypto_kpp_alg(kpp); in crypto_kpp_exit_tfm() local
69 struct kpp_alg *alg = crypto_kpp_alg(kpp); in crypto_kpp_init_tfm() local
99 static void kpp_prepare_alg(struct kpp_alg *alg) in kpp_prepare_alg()
108 int crypto_register_kpp(struct kpp_alg *alg) in crypto_register_kpp()
117 void crypto_unregister_kpp(struct kpp_alg *alg) in crypto_unregister_kpp()
Dinternal.h39 struct crypto_alg alg; member
59 static inline unsigned int crypto_cipher_ctxsize(struct crypto_alg *alg) in crypto_cipher_ctxsize()
64 static inline unsigned int crypto_compress_ctxsize(struct crypto_alg *alg) in crypto_compress_ctxsize()
102 static inline struct crypto_alg *crypto_alg_get(struct crypto_alg *alg) in crypto_alg_get()
108 static inline void crypto_alg_put(struct crypto_alg *alg) in crypto_alg_put()
124 static inline int crypto_is_larval(struct crypto_alg *alg) in crypto_is_larval()
129 static inline int crypto_is_dead(struct crypto_alg *alg) in crypto_is_dead()
134 static inline int crypto_is_moribund(struct crypto_alg *alg) in crypto_is_moribund()
Dakcipher.c29 static int crypto_akcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_akcipher_report()
44 static int crypto_akcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_akcipher_report()
53 static void crypto_akcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_akcipher_show()
61 struct akcipher_alg *alg = crypto_akcipher_alg(akcipher); in crypto_akcipher_exit_tfm() local
69 struct akcipher_alg *alg = crypto_akcipher_alg(akcipher); in crypto_akcipher_init_tfm() local
116 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()
134 void crypto_unregister_akcipher(struct akcipher_alg *alg) in crypto_unregister_akcipher()
Dacompress.c32 static int crypto_acomp_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_acomp_report()
47 static int crypto_acomp_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_acomp_report()
56 static void crypto_acomp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_acomp_show()
64 struct acomp_alg *alg = crypto_acomp_alg(acomp); in crypto_acomp_exit_tfm() local
72 struct acomp_alg *alg = crypto_acomp_alg(acomp); in crypto_acomp_init_tfm() local
91 static unsigned int crypto_acomp_extsize(struct crypto_alg *alg) in crypto_acomp_extsize()
151 int crypto_register_acomp(struct acomp_alg *alg) in crypto_register_acomp()
163 int crypto_unregister_acomp(struct acomp_alg *alg) in crypto_unregister_acomp()
Dcrypto_user.c51 struct crypto_alg *q, *alg = NULL; in crypto_alg_match() local
82 static int crypto_report_cipher(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_cipher()
101 static int crypto_report_comp(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_comp()
115 static int crypto_report_acomp(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_acomp()
130 static int crypto_report_akcipher(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_akcipher()
145 static int crypto_report_kpp(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_kpp()
160 static int crypto_report_one(struct crypto_alg *alg, in crypto_report_one()
227 static int crypto_report_alg(struct crypto_alg *alg, in crypto_report_alg()
261 struct crypto_alg *alg; in crypto_report() local
296 struct crypto_alg *alg; in crypto_dump_report() local
[all …]
Dalgapi.c29 static inline int crypto_set_driver_name(struct crypto_alg *alg) in crypto_set_driver_name()
53 static int crypto_check_alg(struct crypto_alg *alg) in crypto_check_alg()
90 static void crypto_destroy_instance(struct crypto_alg *alg) in crypto_destroy_instance()
99 static struct list_head *crypto_more_spawns(struct crypto_alg *alg, in crypto_more_spawns()
143 void crypto_remove_spawns(struct crypto_alg *alg, struct list_head *list, in crypto_remove_spawns()
204 static struct crypto_larval *__crypto_register_alg(struct crypto_alg *alg) in __crypto_register_alg()
269 struct crypto_alg *alg; in crypto_alg_tested() local
347 struct crypto_alg *alg; in crypto_remove_final() local
375 int crypto_register_alg(struct crypto_alg *alg) in crypto_register_alg()
397 static int crypto_remove_alg(struct crypto_alg *alg, struct list_head *list) in crypto_remove_alg()
[all …]
Drng.c64 static unsigned int seedsize(struct crypto_alg *alg) in seedsize()
72 static int crypto_rng_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_rng_report()
89 static int crypto_rng_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_rng_report()
97 static void crypto_rng_show(struct seq_file *m, struct crypto_alg *alg) in crypto_rng_show()
183 int crypto_register_rng(struct rng_alg *alg) in crypto_register_rng()
198 void crypto_unregister_rng(struct rng_alg *alg) in crypto_unregister_rng()
Daead.c93 struct aead_alg *alg = crypto_aead_alg(aead); in crypto_aead_exit_tfm() local
101 struct aead_alg *alg = crypto_aead_alg(aead); in crypto_aead_init_tfm() local
117 static int crypto_aead_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_aead_report()
138 static int crypto_aead_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_aead_report()
146 static void crypto_aead_show(struct seq_file *m, struct crypto_alg *alg) in crypto_aead_show()
208 struct aead_alg *alg; in aead_geniv_alloc() local
355 static int aead_prepare_alg(struct aead_alg *alg) in aead_prepare_alg()
373 int crypto_register_aead(struct aead_alg *alg) in crypto_register_aead()
386 void crypto_unregister_aead(struct aead_alg *alg) in crypto_unregister_aead()
Dahash.c453 struct ahash_alg *alg = crypto_ahash_alg(hash); in crypto_ahash_init_tfm() local
477 static unsigned int crypto_ahash_extsize(struct crypto_alg *alg) in crypto_ahash_extsize()
486 static int crypto_ahash_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_ahash_report()
504 static int crypto_ahash_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_ahash_report()
512 static void crypto_ahash_show(struct seq_file *m, struct crypto_alg *alg) in crypto_ahash_show()
549 static int ahash_prepare_alg(struct ahash_alg *alg) in ahash_prepare_alg()
565 int crypto_register_ahash(struct ahash_alg *alg) in crypto_register_ahash()
578 int crypto_unregister_ahash(struct ahash_alg *alg) in crypto_unregister_ahash()
634 struct hash_alg_common *alg, in crypto_init_ahash_spawn()
644 struct crypto_alg *alg; in ahash_attr_alg() local
[all …]
Dblkcipher.c420 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in async_encrypt() local
434 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in async_decrypt() local
444 static unsigned int crypto_blkcipher_ctxsize(struct crypto_alg *alg, u32 type, in crypto_blkcipher_ctxsize()
462 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in crypto_init_blkcipher_ops_async() local
476 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in crypto_init_blkcipher_ops_sync() local
494 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in crypto_init_blkcipher_ops() local
506 static int crypto_blkcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_blkcipher_report()
529 static int crypto_blkcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_blkcipher_report()
537 static void crypto_blkcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_blkcipher_show()
Dablkcipher.c339 static unsigned int crypto_ablkcipher_ctxsize(struct crypto_alg *alg, u32 type, in crypto_ablkcipher_ctxsize()
348 struct ablkcipher_alg *alg = &tfm->__crt_alg->cra_ablkcipher; in crypto_init_ablkcipher_ops() local
364 static int crypto_ablkcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_ablkcipher_report()
387 static int crypto_ablkcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_ablkcipher_report()
395 static void crypto_ablkcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_ablkcipher_show()
422 struct ablkcipher_alg *alg = &tfm->__crt_alg->cra_ablkcipher; in crypto_init_givcipher_ops() local
439 static int crypto_givcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_givcipher_report()
462 static int crypto_givcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_givcipher_report()
470 static void crypto_givcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_givcipher_show()
Dskcipher.c575 static unsigned int crypto_skcipher_extsize(struct crypto_alg *alg) in crypto_skcipher_extsize()
629 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in skcipher_encrypt_blkcipher() local
638 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in skcipher_decrypt_blkcipher() local
727 struct ablkcipher_alg *alg = &tfm->__crt_alg->cra_ablkcipher; in skcipher_encrypt_ablkcipher() local
736 struct ablkcipher_alg *alg = &tfm->__crt_alg->cra_ablkcipher; in skcipher_decrypt_ablkcipher() local
832 struct skcipher_alg *alg = crypto_skcipher_alg(skcipher); in crypto_skcipher_exit_tfm() local
840 struct skcipher_alg *alg = crypto_skcipher_alg(skcipher); in crypto_skcipher_init_tfm() local
877 static void crypto_skcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_skcipher_show()
894 static int crypto_skcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_skcipher_report()
917 static int crypto_skcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_skcipher_report()
[all …]
Dshash.c349 struct shash_alg *alg = __crypto_shash_alg(calg); in crypto_init_shash_ops_async() local
389 struct shash_alg *alg = crypto_shash_alg(hash); in crypto_shash_init_tfm() local
401 static int crypto_shash_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_shash_report()
420 static int crypto_shash_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_shash_report()
428 static void crypto_shash_show(struct seq_file *m, struct crypto_alg *alg) in crypto_shash_show()
457 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()
571 struct crypto_alg *alg; in shash_attr_alg() local
Dscompress.c39 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()
280 int crypto_register_scomp(struct scomp_alg *alg) in crypto_register_scomp()
292 int crypto_unregister_scomp(struct scomp_alg *alg) in crypto_unregister_scomp()
Dsimd.c36 struct skcipher_alg alg; member
113 struct skcipher_alg *alg; in simd_skcipher_init() local
142 struct skcipher_alg *alg; in simd_skcipher_create_compat() local
/Linux-v4.19/include/crypto/
Dakcipher.h139 static inline struct akcipher_alg *__crypto_akcipher_alg(struct crypto_alg *alg) in __crypto_akcipher_alg()
269 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_maxsize() local
287 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_encrypt() local
305 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_decrypt() local
323 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_sign() local
341 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_verify() local
362 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_set_pub_key() local
383 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_set_priv_key() local
Dkpp.h117 static inline struct kpp_alg *__crypto_kpp_alg(struct crypto_alg *alg) in __crypto_kpp_alg()
289 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
328 struct kpp_alg *alg = crypto_kpp_alg(tfm); in crypto_kpp_compute_shared_secret() local
345 struct kpp_alg *alg = crypto_kpp_alg(tfm); in crypto_kpp_maxsize() local
/Linux-v4.19/include/crypto/internal/
Dhash.h38 struct ahash_alg alg; member
42 struct shash_alg alg; member
88 static inline bool crypto_shash_alg_has_setkey(struct shash_alg *alg) in crypto_shash_alg_has_setkey()
136 static inline struct ahash_alg *__crypto_ahash_alg(struct crypto_alg *alg) in __crypto_ahash_alg()
171 const char *name, struct crypto_alg *alg) in ahash_alloc_instance()
234 const char *name, struct crypto_alg *alg) in shash_alloc_instance()
/Linux-v4.19/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt.c106 struct ieee80211_crypto_alg *alg; in ieee80211_register_crypto_ops() local
138 struct ieee80211_crypto_alg *alg = in ieee80211_unregister_crypto_ops() local
169 struct ieee80211_crypto_alg *alg = in ieee80211_get_crypto_ops() local
231 struct ieee80211_crypto_alg *alg = in ieee80211_crypto_deinit() local
/Linux-v4.19/drivers/crypto/
Dpicoxcell_crypto.c107 struct aead_alg alg; member
150 struct crypto_alg alg; member
189 static inline struct spacc_alg *to_spacc_alg(struct crypto_alg *alg) in to_spacc_alg()
194 static inline struct spacc_aead *to_spacc_aead(struct aead_alg *alg) in to_spacc_aead()
527 struct aead_alg *alg = crypto_aead_alg(aead); in spacc_aead_need_fallback() local
575 struct aead_alg *alg = crypto_aead_alg(aead); in spacc_aead_submit() local
646 struct aead_alg *alg = crypto_aead_alg(aead); in spacc_aead_setup() local
692 struct spacc_aead *alg = to_spacc_aead(crypto_aead_alg(aead)); in spacc_aead_encrypt() local
700 struct spacc_aead *alg = to_spacc_aead(crypto_aead_alg(aead)); in spacc_aead_decrypt() local
712 struct aead_alg *alg = crypto_aead_alg(tfm); in spacc_aead_cra_init() local
[all …]
/Linux-v4.19/drivers/crypto/nx/
Dnx.c526 static int nx_register_alg(struct crypto_alg *alg, u32 fc, u32 mode) in nx_register_alg()
532 static int nx_register_aead(struct aead_alg *alg, u32 fc, u32 mode) in nx_register_aead()
538 static int nx_register_shash(struct shash_alg *alg, u32 fc, u32 mode, int slot) in nx_register_shash()
546 static void nx_unregister_alg(struct crypto_alg *alg, u32 fc, u32 mode) in nx_unregister_alg()
552 static void nx_unregister_aead(struct aead_alg *alg, u32 fc, u32 mode) in nx_unregister_aead()
558 static void nx_unregister_shash(struct shash_alg *alg, u32 fc, u32 mode, in nx_unregister_shash()
/Linux-v4.19/drivers/crypto/hisilicon/sec/
Dsec_algs.c128 enum sec_cipher_alg alg) in sec_alg_skcipher_init_template()
145 enum sec_cipher_alg alg) in sec_alg_skcipher_init_context()
233 enum sec_cipher_alg alg) in sec_alg_skcipher_setkey()
260 enum sec_cipher_alg alg; in sec_alg_skcipher_setkey_aes_ecb() local
282 enum sec_cipher_alg alg; in sec_alg_skcipher_setkey_aes_cbc() local
304 enum sec_cipher_alg alg; in sec_alg_skcipher_setkey_aes_ctr() local
326 enum sec_cipher_alg alg; in sec_alg_skcipher_setkey_aes_xts() local
/Linux-v4.19/drivers/crypto/sunxi-ss/
Dsun4i-ss-prng.c7 struct rng_alg *alg = crypto_rng_alg(tfm); in sun4i_ss_prng_seed() local
19 struct rng_alg *alg = crypto_rng_alg(tfm); in sun4i_ss_prng_generate() local
/Linux-v4.19/net/wireless/
Dlib80211.c168 struct lib80211_crypto_alg *alg; in lib80211_register_crypto_ops() local
189 struct lib80211_crypto_alg *alg; in lib80211_unregister_crypto_ops() local
212 struct lib80211_crypto_alg *alg; in lib80211_get_crypto_ops() local

123456789