Searched refs:crypto_alg (Results 1 - 134 of 134) sorted by relevance

/linux-4.1.27/crypto/
H A Dinternal.h43 struct crypto_alg alg;
44 struct crypto_alg *adult;
63 static inline unsigned int crypto_cipher_ctxsize(struct crypto_alg *alg) crypto_cipher_ctxsize()
68 static inline unsigned int crypto_compress_ctxsize(struct crypto_alg *alg) crypto_compress_ctxsize()
73 struct crypto_alg *crypto_mod_get(struct crypto_alg *alg);
74 struct crypto_alg *crypto_alg_lookup(const char *name, u32 type, u32 mask);
75 struct crypto_alg *crypto_alg_mod_lookup(const char *name, u32 type, u32 mask);
84 void crypto_larval_kill(struct crypto_alg *alg);
85 struct crypto_alg *crypto_larval_lookup(const char *name, u32 type, u32 mask);
88 void crypto_remove_spawns(struct crypto_alg *alg, struct list_head *list,
89 struct crypto_alg *nalg);
91 void crypto_shoot_alg(struct crypto_alg *alg);
92 struct crypto_tfm *__crypto_alloc_tfm(struct crypto_alg *alg, u32 type,
94 void *crypto_create_tfm(struct crypto_alg *alg,
96 struct crypto_alg *crypto_find_alg(const char *alg_name,
106 static inline struct crypto_alg *crypto_alg_get(struct crypto_alg *alg) crypto_alg_get()
112 static inline void crypto_alg_put(struct crypto_alg *alg) crypto_alg_put()
128 static inline int crypto_is_larval(struct crypto_alg *alg) crypto_is_larval()
133 static inline int crypto_is_dead(struct crypto_alg *alg) crypto_is_dead()
138 static inline int crypto_is_moribund(struct crypto_alg *alg) crypto_is_moribund()
H A Dpcompress.c41 static unsigned int crypto_pcomp_extsize(struct crypto_alg *alg) crypto_pcomp_extsize()
52 static int crypto_pcomp_report(struct sk_buff *skb, struct crypto_alg *alg) crypto_pcomp_report()
66 static int crypto_pcomp_report(struct sk_buff *skb, struct crypto_alg *alg) crypto_pcomp_report()
72 static void crypto_pcomp_show(struct seq_file *m, struct crypto_alg *alg)
74 static void crypto_pcomp_show(struct seq_file *m, struct crypto_alg *alg) crypto_pcomp_show()
102 struct crypto_alg *base = &alg->base; crypto_register_pcomp()
H A Dapi.c37 static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg);
39 struct crypto_alg *crypto_mod_get(struct crypto_alg *alg) crypto_mod_get()
45 void crypto_mod_put(struct crypto_alg *alg) crypto_mod_put()
59 static struct crypto_alg *__crypto_alg_lookup(const char *name, u32 type, __crypto_alg_lookup()
62 struct crypto_alg *q, *alg = NULL; __crypto_alg_lookup()
99 static void crypto_larval_destroy(struct crypto_alg *alg) crypto_larval_destroy()
129 static struct crypto_alg *crypto_larval_add(const char *name, u32 type, crypto_larval_add()
132 struct crypto_alg *alg; crypto_larval_add()
158 void crypto_larval_kill(struct crypto_alg *alg) crypto_larval_kill()
170 static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg) crypto_larval_wait()
195 struct crypto_alg *crypto_alg_lookup(const char *name, u32 type, u32 mask) crypto_alg_lookup()
197 struct crypto_alg *alg; crypto_alg_lookup()
207 struct crypto_alg *crypto_larval_lookup(const char *name, u32 type, u32 mask) crypto_larval_lookup()
209 struct crypto_alg *alg; crypto_larval_lookup()
249 struct crypto_alg *crypto_alg_mod_lookup(const char *name, u32 type, u32 mask) crypto_alg_mod_lookup()
251 struct crypto_alg *alg; crypto_alg_mod_lookup()
252 struct crypto_alg *larval; crypto_alg_mod_lookup()
333 static unsigned int crypto_ctxsize(struct crypto_alg *alg, u32 type, u32 mask) crypto_ctxsize()
358 void crypto_shoot_alg(struct crypto_alg *alg) crypto_shoot_alg()
366 struct crypto_tfm *__crypto_alloc_tfm(struct crypto_alg *alg, u32 type, __crypto_alloc_tfm()
430 struct crypto_alg *alg; crypto_alloc_base()
458 void *crypto_create_tfm(struct crypto_alg *alg, crypto_create_tfm()
499 struct crypto_alg *crypto_find_alg(const char *alg_name, crypto_find_alg()
503 struct crypto_alg *(*lookup)(const char *name, u32 type, u32 mask) = crypto_find_alg()
547 struct crypto_alg *alg; crypto_alloc_tfm()
585 struct crypto_alg *alg; crypto_destroy_tfm()
603 struct crypto_alg *alg = crypto_alg_mod_lookup(name, type, mask); crypto_has_alg()
H A Dcrypto_user.c47 static struct crypto_alg *crypto_alg_match(struct crypto_user_alg *p, int exact) crypto_alg_match()
49 struct crypto_alg *q, *alg = NULL; crypto_alg_match()
80 static int crypto_report_cipher(struct sk_buff *skb, struct crypto_alg *alg) crypto_report_cipher()
99 static int crypto_report_comp(struct sk_buff *skb, struct crypto_alg *alg) crypto_report_comp()
113 static int crypto_report_one(struct crypto_alg *alg, crypto_report_one()
166 static int crypto_report_alg(struct crypto_alg *alg, crypto_report_alg()
200 struct crypto_alg *alg; crypto_report()
235 struct crypto_alg *alg; crypto_dump_report()
269 struct crypto_alg *alg; crypto_update_alg()
305 struct crypto_alg *alg; crypto_del_alg()
339 static struct crypto_alg *crypto_user_skcipher_alg(const char *name, u32 type, crypto_user_skcipher_alg()
343 struct crypto_alg *alg; crypto_user_skcipher_alg()
365 static struct crypto_alg *crypto_user_aead_alg(const char *name, u32 type, crypto_user_aead_alg()
369 struct crypto_alg *alg; crypto_user_aead_alg()
398 struct crypto_alg *alg; crypto_add_alg()
496 struct crypto_alg *alg; crypto_user_rcv_msg()
H A Drng.c64 static int crypto_rng_report(struct sk_buff *skb, struct crypto_alg *alg) crypto_rng_report()
81 static int crypto_rng_report(struct sk_buff *skb, struct crypto_alg *alg) crypto_rng_report()
87 static void crypto_rng_show(struct seq_file *m, struct crypto_alg *alg)
89 static void crypto_rng_show(struct seq_file *m, struct crypto_alg *alg) crypto_rng_show()
95 static unsigned int crypto_rng_ctxsize(struct crypto_alg *alg, u32 type, crypto_rng_ctxsize()
H A Dalgapi.c27 static inline int crypto_set_driver_name(struct crypto_alg *alg) crypto_set_driver_name()
54 static int crypto_check_alg(struct crypto_alg *alg) crypto_check_alg()
72 static void crypto_destroy_instance(struct crypto_alg *alg) crypto_destroy_instance()
81 static struct list_head *crypto_more_spawns(struct crypto_alg *alg, crypto_more_spawns()
127 void crypto_remove_spawns(struct crypto_alg *alg, struct list_head *list, crypto_remove_spawns()
128 struct crypto_alg *nalg) crypto_remove_spawns()
176 static struct crypto_larval *__crypto_register_alg(struct crypto_alg *alg) __crypto_register_alg()
178 struct crypto_alg *q; __crypto_register_alg()
241 struct crypto_alg *alg; crypto_alg_tested()
242 struct crypto_alg *q; crypto_alg_tested()
319 struct crypto_alg *alg; crypto_remove_final()
320 struct crypto_alg *n; crypto_remove_final()
347 int crypto_register_alg(struct crypto_alg *alg) crypto_register_alg()
368 static int crypto_remove_alg(struct crypto_alg *alg, struct list_head *list) crypto_remove_alg()
382 int crypto_unregister_alg(struct crypto_alg *alg) crypto_unregister_alg()
403 int crypto_register_algs(struct crypto_alg *algs, int count) crypto_register_algs()
423 int crypto_unregister_algs(struct crypto_alg *algs, int count) crypto_unregister_algs()
580 int crypto_init_spawn(struct crypto_spawn *spawn, struct crypto_alg *alg, crypto_init_spawn()
600 int crypto_init_spawn2(struct crypto_spawn *spawn, struct crypto_alg *alg, crypto_init_spawn2()
628 static struct crypto_alg *crypto_spawn_alg(struct crypto_spawn *spawn) crypto_spawn_alg()
630 struct crypto_alg *alg; crypto_spawn_alg()
631 struct crypto_alg *alg2; crypto_spawn_alg()
652 struct crypto_alg *alg; crypto_spawn_tfm()
677 struct crypto_alg *alg; crypto_spawn_tfm2()
759 struct crypto_alg *crypto_attr_alg2(struct rtattr *rta, crypto_attr_alg2()
791 void *crypto_alloc_instance2(const char *name, struct crypto_alg *alg, crypto_alloc_instance2()
823 struct crypto_alg *alg) crypto_alloc_instance()
H A Daead.c82 static unsigned int crypto_aead_ctxsize(struct crypto_alg *alg, u32 type, crypto_aead_ctxsize()
115 static int crypto_aead_report(struct sk_buff *skb, struct crypto_alg *alg) crypto_aead_report()
136 static int crypto_aead_report(struct sk_buff *skb, struct crypto_alg *alg) crypto_aead_report()
142 static void crypto_aead_show(struct seq_file *m, struct crypto_alg *alg)
144 static void crypto_aead_show(struct seq_file *m, struct crypto_alg *alg) crypto_aead_show()
200 static int crypto_nivaead_report(struct sk_buff *skb, struct crypto_alg *alg) crypto_nivaead_report()
221 static int crypto_nivaead_report(struct sk_buff *skb, struct crypto_alg *alg) crypto_nivaead_report()
228 static void crypto_nivaead_show(struct seq_file *m, struct crypto_alg *alg)
230 static void crypto_nivaead_show(struct seq_file *m, struct crypto_alg *alg) crypto_nivaead_show()
256 struct crypto_alg *alg; crypto_grab_nivaead()
280 struct crypto_alg *alg; aead_geniv_alloc()
396 static int crypto_nivaead_default(struct crypto_alg *alg, u32 type, u32 mask) crypto_nivaead_default()
409 struct crypto_alg *larval; crypto_nivaead_default()
471 struct crypto_alg *crypto_lookup_aead(const char *name, u32 type, u32 mask) crypto_lookup_aead()
473 struct crypto_alg *alg; crypto_lookup_aead()
508 struct crypto_alg *alg; crypto_grab_aead()
537 struct crypto_alg *alg; crypto_alloc_aead()
H A Dablkcipher.c346 static unsigned int crypto_ablkcipher_ctxsize(struct crypto_alg *alg, u32 type, crypto_ablkcipher_ctxsize()
385 static int crypto_ablkcipher_report(struct sk_buff *skb, struct crypto_alg *alg) crypto_ablkcipher_report()
407 static int crypto_ablkcipher_report(struct sk_buff *skb, struct crypto_alg *alg) crypto_ablkcipher_report()
413 static void crypto_ablkcipher_show(struct seq_file *m, struct crypto_alg *alg)
415 static void crypto_ablkcipher_show(struct seq_file *m, struct crypto_alg *alg) crypto_ablkcipher_show()
466 static int crypto_givcipher_report(struct sk_buff *skb, struct crypto_alg *alg) crypto_givcipher_report()
488 static int crypto_givcipher_report(struct sk_buff *skb, struct crypto_alg *alg) crypto_givcipher_report()
494 static void crypto_givcipher_show(struct seq_file *m, struct crypto_alg *alg)
496 static void crypto_givcipher_show(struct seq_file *m, struct crypto_alg *alg) crypto_givcipher_show()
520 const char *crypto_default_geniv(const struct crypto_alg *alg) crypto_default_geniv()
531 static int crypto_givcipher_default(struct crypto_alg *alg, u32 type, u32 mask) crypto_givcipher_default()
544 struct crypto_alg *larval; crypto_givcipher_default()
614 struct crypto_alg *crypto_lookup_skcipher(const char *name, u32 type, u32 mask) crypto_lookup_skcipher()
616 struct crypto_alg *alg; crypto_lookup_skcipher()
657 struct crypto_alg *alg; crypto_grab_skcipher()
683 struct crypto_alg *alg; crypto_alloc_ablkcipher()
H A Dkrng.c30 static struct crypto_alg krng_alg = {
H A Dahash.c480 static unsigned int crypto_ahash_extsize(struct crypto_alg *alg) crypto_ahash_extsize()
489 static int crypto_ahash_report(struct sk_buff *skb, struct crypto_alg *alg) crypto_ahash_report()
507 static int crypto_ahash_report(struct sk_buff *skb, struct crypto_alg *alg) crypto_ahash_report()
513 static void crypto_ahash_show(struct seq_file *m, struct crypto_alg *alg)
515 static void crypto_ahash_show(struct seq_file *m, struct crypto_alg *alg) crypto_ahash_show()
548 struct crypto_alg *base = &alg->halg.base; ahash_prepare_alg()
564 struct crypto_alg *base = &alg->halg.base; crypto_register_ahash()
612 struct crypto_alg *alg; ahash_attr_alg()
H A Dproc.c82 struct crypto_alg *alg = list_entry(p, struct crypto_alg, cra_list); c_show()
H A Dshash.c334 struct crypto_alg *calg = tfm->__crt_alg; crypto_init_shash_ops_async()
458 struct crypto_alg *calg = tfm->__crt_alg; crypto_init_shash_ops_compat()
505 static unsigned int crypto_shash_ctxsize(struct crypto_alg *alg, u32 type, crypto_shash_ctxsize()
524 static unsigned int crypto_shash_extsize(struct crypto_alg *alg) crypto_shash_extsize()
530 static int crypto_shash_report(struct sk_buff *skb, struct crypto_alg *alg) crypto_shash_report()
549 static int crypto_shash_report(struct sk_buff *skb, struct crypto_alg *alg) crypto_shash_report()
555 static void crypto_shash_show(struct seq_file *m, struct crypto_alg *alg)
557 static void crypto_shash_show(struct seq_file *m, struct crypto_alg *alg) crypto_shash_show()
590 struct crypto_alg *base = &alg->base; shash_prepare_alg()
618 struct crypto_alg *base = &alg->base; crypto_register_shash()
702 struct crypto_alg *alg; shash_attr_alg()
H A Darc4.c118 static struct crypto_alg arc4_algs[2] = { {
H A Dlz4.c79 static struct crypto_alg alg_lz4 = {
H A Dlz4hc.c79 static struct crypto_alg alg_lz4hc = {
H A Dlzo.c83 static struct crypto_alg alg = {
H A Dblkcipher.c445 static unsigned int crypto_blkcipher_ctxsize(struct crypto_alg *alg, u32 type, crypto_blkcipher_ctxsize()
511 static int crypto_blkcipher_report(struct sk_buff *skb, struct crypto_alg *alg) crypto_blkcipher_report()
533 static int crypto_blkcipher_report(struct sk_buff *skb, struct crypto_alg *alg) crypto_blkcipher_report()
539 static void crypto_blkcipher_show(struct seq_file *m, struct crypto_alg *alg)
541 static void crypto_blkcipher_show(struct seq_file *m, struct crypto_alg *alg) crypto_blkcipher_show()
565 struct crypto_alg *alg; crypto_grab_nivcipher()
600 struct crypto_alg *alg; skcipher_geniv_alloc()
H A Dblowfish_generic.c109 static struct crypto_alg alg = {
H A Dcrypto_null.c109 static struct crypto_alg null_algs[3] = { {
H A Dmcryptd.c33 static void *mcryptd_alloc_instance(struct crypto_alg *alg, unsigned int head,
228 static void *mcryptd_alloc_instance(struct crypto_alg *alg, unsigned int head, mcryptd_alloc_instance()
496 struct crypto_alg *alg; mcryptd_create_hash()
H A D842.c155 static struct crypto_alg alg = {
H A Dcryptd.c298 static void *cryptd_alloc_instance(struct crypto_alg *alg, unsigned int head, cryptd_alloc_instance()
337 struct crypto_alg *alg; cryptd_create_blkcipher()
599 struct crypto_alg *alg; cryptd_create_hash()
748 struct crypto_alg *alg; cryptd_create_aead()
H A Ddeflate.c197 static struct crypto_alg alg = {
H A Decb.c121 struct crypto_alg *alg; crypto_ecb_alloc()
H A Dsalsa20_generic.c214 static struct crypto_alg alg = {
H A Dctr.c184 struct crypto_alg *alg; crypto_ctr_alloc()
340 struct crypto_alg *alg; crypto_rfc3686_alloc()
H A Dccm.c482 struct crypto_alg *ctr; crypto_ccm_alloc_common()
483 struct crypto_alg *cipher; crypto_ccm_alloc_common()
752 struct crypto_alg *alg; crypto_rfc4309_alloc()
H A Dpcrypt.c309 static struct crypto_instance *pcrypt_alloc_instance(struct crypto_alg *alg) pcrypt_alloc_instance()
351 struct crypto_alg *alg; pcrypt_alloc_aead()
H A Dalgboss.c233 static int cryptomgr_schedule_test(struct crypto_alg *alg) cryptomgr_schedule_test()
H A Dcast6_generic.c260 static struct crypto_alg alg = {
H A Dcbc.c217 struct crypto_alg *alg; crypto_cbc_alloc()
H A Dcmac.c228 struct crypto_alg *alg; cmac_create()
H A Dgcm.c704 struct crypto_alg *ctr; crypto_gcm_alloc_common()
705 struct crypto_alg *ghash_alg; crypto_gcm_alloc_common()
969 struct crypto_alg *alg; crypto_rfc4106_alloc()
1284 struct crypto_alg *alg; crypto_rfc4543_alloc()
H A Dhmac.c184 struct crypto_alg *alg; hmac_create()
H A Dlrw.c329 struct crypto_alg *alg; alloc()
H A Dpcbc.c227 struct crypto_alg *alg; crypto_pcbc_alloc()
H A Dtea.c222 static struct crypto_alg tea_algs[3] = { {
H A Dtwofish_generic.c182 static struct crypto_alg alg = {
H A Dxcbc.c202 struct crypto_alg *alg; xcbc_create()
H A Dxts.c290 struct crypto_alg *alg; alloc()
H A Dauthenc.c601 struct crypto_alg *auth_base; crypto_authenc_alloc()
602 struct crypto_alg *enc; crypto_authenc_alloc()
H A Dauthencesn.c693 struct crypto_alg *auth_base; crypto_authenc_esn_alloc()
694 struct crypto_alg *enc; crypto_authenc_esn_alloc()
H A Dansi_cprng.c427 static struct crypto_alg rng_algs[] = { {
H A Dcts.c277 struct crypto_alg *alg; crypto_cts_alloc()
H A Dseed.c443 static struct crypto_alg seed_alg = {
H A Ddrbg.c1885 static struct crypto_alg drbg_algs[22];
1892 static inline void __init drbg_fill_array(struct crypto_alg *alg, drbg_fill_array()
1898 memset(alg, 0, sizeof(struct crypto_alg)); drbg_fill_array()
H A Danubis.c674 static struct crypto_alg anubis_alg = {
H A Dcast5_generic.c517 static struct crypto_alg alg = {
H A Dfcrypt.c392 static struct crypto_alg fcrypt_alg = {
H A Dkhazad.c849 static struct crypto_alg khazad_alg = {
H A Dvmac.c646 struct crypto_alg *alg; vmac_create()
H A Dcamellia_generic.c1066 static struct crypto_alg camellia_alg = {
H A Ddes_generic.c954 static struct crypto_alg des_algs[2] = { {
H A Dserpent_generic.c622 static struct crypto_alg srp_algs[2] = { {
H A Daes_generic.c1442 static struct crypto_alg aes_alg = {
/linux-4.1.27/drivers/crypto/vmx/
H A Dvmx.c31 extern struct crypto_alg p8_aes_alg;
32 extern struct crypto_alg p8_aes_cbc_alg;
33 extern struct crypto_alg p8_aes_ctr_alg;
34 static struct crypto_alg *algs[] = {
44 struct crypto_alg **alg_it; p8_init()
72 struct crypto_alg **alg_it; p8_exit()
H A Daes.c122 struct crypto_alg p8_aes_alg = {
H A Daes_cbc.c166 struct crypto_alg p8_aes_cbc_alg = {
H A Daes_ctr.c150 struct crypto_alg p8_aes_ctr_alg = {
/linux-4.1.27/drivers/crypto/nx/
H A Dnx.h185 extern struct crypto_alg nx_cbc_aes_alg;
186 extern struct crypto_alg nx_ecb_aes_alg;
187 extern struct crypto_alg nx_gcm_aes_alg;
188 extern struct crypto_alg nx_gcm4106_aes_alg;
189 extern struct crypto_alg nx_ctr_aes_alg;
190 extern struct crypto_alg nx_ctr3686_aes_alg;
191 extern struct crypto_alg nx_ccm_aes_alg;
192 extern struct crypto_alg nx_ccm4309_aes_alg;
H A Dnx-aes-ctr.c147 struct crypto_alg nx_ctr_aes_alg = {
168 struct crypto_alg nx_ctr3686_aes_alg = {
H A Dnx-aes-cbc.c130 struct crypto_alg nx_cbc_aes_alg = {
H A Dnx-aes-ecb.c130 struct crypto_alg nx_ecb_aes_alg = {
H A Dnx-aes-ccm.c563 struct crypto_alg nx_ccm_aes_alg = {
585 struct crypto_alg nx_ccm4309_aes_alg = {
H A Dnx-aes-gcm.c487 struct crypto_alg nx_gcm_aes_alg = {
508 struct crypto_alg nx_gcm4106_aes_alg = {
/linux-4.1.27/include/crypto/
H A Dalgapi.h25 unsigned int (*ctxsize)(struct crypto_alg *alg, u32 type, u32 mask);
26 unsigned int (*extsize)(struct crypto_alg *alg);
29 void (*show)(struct seq_file *m, struct crypto_alg *alg);
30 int (*report)(struct sk_buff *skb, struct crypto_alg *alg);
31 struct crypto_alg *(*lookup)(const char *name, u32 type, u32 mask);
40 struct crypto_alg alg;
62 struct crypto_alg *alg;
132 void crypto_mod_put(struct crypto_alg *alg);
142 int crypto_init_spawn(struct crypto_spawn *spawn, struct crypto_alg *alg,
144 int crypto_init_spawn2(struct crypto_spawn *spawn, struct crypto_alg *alg,
162 struct crypto_alg *crypto_attr_alg2(struct rtattr *rta,
166 static inline struct crypto_alg *crypto_attr_alg(struct rtattr *rta, crypto_attr_alg()
173 void *crypto_alloc_instance2(const char *name, struct crypto_alg *alg,
176 struct crypto_alg *alg);
381 static inline struct crypto_alg *crypto_get_attr_alg(struct rtattr **tb, crypto_get_attr_alg()
H A Dcompress.h73 struct crypto_alg base;
89 static inline struct pcomp_alg *__crypto_pcomp_alg(struct crypto_alg *alg) __crypto_pcomp_alg()
H A Dhash.h42 * structure of crypto_alg contains information common to all ciphers.
50 struct crypto_alg base;
187 struct crypto_alg base;
264 struct crypto_alg *alg) __crypto_hash_alg_common()
661 static inline struct shash_alg *__crypto_shash_alg(struct crypto_alg *alg) __crypto_shash_alg()
/linux-4.1.27/include/crypto/internal/
H A Dskcipher.h37 struct crypto_alg *crypto_lookup_skcipher(const char *name, u32 type, u32 mask);
44 static inline struct crypto_alg *crypto_skcipher_spawn_alg( crypto_skcipher_spawn_alg()
60 const char *crypto_default_geniv(const struct crypto_alg *alg);
H A Daead.h34 struct crypto_alg *crypto_lookup_aead(const char *name, u32 type, u32 mask);
44 static inline struct crypto_alg *crypto_aead_spawn_alg( crypto_aead_spawn_alg()
H A Dhash.h136 static inline struct ahash_alg *__crypto_ahash_alg(struct crypto_alg *alg) __crypto_ahash_alg()
167 return sizeof(struct ahash_alg) - sizeof(struct crypto_alg); ahash_instance_headroom()
171 const char *name, struct crypto_alg *alg) ahash_alloc_instance()
224 const char *name, struct crypto_alg *alg) shash_alloc_instance()
/linux-4.1.27/drivers/crypto/ccp/
H A Dccp-crypto.h34 struct crypto_alg alg;
53 struct crypto_alg *alg = tfm->__crt_alg; ccp_crypto_ablkcipher_alg()
61 struct crypto_alg *alg = tfm->__crt_alg; ccp_crypto_ahash_alg()
H A Dccp-crypto-aes.c218 static struct crypto_alg ccp_aes_defaults = {
239 static struct crypto_alg ccp_aes_rfc3686_defaults = {
266 struct crypto_alg *alg_defaults;
324 struct crypto_alg *alg; ccp_register_aes_alg()
H A Dccp-crypto-sha.c372 struct crypto_alg *base; ccp_register_hmac_alg()
416 struct crypto_alg *base; ccp_register_sha_alg()
H A Dccp-crypto-aes-xts.c229 struct crypto_alg *alg; ccp_register_aes_xts_alg()
H A Dccp-crypto-aes-cmac.c357 struct crypto_alg *base; ccp_register_aes_cmac_algs()
/linux-4.1.27/arch/s390/crypto/
H A Ddes_s390.c66 static struct crypto_alg des_alg = {
165 static struct crypto_alg ecb_des_alg = {
205 static struct crypto_alg cbc_des_alg = {
270 static struct crypto_alg des3_alg = {
311 static struct crypto_alg ecb_des3_alg = {
351 static struct crypto_alg cbc_des3_alg = {
474 static struct crypto_alg ctr_des_alg = {
517 static struct crypto_alg ctr_des3_alg = {
H A Daes_s390.c210 static struct crypto_alg aes_alg = {
391 static struct crypto_alg ecb_aes_alg = {
507 static struct crypto_alg cbc_aes_alg = {
714 static struct crypto_alg xts_aes_alg = {
868 static struct crypto_alg ctr_aes_alg = {
/linux-4.1.27/drivers/crypto/qce/
H A Dcipher.h62 struct crypto_alg *alg = tfm->__crt_alg; to_cipher_tmpl()
H A Dcommon.h90 struct crypto_alg crypto;
H A Dablkcipher.c350 struct crypto_alg *alg; qce_ablkcipher_register_one()
H A Dsha.c504 struct crypto_alg *base; qce_ahash_register_one()
/linux-4.1.27/arch/x86/crypto/
H A Daes_glue.c35 static struct crypto_alg aes_alg = {
H A Dfpu.c105 struct crypto_alg *alg; crypto_fpu_alloc()
H A Dsalsa20_glue.c85 static struct crypto_alg alg = {
H A Dtwofish_glue.c64 static struct crypto_alg alg = {
H A Dblowfish_glue.c358 static struct crypto_alg bf_algs[4] = { {
H A Dcamellia_aesni_avx_glue.c334 static struct crypto_alg cmll_algs[10] = { {
H A Dcast5_avx_glue.c340 static struct crypto_alg cast5_algs[6] = { {
H A Ddes3_ede_glue.c385 static struct crypto_alg des3_ede_algs[4] = { {
H A Dserpent_avx2_glue.c308 static struct crypto_alg srp_algs[10] = { {
H A Dtwofish_glue_3way.c335 static struct crypto_alg tf_algs[5] = { {
H A Dcamellia_aesni_avx2_glue.c342 static struct crypto_alg cmll_algs[10] = { {
H A Dcast6_avx_glue.c371 static struct crypto_alg cast6_algs[10] = { {
H A Dserpent_avx_glue.c377 static struct crypto_alg serpent_algs[10] = { {
H A Dserpent_sse2_glue.c386 static struct crypto_alg serpent_algs[10] = { {
H A Dtwofish_avx_glue.c339 static struct crypto_alg twofish_algs[10] = { {
H A Daesni-intel_glue.c1244 static struct crypto_alg aesni_algs[] = { {
H A Dcamellia_glue.c1561 static struct crypto_alg camellia_algs[6] = { {
/linux-4.1.27/arch/arm/crypto/
H A Daes_glue.c61 static struct crypto_alg aes_alg = {
H A Daesbs-glue.c300 static struct crypto_alg aesbs_algs[] = { {
H A Daes-ce-glue.c353 static struct crypto_alg aes_algs[] = { {
/linux-4.1.27/drivers/staging/rtl8192e/rtl8192e/
H A Drtl_crypto.h103 struct crypto_alg { struct
122 int crypto_register_alg(struct crypto_alg *alg);
123 int crypto_unregister_alg(struct crypto_alg *alg);
196 struct crypto_alg *__crt_alg;
225 struct crypto_alg *alg = tfm->__crt_alg; crypto_tfm_alg_modname()
/linux-4.1.27/drivers/crypto/amcc/
H A Dcrypto4xx_core.h146 struct crypto_alg cipher;
158 struct crypto_alg *x) crypto_alg_to_crypto4xx_alg()
H A Dcrypto4xx_alg.c185 struct crypto_alg *alg = tfm->__crt_alg; crypto4xx_hash_alg_init()
H A Dcrypto4xx_core.c994 struct crypto_alg *alg = tfm->__crt_alg; crypto4xx_alg_init()
1027 struct crypto4xx_alg_common *crypto_alg, crypto4xx_register_alg()
1039 alg->alg = crypto_alg[i]; crypto4xx_register_alg()
1026 crypto4xx_register_alg(struct crypto4xx_device *sec_dev, struct crypto4xx_alg_common *crypto_alg, int array_size) crypto4xx_register_alg() argument
/linux-4.1.27/drivers/crypto/
H A Dpicoxcell_crypto.c141 struct crypto_alg alg;
182 static inline struct spacc_alg *to_spacc_alg(struct crypto_alg *alg) to_spacc_alg()
548 struct crypto_alg *alg = req->req->tfm->__crt_alg; spacc_aead_need_fallback()
599 struct crypto_alg *alg = req->req->tfm->__crt_alg; spacc_aead_submit()
684 struct crypto_alg *alg = req->base.tfm->__crt_alg; spacc_aead_setup()
774 struct crypto_alg *alg = tfm->__crt_alg; spacc_aead_cra_init()
914 struct crypto_alg *alg = req->req->tfm->__crt_alg; spacc_ablk_need_fallback()
947 struct crypto_alg *alg = req->req->tfm->__crt_alg; spacc_ablk_submit()
1003 struct crypto_alg *alg = req->base.tfm->__crt_alg; spacc_ablk_setup()
1080 struct crypto_alg *alg = tfm->__crt_alg; spacc_ablk_cra_init()
1204 struct crypto_alg *alg = req->req->tfm->__crt_alg; spacc_req_submit()
H A Dgeode-aes.c280 static struct crypto_alg geode_alg = {
390 static struct crypto_alg geode_cbc_alg = {
476 static struct crypto_alg geode_ecb_alg = {
H A Dpadlock-aes.c322 static struct crypto_alg aes_alg = {
400 static struct crypto_alg ecb_aes_alg = {
482 static struct crypto_alg cbc_aes_alg = {
H A Dn2_core.c255 struct crypto_alg *alg = tfm->__crt_alg; n2_ahash_alg()
270 struct crypto_alg *alg = tfm->__crt_alg; n2_hmac_alg()
700 struct crypto_alg alg;
705 struct crypto_alg *alg = tfm->__crt_alg; n2_cipher_alg()
1391 struct crypto_alg *alg; __n2_register_one_cipher()
1428 struct crypto_alg *base; __n2_register_one_hmac()
1466 struct crypto_alg *base; __n2_register_one_ahash()
H A Domap-aes.c115 struct crypto_alg *algs_list;
832 static struct crypto_alg algs_ecb_cbc[] = {
880 static struct crypto_alg algs_ctr[] = {
1171 struct crypto_alg *algp; omap_aes_probe()
H A Domap-des.c96 struct crypto_alg *algs_list;
779 static struct crypto_alg algs_ecb_cbc[] = {
1054 struct crypto_alg *algp; omap_des_probe()
H A Ds5p-sss.c595 static struct crypto_alg algs[] = {
H A Datmel-aes.c959 static struct crypto_alg aes_algs[] = {
1129 static struct crypto_alg aes_cfb64_alg = {
H A Dixp4xx_crypto.c193 struct crypto_alg crypto;
1427 struct crypto_alg *cra = &ixp4xx_algos[i].crypto; ixp_module_init()
H A Dmv_cesa.c926 static struct crypto_alg mv_aes_alg_ecb = {
949 static struct crypto_alg mv_aes_alg_cbc = {
H A Dmxs-dcp.c779 static struct crypto_alg dcp_aes_algs[] = {
H A Dhifn_795x.c633 struct crypto_alg alg;
2474 struct crypto_alg *alg = tfm->__crt_alg; hifn_cra_init()
2595 dev = kzalloc(sizeof(struct hifn_device) + sizeof(struct crypto_alg), hifn_probe()
H A Dtalitos.c1912 struct crypto_alg crypto;
2381 struct crypto_alg *alg = tfm->__crt_alg; talitos_cra_init()
2508 struct crypto_alg *alg; talitos_alg_alloc()
H A Datmel-tdes.c919 static struct crypto_alg tdes_algs[] = {
H A Dsahara.c1272 static struct crypto_alg aes_algs[] = {
/linux-4.1.27/arch/arm64/crypto/
H A Daes-ce-cipher.c237 static struct crypto_alg aes_alg = {
H A Daes-ce-ccm-glue.c261 static struct crypto_alg ccm_aes_alg = {
H A Daes-glue.c283 static struct crypto_alg aes_algs[] = { {
/linux-4.1.27/arch/sparc/crypto/
H A Dcamellia_glue.c226 static struct crypto_alg algs[] = { {
H A Daes_glue.c385 static struct crypto_alg algs[] = { {
H A Ddes_glue.c381 static struct crypto_alg algs[] = { {
/linux-4.1.27/include/linux/
H A Dcrypto.h465 * struct crypto_alg - definition of a cryptograpic cipher algorithm
535 * The struct crypto_alg describes a generic Crypto API algorithm and is common
539 struct crypto_alg { struct
567 void (*cra_destroy)(struct crypto_alg *alg);
575 int crypto_register_alg(struct crypto_alg *alg);
576 int crypto_unregister_alg(struct crypto_alg *alg);
577 int crypto_register_algs(struct crypto_alg *algs, int count);
578 int crypto_unregister_algs(struct crypto_alg *algs, int count);
688 struct crypto_alg *__crt_alg;
/linux-4.1.27/drivers/crypto/caam/
H A Dcaamalg.c4132 struct crypto_alg crypto_alg; member in struct:caam_crypto_alg
4137 struct crypto_alg *alg = tfm->__crt_alg; caam_cra_init()
4139 container_of(alg, struct caam_crypto_alg, crypto_alg); caam_cra_init()
4191 crypto_unregister_alg(&t_alg->crypto_alg); caam_algapi_exit()
4201 struct crypto_alg *alg; caam_alg_alloc()
4209 alg = &t_alg->crypto_alg; caam_alg_alloc()
4293 err = crypto_register_alg(&t_alg->crypto_alg); caam_algapi_init()
4296 t_alg->crypto_alg.cra_driver_name); caam_algapi_init()
H A Dcaamhash.c1751 struct crypto_alg *base = tfm->__crt_alg; caam_hash_cra_init()
1843 struct crypto_alg *alg; caam_hash_alloc()
/linux-4.1.27/arch/powerpc/crypto/
H A Daes-spe-glue.c391 static struct crypto_alg aes_algs[] = { {
/linux-4.1.27/drivers/crypto/ux500/cryp/
H A Dcryp_core.c1090 struct crypto_alg crypto;
1096 struct crypto_alg *alg = tfm->__crt_alg; cryp_cra_init()
/linux-4.1.27/drivers/crypto/qat/qat_common/
H A Dqat_algs.c1183 static struct crypto_alg qat_algs[] = { {
/linux-4.1.27/drivers/crypto/ux500/hash/
H A Dhash_core.c1498 struct crypto_alg *alg = tfm->__crt_alg; hash_cra_init()

Completed in 1611 milliseconds