Home
last modified time | relevance | path

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

123456

/Linux-v5.4/crypto/
Dinternal.h28 struct crypto_alg alg;
29 struct crypto_alg *adult;
48 static inline unsigned int crypto_cipher_ctxsize(struct crypto_alg *alg) in crypto_cipher_ctxsize()
53 static inline unsigned int crypto_compress_ctxsize(struct crypto_alg *alg) in crypto_compress_ctxsize()
58 struct crypto_alg *crypto_mod_get(struct crypto_alg *alg);
59 struct crypto_alg *crypto_alg_mod_lookup(const char *name, u32 type, u32 mask);
65 void crypto_larval_kill(struct crypto_alg *alg);
68 void crypto_remove_spawns(struct crypto_alg *alg, struct list_head *list,
69 struct crypto_alg *nalg);
71 void crypto_shoot_alg(struct crypto_alg *alg);
[all …]
Dapi.c33 static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg);
35 struct crypto_alg *crypto_mod_get(struct crypto_alg *alg) in crypto_mod_get()
41 void crypto_mod_put(struct crypto_alg *alg) in crypto_mod_put()
55 static struct crypto_alg *__crypto_alg_lookup(const char *name, u32 type, in __crypto_alg_lookup()
58 struct crypto_alg *q, *alg = NULL; in __crypto_alg_lookup()
95 static void crypto_larval_destroy(struct crypto_alg *alg) in crypto_larval_destroy()
125 static struct crypto_alg *crypto_larval_add(const char *name, u32 type, in crypto_larval_add()
128 struct crypto_alg *alg; in crypto_larval_add()
154 void crypto_larval_kill(struct crypto_alg *alg) in crypto_larval_kill()
166 static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg) in crypto_larval_wait()
[all …]
Dalgapi.c31 static int crypto_check_alg(struct crypto_alg *alg) in crypto_check_alg()
76 static void crypto_destroy_instance(struct crypto_alg *alg) in crypto_destroy_instance()
85 static struct list_head *crypto_more_spawns(struct crypto_alg *alg, in crypto_more_spawns()
129 void crypto_remove_spawns(struct crypto_alg *alg, struct list_head *list, in crypto_remove_spawns()
130 struct crypto_alg *nalg) in crypto_remove_spawns()
190 static struct crypto_larval *__crypto_register_alg(struct crypto_alg *alg) in __crypto_register_alg()
192 struct crypto_alg *q; in __crypto_register_alg()
257 struct crypto_alg *alg; in crypto_alg_tested()
258 struct crypto_alg *q; in crypto_alg_tested()
335 struct crypto_alg *alg; in crypto_remove_final()
[all …]
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()
92 struct crypto_alg *base = &alg->base; in kpp_prepare_alg()
101 struct crypto_alg *base = &alg->base; in crypto_register_kpp()
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()
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()
110 struct crypto_alg *base = &alg->base; in akcipher_prepare_alg()
124 struct crypto_alg *base = &alg->base; in crypto_register_akcipher()
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()
97 static int crypto_report_akcipher(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_akcipher()
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()
[all …]
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()
144 struct crypto_alg *base = &alg->base; in crypto_register_acomp()
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()
72 static int crypto_report_cipher(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_cipher()
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()
227 struct crypto_alg *alg; in crypto_dump_report()
261 struct crypto_alg *alg; in crypto_update_alg()
297 struct crypto_alg *alg; in crypto_del_alg()
[all …]
Dahash.c374 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_ahash_final()
388 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_ahash_finup()
402 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_ahash_digest()
504 static unsigned int crypto_ahash_extsize(struct crypto_alg *alg) in crypto_ahash_extsize()
513 static int crypto_ahash_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_ahash_report()
527 static int crypto_ahash_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_ahash_report()
533 static void crypto_ahash_show(struct seq_file *m, struct crypto_alg *alg)
535 static void crypto_ahash_show(struct seq_file *m, struct crypto_alg *alg) in crypto_ahash_show()
574 struct crypto_alg *base = &alg->halg.base; in ahash_prepare_alg()
590 struct crypto_alg *base = &alg->halg.base; in crypto_register_ahash()
[all …]
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()
Daead.c91 struct crypto_alg *alg = aead->base.__crt_alg; in crypto_aead_encrypt()
108 struct crypto_alg *alg = aead->base.__crt_alg; in crypto_aead_decrypt()
151 static int crypto_aead_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_aead_report()
168 static int crypto_aead_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_aead_report()
174 static void crypto_aead_show(struct seq_file *m, struct crypto_alg *alg)
176 static void crypto_aead_show(struct seq_file *m, struct crypto_alg *alg) in crypto_aead_show()
387 struct crypto_alg *base = &alg->base; in aead_prepare_alg()
405 struct crypto_alg *base = &alg->base; in crypto_register_aead()
Dshash.c352 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_shash_ops_async()
402 static int crypto_shash_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_shash_report()
417 static int crypto_shash_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_shash_report()
423 static void crypto_shash_show(struct seq_file *m, struct crypto_alg *alg)
425 static void crypto_shash_show(struct seq_file *m, struct crypto_alg *alg) in crypto_shash_show()
456 struct crypto_alg *base = &alg->base; in shash_prepare_alg()
487 struct crypto_alg *base = &alg->base; in crypto_register_shash()
571 struct crypto_alg *alg; in shash_attr_alg()
Dproc.c38 struct crypto_alg *alg = list_entry(p, struct crypto_alg, cra_list); in c_show()
/Linux-v5.4/include/linux/
Dcrypto.h550 struct crypto_alg { struct
576 void (*cra_destroy)(struct crypto_alg *alg); argument
595 void crypto_stats_init(struct crypto_alg *alg); argument
596 void crypto_stats_get(struct crypto_alg *alg);
597 void crypto_stats_ablkcipher_encrypt(unsigned int nbytes, int ret, struct crypto_alg *alg);
598 void crypto_stats_ablkcipher_decrypt(unsigned int nbytes, int ret, struct crypto_alg *alg);
599 void crypto_stats_aead_encrypt(unsigned int cryptlen, struct crypto_alg *alg, int ret);
600 void crypto_stats_aead_decrypt(unsigned int cryptlen, struct crypto_alg *alg, int ret);
601 void crypto_stats_ahash_update(unsigned int nbytes, int ret, struct crypto_alg *alg);
602 void crypto_stats_ahash_final(unsigned int nbytes, int ret, struct crypto_alg *alg);
[all …]
/Linux-v5.4/include/crypto/
Dalgapi.h32 unsigned int (*ctxsize)(struct crypto_alg *alg, u32 type, u32 mask);
33 unsigned int (*extsize)(struct crypto_alg *alg);
36 void (*show)(struct seq_file *m, struct crypto_alg *alg);
37 int (*report)(struct sk_buff *skb, struct crypto_alg *alg);
47 struct crypto_alg alg;
69 struct crypto_alg *alg;
138 void crypto_mod_put(struct crypto_alg *alg);
150 int crypto_init_spawn(struct crypto_spawn *spawn, struct crypto_alg *alg,
152 int crypto_init_spawn2(struct crypto_spawn *spawn, struct crypto_alg *alg,
172 struct crypto_alg *crypto_attr_alg2(struct rtattr *rta,
[all …]
Dakcipher.h106 struct crypto_alg base;
139 static inline struct akcipher_alg *__crypto_akcipher_alg(struct crypto_alg *alg) in __crypto_akcipher_alg()
289 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_akcipher_encrypt()
313 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_akcipher_decrypt()
337 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_akcipher_sign()
364 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_akcipher_verify()
Dkpp.h83 struct crypto_alg base;
112 static inline struct kpp_alg *__crypto_kpp_alg(struct crypto_alg *alg) in __crypto_kpp_alg()
285 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_kpp_set_secret()
311 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_kpp_generate_public_key()
334 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_kpp_compute_shared_secret()
Dacompress.h83 struct crypto_alg base;
115 static inline struct acomp_alg *__crypto_acomp_alg(struct crypto_alg *alg) in __crypto_acomp_alg()
244 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_acomp_compress()
266 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_acomp_decompress()
Drng.h51 struct crypto_alg base;
138 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_rng_generate()
Dhash.h46 struct crypto_alg base;
200 struct crypto_alg base;
312 struct crypto_alg *alg) in __crypto_hash_alg_common()
529 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_ahash_update()
742 static inline struct shash_alg *__crypto_shash_alg(struct crypto_alg *alg) in __crypto_shash_alg()
/Linux-v5.4/arch/s390/crypto/
Ddes_s390.c63 static struct crypto_alg des_alg = {
145 static struct crypto_alg ecb_des_alg = {
185 static struct crypto_alg cbc_des_alg = {
250 static struct crypto_alg des3_alg = {
290 static struct crypto_alg ecb_des3_alg = {
331 static struct crypto_alg cbc_des3_alg = {
424 static struct crypto_alg ctr_des_alg = {
466 static struct crypto_alg ctr_des3_alg = {
487 static struct crypto_alg *des_s390_algs_ptr[8];
490 static int des_s390_register_alg(struct crypto_alg *alg) in des_s390_register_alg()
/Linux-v5.4/include/crypto/internal/
Dhash.h131 static inline struct ahash_alg *__crypto_ahash_alg(struct crypto_alg *alg) in __crypto_ahash_alg()
162 return sizeof(struct ahash_alg) - sizeof(struct crypto_alg); in ahash_instance_headroom()
166 const char *name, struct crypto_alg *alg) in ahash_alloc_instance()
223 const char *name, struct crypto_alg *alg) in shash_alloc_instance()
/Linux-v5.4/drivers/crypto/nx/
Dnx.h178 extern struct crypto_alg nx_cbc_aes_alg;
179 extern struct crypto_alg nx_ecb_aes_alg;
182 extern struct crypto_alg nx_ctr3686_aes_alg;
/Linux-v5.4/drivers/crypto/ccp/
Dccp-crypto.h39 struct crypto_alg alg;
72 struct crypto_alg *alg = tfm->__crt_alg; in ccp_crypto_ablkcipher_alg()
80 struct crypto_alg *alg = tfm->__crt_alg; in ccp_crypto_ahash_alg()

123456