| /linux/crypto/ |
| H A D | api.c | 38 static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg, 40 static struct crypto_alg *crypto_alg_lookup(const char *name, u32 type, 43 struct crypto_alg *crypto_mod_get(struct crypto_alg *alg) in crypto_mod_get() 49 void crypto_mod_put(struct crypto_alg *alg) in crypto_mod_put() 58 static struct crypto_alg *__crypto_alg_lookup(const char *name, u32 type, in __crypto_alg_lookup() 62 struct crypto_alg *q, *alg = NULL; in __crypto_alg_lookup() 94 static void crypto_larval_destroy(struct crypto_alg *alg) in crypto_larval_destroy() 126 static struct crypto_alg *crypto_larval_add(const char *name, u32 type, in crypto_larval_add() 129 struct crypto_alg *alg; in crypto_larval_add() 201 static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg, in crypto_larval_wait() [all …]
|
| H A D | crypto_user.c | 35 static struct crypto_alg *crypto_alg_match(struct crypto_user_alg *p, int exact) in crypto_alg_match() 37 struct crypto_alg *q, *alg = NULL; in crypto_alg_match() 71 static int crypto_report_cipher(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_cipher() 87 static int crypto_report_one(struct crypto_alg *alg, in crypto_report_one() 137 static int crypto_report_alg(struct crypto_alg *alg, in crypto_report_alg() 172 struct crypto_alg *alg; in crypto_report() 212 struct crypto_alg *alg; in crypto_dump_report() 246 struct crypto_alg *alg; in crypto_update_alg() 282 struct crypto_alg *alg; in crypto_del_alg() 322 struct crypto_alg *alg; in crypto_add_alg() [all …]
|
| H A D | kpp.c | 21 struct sk_buff *skb, struct crypto_alg *alg) in crypto_kpp_report() 33 struct crypto_alg *alg) in crypto_kpp_show() 107 struct crypto_alg *base = &alg->base; in kpp_prepare_alg() 116 struct crypto_alg *base = &alg->base; in crypto_register_kpp()
|
| H A D | sig.c | 48 struct crypto_alg *alg) in crypto_sig_show() 54 struct crypto_alg *alg) in crypto_sig_report() 113 struct crypto_alg *base = &alg->base; in sig_prepare_alg() 139 struct crypto_alg *base = &alg->base; in crypto_register_sig()
|
| H A D | rng.c | 59 static unsigned int seedsize(struct crypto_alg *alg) in seedsize() 67 struct sk_buff *skb, struct crypto_alg *alg) in crypto_rng_report() 81 struct crypto_alg *alg) in crypto_rng_show() 177 struct crypto_alg *base = &alg->base; in crypto_register_rng()
|
| H A D | akcipher.c | 37 struct sk_buff *skb, struct crypto_alg *alg) in crypto_akcipher_report() 50 struct crypto_alg *alg) in crypto_akcipher_show() 119 struct crypto_alg *base = &alg->base; in akcipher_prepare_alg() 139 struct crypto_alg *base = &alg->base; in crypto_register_akcipher()
|
| H A D | aead.c | 137 struct sk_buff *skb, struct crypto_alg *alg) in crypto_aead_report() 155 struct crypto_alg *alg) in crypto_aead_show() 234 struct crypto_alg *base = &alg->base; in aead_prepare_alg() 252 struct crypto_alg *base = &alg->base; in crypto_register_aead()
|
| H A D | skcipher.c | 48 struct crypto_alg *alg) in __crypto_skcipher_alg() 557 static unsigned int crypto_skcipher_extsize(struct crypto_alg *alg) in crypto_skcipher_extsize() 574 struct crypto_alg *alg) in crypto_skcipher_show() 591 struct sk_buff *skb, struct crypto_alg *alg) in crypto_skcipher_report() 676 struct crypto_alg *base = &alg->base; in skcipher_prepare_alg_common() 693 struct crypto_alg *base = &alg->base; in skcipher_prepare_alg() 720 struct crypto_alg *base = &alg->base; in crypto_register_skcipher() 839 struct crypto_alg *cipher_alg; in skcipher_alloc_instance_simple()
|
| H A D | lskcipher.c | 27 struct crypto_alg *alg) in __crypto_lskcipher_alg() 250 struct seq_file *m, struct crypto_alg *alg) in crypto_lskcipher_show() 264 struct sk_buff *skb, struct crypto_alg *alg) in crypto_lskcipher_report() 310 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_lskcipher_ops_sg() 346 struct crypto_alg *base = &alg->co.base; in lskcipher_prepare_alg() 364 struct crypto_alg *base = &alg->co.base; in crypto_register_lskcipher()
|
| H A D | shash.c | 334 struct sk_buff *skb, struct crypto_alg *alg) in crypto_shash_report() 350 struct crypto_alg *alg) in crypto_shash_show() 437 struct crypto_alg *base = &alg->base; in hash_prepare_alg() 463 struct crypto_alg *base = &alg->halg.base; in shash_prepare_alg() 521 struct crypto_alg *base = &alg->base; in crypto_register_shash()
|
| H A D | ahash.c | 253 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_ahash_using_shash() 774 static unsigned int crypto_ahash_extsize(struct crypto_alg *alg) in crypto_ahash_extsize() 790 struct sk_buff *skb, struct crypto_alg *alg) in crypto_ahash_report() 805 struct crypto_alg *alg) in crypto_ahash_show() 856 struct crypto_alg *alg = &halg->base; in crypto_hash_alg_has_setkey() 947 struct crypto_alg *base = &alg->halg.base; in ahash_prepare_alg() 999 struct crypto_alg *base = &alg->halg.base; in crypto_register_ahash()
|
| H A D | sm4_generic.c | 57 static struct crypto_alg sm4_alg = {
|
| H A D | aes.c | 36 static struct crypto_alg alg = {
|
| /linux/include/crypto/ |
| H A D | algapi.h | 60 struct crypto_alg alg; 89 struct crypto_alg *alg; 134 int crypto_register_alg(struct crypto_alg *alg); 135 void crypto_unregister_alg(struct crypto_alg *alg); 136 int crypto_register_algs(struct crypto_alg *algs, int count); 137 void crypto_unregister_algs(struct crypto_alg *algs, int count); 139 void crypto_mod_put(struct crypto_alg *alg); 162 const char *driver, struct crypto_alg *alg);
|
| H A D | rng.h | 53 struct crypto_alg base; 99 static inline struct rng_alg *__crypto_rng_alg(struct crypto_alg *alg) in __crypto_rng_alg()
|
| H A D | sig.h | 70 struct crypto_alg base; 106 static inline struct sig_alg *__crypto_sig_alg(struct crypto_alg *alg) in __crypto_sig_alg()
|
| H A D | kpp.h | 88 struct crypto_alg base; 119 static inline struct kpp_alg *__crypto_kpp_alg(struct crypto_alg *alg) in __crypto_kpp_alg()
|
| H A D | akcipher.h | 95 struct crypto_alg base; 128 static inline struct akcipher_alg *__crypto_akcipher_alg(struct crypto_alg *alg) in __crypto_akcipher_alg()
|
| H A D | hash.h | 54 struct crypto_alg base; \ 380 struct crypto_alg *alg) in __crypto_hash_alg_common() 806 static inline struct shash_alg *__crypto_shash_alg(struct crypto_alg *alg) in __crypto_shash_alg()
|
| /linux/include/linux/ |
| H A D | crypto.h | 332 struct crypto_alg { struct 356 void (*cra_destroy)(struct crypto_alg *alg); argument 422 struct crypto_alg *__crt_alg;
|
| /linux/drivers/crypto/aspeed/ |
| H A D | aspeed-hace-crypto.c | 412 u32 crypto_alg = cmd & HACE_CMD_OP_MODE_MASK; in aspeed_des_crypt() local 416 if (crypto_alg == HACE_CMD_CBC || crypto_alg == HACE_CMD_ECB) { in aspeed_des_crypt() 542 u32 crypto_alg = cmd & HACE_CMD_OP_MODE_MASK; in aspeed_aes_crypt() local 544 if (crypto_alg == HACE_CMD_CBC || crypto_alg == HACE_CMD_ECB) { in aspeed_aes_crypt() 639 struct aspeed_hace_alg *crypto_alg; in aspeed_crypto_cra_init() local 642 crypto_alg = container_of(alg, struct aspeed_hace_alg, alg.skcipher.base); in aspeed_crypto_cra_init() 643 ctx->hace_dev = crypto_alg->hace_dev; in aspeed_crypto_cra_init()
|
| /linux/Documentation/crypto/ |
| H A D | devel-algos.rst | 14 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/arch/s390/crypto/ |
| H A D | des_s390.c | 70 static struct crypto_alg des_alg = { 235 static struct crypto_alg des3_alg = { 398 static struct crypto_alg *des_s390_algs_ptr[2]; 403 static int des_s390_register_alg(struct crypto_alg *alg) in des_s390_register_alg()
|
| /linux/arch/x86/crypto/ |
| H A D | twofish_glue.c | 65 static struct crypto_alg alg = {
|
| /linux/arch/arm64/crypto/ |
| H A D | sm4-ce-cipher-glue.c | 52 static struct crypto_alg sm4_ce_alg = {
|