Searched refs:crypto_instance (Results 1 – 21 of 21) sorted by relevance
/Linux-v5.10/include/crypto/ |
D | algapi.h | 25 struct crypto_instance; 38 void (*free)(struct crypto_instance *inst); 46 struct crypto_instance { struct 76 struct crypto_instance *inst; argument 108 struct crypto_instance *inst); 109 void crypto_unregister_instance(struct crypto_instance *inst); 111 int crypto_grab_spawn(struct crypto_spawn *spawn, struct crypto_instance *inst, 122 int crypto_inst_setname(struct crypto_instance *inst, const char *name, 181 static inline struct crypto_instance *crypto_tfm_alg_instance( in crypto_tfm_alg_instance() 184 return container_of(tfm->__crt_alg, struct crypto_instance, alg); in crypto_tfm_alg_instance() [all …]
|
/Linux-v5.10/include/crypto/internal/ |
D | akcipher.h | 18 struct crypto_instance base; 58 static inline struct crypto_instance *akcipher_crypto_instance( in akcipher_crypto_instance() 61 return container_of(&inst->alg.base, struct crypto_instance, alg); in akcipher_crypto_instance() 65 struct crypto_instance *inst) in akcipher_instance() 82 struct crypto_instance *inst,
|
D | hash.h | 37 struct crypto_instance base; 48 struct crypto_instance base; 95 struct crypto_instance *inst, 118 struct crypto_instance *inst, 155 static inline struct crypto_instance *ahash_crypto_instance( in ahash_crypto_instance() 162 struct crypto_instance *inst) in ahash_instance() 211 static inline struct crypto_instance *shash_crypto_instance( in shash_crypto_instance() 218 struct crypto_instance *inst) in shash_instance()
|
D | aead.h | 23 struct crypto_instance base; 42 static inline struct crypto_instance *aead_crypto_instance( in aead_crypto_instance() 45 return container_of(&inst->alg.base, struct crypto_instance, alg); in aead_crypto_instance() 48 static inline struct aead_instance *aead_instance(struct crypto_instance *inst) in aead_instance() 85 struct crypto_instance *inst,
|
D | skcipher.h | 24 struct crypto_instance base; 68 static inline struct crypto_instance *skcipher_crypto_instance( in skcipher_crypto_instance() 92 struct crypto_instance *inst,
|
/Linux-v5.10/crypto/ |
D | akcipher.c | 72 static void crypto_akcipher_free_instance(struct crypto_instance *inst) in crypto_akcipher_free_instance() 94 struct crypto_instance *inst, in crypto_grab_akcipher()
|
D | algapi.c | 66 static void crypto_free_instance(struct crypto_instance *inst) in crypto_free_instance() 73 struct crypto_instance *inst = (void *)alg; in crypto_destroy_instance() 113 static void crypto_remove_instance(struct crypto_instance *inst, in crypto_remove_instance() 165 struct crypto_instance *inst; in crypto_remove_spawns() 538 struct crypto_instance *inst; in crypto_unregister_template() 601 struct crypto_instance *inst) in crypto_register_instance() 654 void crypto_unregister_instance(struct crypto_instance *inst) in crypto_unregister_instance() 669 int crypto_grab_spawn(struct crypto_spawn *spawn, struct crypto_instance *inst, in crypto_grab_spawn() 889 int crypto_inst_setname(struct crypto_instance *inst, const char *name, in crypto_inst_setname()
|
D | aead.c | 184 static void crypto_aead_free_instance(struct crypto_instance *inst) in crypto_aead_free_instance() 206 struct crypto_instance *inst, in crypto_grab_aead()
|
D | internal.h | 22 struct crypto_instance;
|
D | shash.c | 442 static void crypto_shash_free_instance(struct crypto_instance *inst) in crypto_shash_free_instance() 497 struct crypto_instance *inst, in crypto_grab_shash()
|
D | ahash.c | 492 static void crypto_ahash_free_instance(struct crypto_instance *inst) in crypto_ahash_free_instance() 547 struct crypto_instance *inst, in crypto_grab_ahash()
|
D | xcbc.c | 169 struct crypto_instance *inst = (void *)tfm->__crt_alg; in xcbc_init_tfm()
|
D | cmac.c | 203 struct crypto_instance *inst = (void *)tfm->__crt_alg; in cmac_init_tfm()
|
D | cryptd.c | 189 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in cryptd_get_queue() 210 static int cryptd_init_instance(struct crypto_instance *inst, in cryptd_init_instance() 427 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in cryptd_hash_init_tfm()
|
D | pcrypt.c | 212 static int pcrypt_init_instance(struct crypto_instance *inst, in pcrypt_init_instance()
|
D | skcipher.c | 682 static void crypto_skcipher_free_instance(struct crypto_instance *inst) in crypto_skcipher_free_instance() 750 struct crypto_instance *inst, in crypto_grab_skcipher()
|
D | crypto_user_base.c | 326 crypto_unregister_instance((struct crypto_instance *)alg); in crypto_del_alg()
|
D | essiv.c | 444 struct crypto_instance *inst; in essiv_create()
|
D | vmac.c | 598 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in vmac_init_tfm()
|
D | ccm.c | 843 struct crypto_instance *inst = (void *)tfm->__crt_alg; in cbcmac_init_tfm()
|
/Linux-v5.10/Documentation/dev-tools/ |
D | coccinelle.rst | 421 @@ -185,7 +185,7 @@ static struct crypto_instance *crypto_ct 466 @@ -185,7 +185,6 @@ static struct crypto_instance *crypto_ct
|