Home
last modified time | relevance | path

Searched refs:crypto_alg (Results 1 – 25 of 117) sorted by relevance

12345

/linux-6.3-rc2/include/linux/
A Dcrypto.h478 struct crypto_alg { struct
502 void (*cra_destroy)(struct crypto_alg *alg); argument
521 void crypto_stats_init(struct crypto_alg *alg); argument
522 void crypto_stats_get(struct crypto_alg *alg);
536 void crypto_stats_rng_seed(struct crypto_alg *alg, int ret);
541 static inline void crypto_stats_init(struct crypto_alg *alg) in crypto_stats_init()
543 static inline void crypto_stats_get(struct crypto_alg *alg) in crypto_stats_get()
622 int crypto_register_alg(struct crypto_alg *alg);
623 void crypto_unregister_alg(struct crypto_alg *alg);
624 int crypto_register_algs(struct crypto_alg *algs, int count);
[all …]
/linux-6.3-rc2/crypto/
A Dinternal.h27 struct crypto_alg alg;
28 struct crypto_alg *adult;
90 struct crypto_alg *crypto_mod_get(struct crypto_alg *alg);
94 void crypto_larval_kill(struct crypto_alg *alg);
99 struct crypto_alg *nalg);
101 void crypto_shoot_alg(struct crypto_alg *alg);
104 void *crypto_create_tfm_node(struct crypto_alg *alg,
113 struct crypto_alg *crypto_find_alg(const char *alg_name,
129 unsigned int crypto_alg_extsize(struct crypto_alg *alg);
134 static inline struct crypto_alg *crypto_alg_get(struct crypto_alg *alg) in crypto_alg_get()
[all …]
A Dapi.c39 static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg);
41 struct crypto_alg *crypto_mod_get(struct crypto_alg *alg) in crypto_mod_get()
129 struct crypto_alg *alg; in crypto_larval_add()
202 static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg) in crypto_larval_wait()
238 struct crypto_alg *alg; in crypto_alg_lookup()
274 struct crypto_alg *alg; in crypto_larval_lookup()
317 struct crypto_alg *alg; in crypto_alg_mod_lookup()
318 struct crypto_alg *larval; in crypto_alg_mod_lookup()
462 struct crypto_alg *alg; in crypto_alloc_base()
579 struct crypto_alg *alg; in crypto_alloc_tfm_node()
[all …]
A Dalgapi.c229 struct crypto_alg *q; in crypto_alg_finish_registration()
307 struct crypto_alg *q; in __crypto_register_alg()
365 struct crypto_alg *alg; in crypto_alg_tested()
366 struct crypto_alg *q; in crypto_alg_tested()
432 struct crypto_alg *alg; in crypto_remove_final()
433 struct crypto_alg *n; in crypto_remove_final()
714 struct crypto_alg *alg; in crypto_grab_spawn()
790 struct crypto_alg *alg; in crypto_spawn_tfm()
815 struct crypto_alg *alg; in crypto_spawn_tfm2()
915 struct crypto_alg *alg) in crypto_inst_setname()
[all …]
A Drng.c33 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_rng_reset()
62 static unsigned int seedsize(struct crypto_alg *alg) in seedsize()
70 static int crypto_rng_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_rng_report()
83 static int crypto_rng_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_rng_report()
89 static void crypto_rng_show(struct seq_file *m, struct crypto_alg *alg)
91 static void crypto_rng_show(struct seq_file *m, struct crypto_alg *alg) in crypto_rng_show()
179 struct crypto_alg *base = &alg->base; in crypto_register_rng()
A Dkpp.c24 static int crypto_kpp_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_kpp_report()
35 static int crypto_kpp_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_kpp_report()
41 static void crypto_kpp_show(struct seq_file *m, struct crypto_alg *alg)
44 static void crypto_kpp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_kpp_show()
115 struct crypto_alg *base = &alg->base; in kpp_prepare_alg()
124 struct crypto_alg *base = &alg->base; in crypto_register_kpp()
A Dakcipher.c24 static int crypto_akcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_akcipher_report()
36 static int crypto_akcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_akcipher_report()
42 static void crypto_akcipher_show(struct seq_file *m, struct crypto_alg *alg)
45 static void crypto_akcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_akcipher_show()
111 struct crypto_alg *base = &alg->base; in akcipher_prepare_alg()
131 struct crypto_alg *base = &alg->base; in crypto_register_akcipher()
A Dcrypto_user_stat.c31 static int crypto_report_aead(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_aead()
48 static int crypto_report_cipher(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_cipher()
65 static int crypto_report_comp(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_comp()
81 static int crypto_report_acomp(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_acomp()
116 static int crypto_report_kpp(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_kpp()
132 static int crypto_report_ahash(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_ahash()
147 static int crypto_report_shash(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_shash()
162 static int crypto_report_rng(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_rng()
178 static int crypto_reportstat_one(struct crypto_alg *alg, in crypto_reportstat_one()
265 static int crypto_reportstat_alg(struct crypto_alg *alg, in crypto_reportstat_alg()
[all …]
A Dacompress.c27 static int crypto_acomp_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_acomp_report()
38 static int crypto_acomp_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_acomp_report()
44 static void crypto_acomp_show(struct seq_file *m, struct crypto_alg *alg)
47 static void crypto_acomp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_acomp_show()
82 static unsigned int crypto_acomp_extsize(struct crypto_alg *alg) in crypto_acomp_extsize()
152 struct crypto_alg *base = &alg->base; in crypto_register_acomp()
A Dcrypto_user_base.c36 struct crypto_alg *crypto_alg_match(struct crypto_user_alg *p, int exact) in crypto_alg_match()
38 struct crypto_alg *q, *alg = NULL; in crypto_alg_match()
88 static int crypto_report_comp(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_comp()
99 static int crypto_report_one(struct crypto_alg *alg, in crypto_report_one()
154 static int crypto_report_alg(struct crypto_alg *alg, in crypto_report_alg()
189 struct crypto_alg *alg; in crypto_report()
229 struct crypto_alg *alg; in crypto_dump_report()
263 struct crypto_alg *alg; in crypto_update_alg()
299 struct crypto_alg *alg; in crypto_del_alg()
339 struct crypto_alg *alg; in crypto_add_alg()
[all …]
A Daead.c86 struct crypto_alg *alg = aead->base.__crt_alg; in crypto_aead_encrypt()
103 struct crypto_alg *alg = aead->base.__crt_alg; in crypto_aead_decrypt()
146 static int crypto_aead_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_aead_report()
163 static int crypto_aead_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_aead_report()
169 static void crypto_aead_show(struct seq_file *m, struct crypto_alg *alg)
171 static void crypto_aead_show(struct seq_file *m, struct crypto_alg *alg) in crypto_aead_show()
222 struct crypto_alg *base = &alg->base; in aead_prepare_alg()
240 struct crypto_alg *base = &alg->base; in crypto_register_aead()
A Dscompress.c42 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()
60 static void crypto_scomp_show(struct seq_file *m, struct crypto_alg *alg)
63 static void crypto_scomp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_scomp_show()
188 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_scomp_ops_async()
259 struct crypto_alg *base = &alg->base; in crypto_register_scomp()
A Dahash.c309 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_ahash_final()
323 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_ahash_finup()
337 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_ahash_digest()
453 static unsigned int crypto_ahash_extsize(struct crypto_alg *alg) in crypto_ahash_extsize()
469 static int crypto_ahash_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_ahash_report()
483 static int crypto_ahash_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_ahash_report()
489 static void crypto_ahash_show(struct seq_file *m, struct crypto_alg *alg)
491 static void crypto_ahash_show(struct seq_file *m, struct crypto_alg *alg) in crypto_ahash_show()
539 struct crypto_alg *base = &alg->halg.base; in ahash_prepare_alg()
555 struct crypto_alg *base = &alg->halg.base; in crypto_register_ahash()
[all …]
A Dproc.c39 struct crypto_alg *alg = list_entry(p, struct crypto_alg, cra_list); in c_show()
A Dshash.c369 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_shash_ops_async()
452 static int crypto_shash_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_shash_report()
467 static int crypto_shash_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_shash_report()
473 static void crypto_shash_show(struct seq_file *m, struct crypto_alg *alg)
475 static void crypto_shash_show(struct seq_file *m, struct crypto_alg *alg) in crypto_shash_show()
522 struct crypto_alg *base = &alg->base; in shash_prepare_alg()
556 struct crypto_alg *base = &alg->base; in crypto_register_shash()
A Dskcipher.c608 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_skcipher_encrypt()
625 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_skcipher_decrypt()
671 static void crypto_skcipher_show(struct seq_file *m, struct crypto_alg *alg)
673 static void crypto_skcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_skcipher_show()
690 static int crypto_skcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_skcipher_report()
710 static int crypto_skcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_skcipher_report()
778 struct crypto_alg *base = &alg->base; in skcipher_prepare_alg()
798 struct crypto_alg *base = &alg->base; in crypto_register_skcipher()
921 struct crypto_alg *cipher_alg; in skcipher_alloc_instance_simple()
/linux-6.3-rc2/include/crypto/
A Dalgapi.h46 unsigned int (*ctxsize)(struct crypto_alg *alg, u32 type, u32 mask);
47 unsigned int (*extsize)(struct crypto_alg *alg);
50 void (*show)(struct seq_file *m, struct crypto_alg *alg);
51 int (*report)(struct sk_buff *skb, struct crypto_alg *alg);
61 struct crypto_alg alg;
87 struct crypto_alg *alg;
122 void crypto_mod_put(struct crypto_alg *alg);
145 struct crypto_alg *alg);
A Dakcipher.h107 struct crypto_alg base;
140 static inline struct akcipher_alg *__crypto_akcipher_alg(struct crypto_alg *alg) in __crypto_akcipher_alg()
292 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_akcipher_encrypt()
316 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_akcipher_decrypt()
340 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_akcipher_sign()
367 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_akcipher_verify()
A Dkpp.h84 struct crypto_alg base;
115 static inline struct kpp_alg *__crypto_kpp_alg(struct crypto_alg *alg) in __crypto_kpp_alg()
290 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_kpp_set_secret()
316 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_kpp_generate_public_key()
339 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_kpp_compute_shared_secret()
A Dacompress.h84 struct crypto_alg base;
134 static inline struct acomp_alg *__crypto_acomp_alg(struct crypto_alg *alg) in __crypto_acomp_alg()
265 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_acomp_compress()
287 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_acomp_decompress()
A Drng.h51 struct crypto_alg base;
140 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_rng_generate()
A Dhash.h46 struct crypto_alg base;
221 struct crypto_alg base;
335 struct crypto_alg *alg) in __crypto_hash_alg_common()
552 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_ahash_update()
769 static inline struct shash_alg *__crypto_shash_alg(struct crypto_alg *alg) in __crypto_shash_alg()
/linux-6.3-rc2/include/crypto/internal/
A Dscompress.h38 struct crypto_alg base;
41 static inline struct scomp_alg *__crypto_scomp_alg(struct crypto_alg *alg) in __crypto_scomp_alg()
/linux-6.3-rc2/Documentation/crypto/
A Ddevel-algos.rst14 filled with each, struct crypto_alg, must be considered -- see below
26 int crypto_register_alg(struct crypto_alg *alg);
27 int crypto_register_algs(struct crypto_alg *algs, int count);
34 void crypto_unregister_alg(struct crypto_alg *alg);
35 void crypto_unregister_algs(struct crypto_alg *algs, int count);
61 crypto_alg field .cra_type is empty. The .cra_u.cipher has to be
/linux-6.3-rc2/drivers/crypto/aspeed/
A Daspeed-hace-crypto.c401 u32 crypto_alg = cmd & HACE_CMD_OP_MODE_MASK; in aspeed_des_crypt() local
405 if (crypto_alg == HACE_CMD_CBC || crypto_alg == HACE_CMD_ECB) { in aspeed_des_crypt()
579 u32 crypto_alg = cmd & HACE_CMD_OP_MODE_MASK; in aspeed_aes_crypt() local
581 if (crypto_alg == HACE_CMD_CBC || crypto_alg == HACE_CMD_ECB) { in aspeed_aes_crypt()
696 struct aspeed_hace_alg *crypto_alg; in aspeed_crypto_cra_init() local
699 crypto_alg = container_of(alg, struct aspeed_hace_alg, alg.skcipher); in aspeed_crypto_cra_init()
700 ctx->hace_dev = crypto_alg->hace_dev; in aspeed_crypto_cra_init()

Completed in 38 milliseconds

12345