Home
last modified time | relevance | path

Searched refs:crypto_instance (Results 1 – 24 of 24) sorted by relevance

/Linux-v6.1/include/crypto/
Dalgapi.h29 struct crypto_instance;
43 void (*free)(struct crypto_instance *inst);
51 struct crypto_instance { struct
81 struct crypto_instance *inst; argument
122 struct crypto_instance *inst);
123 void crypto_unregister_instance(struct crypto_instance *inst);
125 int crypto_grab_spawn(struct crypto_spawn *spawn, struct crypto_instance *inst,
135 int crypto_inst_setname(struct crypto_instance *inst, const char *name,
198 static inline struct crypto_instance *crypto_tfm_alg_instance( in crypto_tfm_alg_instance()
201 return container_of(tfm->__crt_alg, struct crypto_instance, alg); in crypto_tfm_alg_instance()
[all …]
/Linux-v6.1/include/crypto/internal/
Dhash.h37 struct crypto_instance base;
48 struct crypto_instance base;
89 struct crypto_instance *inst,
112 struct crypto_instance *inst,
149 static inline struct crypto_instance *ahash_crypto_instance( in ahash_crypto_instance()
156 struct crypto_instance *inst) in ahash_instance()
205 static inline struct crypto_instance *shash_crypto_instance( in shash_crypto_instance()
212 struct crypto_instance *inst) in shash_instance()
Dakcipher.h18 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,
Daead.h23 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,
Dkpp.h25 struct crypto_instance base;
77 static inline struct crypto_instance *kpp_crypto_instance( in kpp_crypto_instance()
89 static inline struct kpp_instance *kpp_instance(struct crypto_instance *inst) in kpp_instance()
169 struct crypto_instance *inst,
Dskcipher.h25 struct crypto_instance base;
69 static inline struct crypto_instance *skcipher_crypto_instance( in skcipher_crypto_instance()
93 struct crypto_instance *inst,
Dcipher.h184 struct crypto_instance *inst, in crypto_grab_cipher()
/Linux-v6.1/crypto/
Dkpp.c71 static void crypto_kpp_free_instance(struct crypto_instance *inst) in crypto_kpp_free_instance()
99 struct crypto_instance *inst, in crypto_grab_kpp()
Dakcipher.c72 static void crypto_akcipher_free_instance(struct crypto_instance *inst) in crypto_akcipher_free_instance()
94 struct crypto_instance *inst, in crypto_grab_akcipher()
Dalgapi.c72 static void crypto_free_instance(struct crypto_instance *inst) in crypto_free_instance()
79 struct crypto_instance *inst = (void *)alg; in crypto_destroy_instance()
119 static void crypto_remove_instance(struct crypto_instance *inst, in crypto_remove_instance()
171 struct crypto_instance *inst; in crypto_remove_spawns()
554 struct crypto_instance *inst; in crypto_unregister_template()
617 struct crypto_instance *inst) in crypto_register_instance()
677 void crypto_unregister_instance(struct crypto_instance *inst) in crypto_unregister_instance()
692 int crypto_grab_spawn(struct crypto_spawn *spawn, struct crypto_instance *inst, in crypto_grab_spawn()
895 int crypto_inst_setname(struct crypto_instance *inst, const char *name, in crypto_inst_setname()
Daead.c184 static void crypto_aead_free_instance(struct crypto_instance *inst) in crypto_aead_free_instance()
206 struct crypto_instance *inst, in crypto_grab_aead()
Dinternal.h23 struct crypto_instance;
Dshash.c454 static void crypto_shash_free_instance(struct crypto_instance *inst) in crypto_shash_free_instance()
509 struct crypto_instance *inst, in crypto_grab_shash()
Dahash.c492 static void crypto_ahash_free_instance(struct crypto_instance *inst) in crypto_ahash_free_instance()
547 struct crypto_instance *inst, in crypto_grab_ahash()
Dxcbc.c170 struct crypto_instance *inst = (void *)tfm->__crt_alg; in xcbc_init_tfm()
Dcryptd.c188 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in cryptd_get_queue()
209 static int cryptd_init_instance(struct crypto_instance *inst, in cryptd_init_instance()
426 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in cryptd_hash_init_tfm()
Dcmac.c204 struct crypto_instance *inst = (void *)tfm->__crt_alg; in cmac_init_tfm()
Dpcrypt.c216 static int pcrypt_init_instance(struct crypto_instance *inst, in pcrypt_init_instance()
Dskcipher.c677 static void crypto_skcipher_free_instance(struct crypto_instance *inst) in crypto_skcipher_free_instance()
745 struct crypto_instance *inst, in crypto_grab_skcipher()
Dcrypto_user_base.c326 crypto_unregister_instance((struct crypto_instance *)alg); in crypto_del_alg()
Dessiv.c445 struct crypto_instance *inst; in essiv_create()
Dvmac.c599 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in vmac_init_tfm()
Dccm.c844 struct crypto_instance *inst = (void *)tfm->__crt_alg; in cbcmac_init_tfm()
/Linux-v6.1/Documentation/dev-tools/
Dcoccinelle.rst428 @@ -185,7 +185,7 @@ static struct crypto_instance *crypto_ct
473 @@ -185,7 +185,6 @@ static struct crypto_instance *crypto_ct