/linux-4.1.27/crypto/ |
H A D | internal.h | 43 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 D | pcompress.c | 41 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 D | api.c | 37 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 D | crypto_user.c | 47 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 D | rng.c | 64 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 D | algapi.c | 27 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 D | aead.c | 82 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 D | ablkcipher.c | 346 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 D | krng.c | 30 static struct crypto_alg krng_alg = {
|
H A D | ahash.c | 480 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 D | proc.c | 82 struct crypto_alg *alg = list_entry(p, struct crypto_alg, cra_list); c_show()
|
H A D | shash.c | 334 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 D | arc4.c | 118 static struct crypto_alg arc4_algs[2] = { {
|
H A D | lz4.c | 79 static struct crypto_alg alg_lz4 = {
|
H A D | lz4hc.c | 79 static struct crypto_alg alg_lz4hc = {
|
H A D | lzo.c | 83 static struct crypto_alg alg = {
|
H A D | blkcipher.c | 445 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 D | blowfish_generic.c | 109 static struct crypto_alg alg = {
|
H A D | crypto_null.c | 109 static struct crypto_alg null_algs[3] = { {
|
H A D | mcryptd.c | 33 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 D | 842.c | 155 static struct crypto_alg alg = {
|
H A D | cryptd.c | 298 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 D | deflate.c | 197 static struct crypto_alg alg = {
|
H A D | ecb.c | 121 struct crypto_alg *alg; crypto_ecb_alloc()
|
H A D | salsa20_generic.c | 214 static struct crypto_alg alg = {
|
H A D | ctr.c | 184 struct crypto_alg *alg; crypto_ctr_alloc() 340 struct crypto_alg *alg; crypto_rfc3686_alloc()
|
H A D | ccm.c | 482 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 D | pcrypt.c | 309 static struct crypto_instance *pcrypt_alloc_instance(struct crypto_alg *alg) pcrypt_alloc_instance() 351 struct crypto_alg *alg; pcrypt_alloc_aead()
|
H A D | algboss.c | 233 static int cryptomgr_schedule_test(struct crypto_alg *alg) cryptomgr_schedule_test()
|
H A D | cast6_generic.c | 260 static struct crypto_alg alg = {
|
H A D | cbc.c | 217 struct crypto_alg *alg; crypto_cbc_alloc()
|
H A D | cmac.c | 228 struct crypto_alg *alg; cmac_create()
|
H A D | gcm.c | 704 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 D | hmac.c | 184 struct crypto_alg *alg; hmac_create()
|
H A D | lrw.c | 329 struct crypto_alg *alg; alloc()
|
H A D | pcbc.c | 227 struct crypto_alg *alg; crypto_pcbc_alloc()
|
H A D | tea.c | 222 static struct crypto_alg tea_algs[3] = { {
|
H A D | twofish_generic.c | 182 static struct crypto_alg alg = {
|
H A D | xcbc.c | 202 struct crypto_alg *alg; xcbc_create()
|
H A D | xts.c | 290 struct crypto_alg *alg; alloc()
|
H A D | authenc.c | 601 struct crypto_alg *auth_base; crypto_authenc_alloc() 602 struct crypto_alg *enc; crypto_authenc_alloc()
|
H A D | authencesn.c | 693 struct crypto_alg *auth_base; crypto_authenc_esn_alloc() 694 struct crypto_alg *enc; crypto_authenc_esn_alloc()
|
H A D | ansi_cprng.c | 427 static struct crypto_alg rng_algs[] = { {
|
H A D | cts.c | 277 struct crypto_alg *alg; crypto_cts_alloc()
|
H A D | seed.c | 443 static struct crypto_alg seed_alg = {
|
H A D | drbg.c | 1885 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 D | anubis.c | 674 static struct crypto_alg anubis_alg = {
|
H A D | cast5_generic.c | 517 static struct crypto_alg alg = {
|
H A D | fcrypt.c | 392 static struct crypto_alg fcrypt_alg = {
|
H A D | khazad.c | 849 static struct crypto_alg khazad_alg = {
|
H A D | vmac.c | 646 struct crypto_alg *alg; vmac_create()
|
H A D | camellia_generic.c | 1066 static struct crypto_alg camellia_alg = {
|
H A D | des_generic.c | 954 static struct crypto_alg des_algs[2] = { {
|
H A D | serpent_generic.c | 622 static struct crypto_alg srp_algs[2] = { {
|
H A D | aes_generic.c | 1442 static struct crypto_alg aes_alg = {
|
/linux-4.1.27/drivers/crypto/vmx/ |
H A D | vmx.c | 31 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 D | aes.c | 122 struct crypto_alg p8_aes_alg = {
|
H A D | aes_cbc.c | 166 struct crypto_alg p8_aes_cbc_alg = {
|
H A D | aes_ctr.c | 150 struct crypto_alg p8_aes_ctr_alg = {
|
/linux-4.1.27/drivers/crypto/nx/ |
H A D | nx.h | 185 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 D | nx-aes-ctr.c | 147 struct crypto_alg nx_ctr_aes_alg = { 168 struct crypto_alg nx_ctr3686_aes_alg = {
|
H A D | nx-aes-cbc.c | 130 struct crypto_alg nx_cbc_aes_alg = {
|
H A D | nx-aes-ecb.c | 130 struct crypto_alg nx_ecb_aes_alg = {
|
H A D | nx-aes-ccm.c | 563 struct crypto_alg nx_ccm_aes_alg = { 585 struct crypto_alg nx_ccm4309_aes_alg = {
|
H A D | nx-aes-gcm.c | 487 struct crypto_alg nx_gcm_aes_alg = { 508 struct crypto_alg nx_gcm4106_aes_alg = {
|
/linux-4.1.27/include/crypto/ |
H A D | algapi.h | 25 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 D | compress.h | 73 struct crypto_alg base; 89 static inline struct pcomp_alg *__crypto_pcomp_alg(struct crypto_alg *alg) __crypto_pcomp_alg()
|
H A D | hash.h | 42 * 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 D | skcipher.h | 37 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 D | aead.h | 34 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 D | hash.h | 136 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 D | ccp-crypto.h | 34 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 D | ccp-crypto-aes.c | 218 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 D | ccp-crypto-sha.c | 372 struct crypto_alg *base; ccp_register_hmac_alg() 416 struct crypto_alg *base; ccp_register_sha_alg()
|
H A D | ccp-crypto-aes-xts.c | 229 struct crypto_alg *alg; ccp_register_aes_xts_alg()
|
H A D | ccp-crypto-aes-cmac.c | 357 struct crypto_alg *base; ccp_register_aes_cmac_algs()
|
/linux-4.1.27/arch/s390/crypto/ |
H A D | des_s390.c | 66 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 D | aes_s390.c | 210 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 D | cipher.h | 62 struct crypto_alg *alg = tfm->__crt_alg; to_cipher_tmpl()
|
H A D | common.h | 90 struct crypto_alg crypto;
|
H A D | ablkcipher.c | 350 struct crypto_alg *alg; qce_ablkcipher_register_one()
|
H A D | sha.c | 504 struct crypto_alg *base; qce_ahash_register_one()
|
/linux-4.1.27/arch/x86/crypto/ |
H A D | aes_glue.c | 35 static struct crypto_alg aes_alg = {
|
H A D | fpu.c | 105 struct crypto_alg *alg; crypto_fpu_alloc()
|
H A D | salsa20_glue.c | 85 static struct crypto_alg alg = {
|
H A D | twofish_glue.c | 64 static struct crypto_alg alg = {
|
H A D | blowfish_glue.c | 358 static struct crypto_alg bf_algs[4] = { {
|
H A D | camellia_aesni_avx_glue.c | 334 static struct crypto_alg cmll_algs[10] = { {
|
H A D | cast5_avx_glue.c | 340 static struct crypto_alg cast5_algs[6] = { {
|
H A D | des3_ede_glue.c | 385 static struct crypto_alg des3_ede_algs[4] = { {
|
H A D | serpent_avx2_glue.c | 308 static struct crypto_alg srp_algs[10] = { {
|
H A D | twofish_glue_3way.c | 335 static struct crypto_alg tf_algs[5] = { {
|
H A D | camellia_aesni_avx2_glue.c | 342 static struct crypto_alg cmll_algs[10] = { {
|
H A D | cast6_avx_glue.c | 371 static struct crypto_alg cast6_algs[10] = { {
|
H A D | serpent_avx_glue.c | 377 static struct crypto_alg serpent_algs[10] = { {
|
H A D | serpent_sse2_glue.c | 386 static struct crypto_alg serpent_algs[10] = { {
|
H A D | twofish_avx_glue.c | 339 static struct crypto_alg twofish_algs[10] = { {
|
H A D | aesni-intel_glue.c | 1244 static struct crypto_alg aesni_algs[] = { {
|
H A D | camellia_glue.c | 1561 static struct crypto_alg camellia_algs[6] = { {
|
/linux-4.1.27/arch/arm/crypto/ |
H A D | aes_glue.c | 61 static struct crypto_alg aes_alg = {
|
H A D | aesbs-glue.c | 300 static struct crypto_alg aesbs_algs[] = { {
|
H A D | aes-ce-glue.c | 353 static struct crypto_alg aes_algs[] = { {
|
/linux-4.1.27/drivers/staging/rtl8192e/rtl8192e/ |
H A D | rtl_crypto.h | 103 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 D | crypto4xx_core.h | 146 struct crypto_alg cipher; 158 struct crypto_alg *x) crypto_alg_to_crypto4xx_alg()
|
H A D | crypto4xx_alg.c | 185 struct crypto_alg *alg = tfm->__crt_alg; crypto4xx_hash_alg_init()
|
H A D | crypto4xx_core.c | 994 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 D | picoxcell_crypto.c | 141 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 D | geode-aes.c | 280 static struct crypto_alg geode_alg = { 390 static struct crypto_alg geode_cbc_alg = { 476 static struct crypto_alg geode_ecb_alg = {
|
H A D | padlock-aes.c | 322 static struct crypto_alg aes_alg = { 400 static struct crypto_alg ecb_aes_alg = { 482 static struct crypto_alg cbc_aes_alg = {
|
H A D | n2_core.c | 255 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 D | omap-aes.c | 115 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 D | omap-des.c | 96 struct crypto_alg *algs_list; 779 static struct crypto_alg algs_ecb_cbc[] = { 1054 struct crypto_alg *algp; omap_des_probe()
|
H A D | s5p-sss.c | 595 static struct crypto_alg algs[] = {
|
H A D | atmel-aes.c | 959 static struct crypto_alg aes_algs[] = { 1129 static struct crypto_alg aes_cfb64_alg = {
|
H A D | ixp4xx_crypto.c | 193 struct crypto_alg crypto; 1427 struct crypto_alg *cra = &ixp4xx_algos[i].crypto; ixp_module_init()
|
H A D | mv_cesa.c | 926 static struct crypto_alg mv_aes_alg_ecb = { 949 static struct crypto_alg mv_aes_alg_cbc = {
|
H A D | mxs-dcp.c | 779 static struct crypto_alg dcp_aes_algs[] = {
|
H A D | hifn_795x.c | 633 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 D | talitos.c | 1912 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 D | atmel-tdes.c | 919 static struct crypto_alg tdes_algs[] = {
|
H A D | sahara.c | 1272 static struct crypto_alg aes_algs[] = {
|
/linux-4.1.27/arch/arm64/crypto/ |
H A D | aes-ce-cipher.c | 237 static struct crypto_alg aes_alg = {
|
H A D | aes-ce-ccm-glue.c | 261 static struct crypto_alg ccm_aes_alg = {
|
H A D | aes-glue.c | 283 static struct crypto_alg aes_algs[] = { {
|
/linux-4.1.27/arch/sparc/crypto/ |
H A D | camellia_glue.c | 226 static struct crypto_alg algs[] = { {
|
H A D | aes_glue.c | 385 static struct crypto_alg algs[] = { {
|
H A D | des_glue.c | 381 static struct crypto_alg algs[] = { {
|
/linux-4.1.27/include/linux/ |
H A D | crypto.h | 465 * 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 D | caamalg.c | 4132 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 D | caamhash.c | 1751 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 D | aes-spe-glue.c | 391 static struct crypto_alg aes_algs[] = { {
|
/linux-4.1.27/drivers/crypto/ux500/cryp/ |
H A D | cryp_core.c | 1090 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 D | qat_algs.c | 1183 static struct crypto_alg qat_algs[] = { {
|
/linux-4.1.27/drivers/crypto/ux500/hash/ |
H A D | hash_core.c | 1498 struct crypto_alg *alg = tfm->__crt_alg; hash_cra_init()
|