Home
last modified time | relevance | path

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

/Linux-v6.6/include/crypto/
Dalgapi.h49 struct crypto_instance;
63 void (*free)(struct crypto_instance *inst);
74 struct crypto_instance { struct
106 struct crypto_instance *inst; argument
155 struct crypto_instance *inst);
156 void crypto_unregister_instance(struct crypto_instance *inst);
158 int crypto_grab_spawn(struct crypto_spawn *spawn, struct crypto_instance *inst,
168 int crypto_inst_setname(struct crypto_instance *inst, const char *name,
218 static inline struct crypto_instance *crypto_tfm_alg_instance( in crypto_tfm_alg_instance()
221 return container_of(tfm->__crt_alg, struct crypto_instance, alg); in crypto_tfm_alg_instance()
[all …]
/Linux-v6.6/include/crypto/internal/
Dhash.h37 struct crypto_instance base;
48 struct crypto_instance base;
95 struct crypto_instance *inst,
118 struct crypto_instance *inst,
177 static inline struct crypto_instance *ahash_crypto_instance( in ahash_crypto_instance()
184 struct crypto_instance *inst) in ahash_instance()
243 static inline struct crypto_instance *shash_crypto_instance( in shash_crypto_instance()
250 struct crypto_instance *inst) in shash_instance()
Dakcipher.h18 struct crypto_instance base;
80 static inline struct crypto_instance *akcipher_crypto_instance( in akcipher_crypto_instance()
83 return container_of(&inst->alg.base, struct crypto_instance, alg); in akcipher_crypto_instance()
87 struct crypto_instance *inst) in akcipher_instance()
104 struct crypto_instance *inst,
Daead.h23 struct crypto_instance base;
47 static inline struct crypto_instance *aead_crypto_instance( in aead_crypto_instance()
50 return container_of(&inst->alg.base, struct crypto_instance, alg); in aead_crypto_instance()
53 static inline struct aead_instance *aead_instance(struct crypto_instance *inst) in aead_instance()
100 struct crypto_instance *inst,
Dkpp.h25 struct crypto_instance base;
105 static inline struct crypto_instance *kpp_crypto_instance( in kpp_crypto_instance()
117 static inline struct kpp_instance *kpp_instance(struct crypto_instance *inst) in kpp_instance()
197 struct crypto_instance *inst,
Dskcipher.h33 struct crypto_instance base;
77 static inline struct crypto_instance *skcipher_crypto_instance( in skcipher_crypto_instance()
101 struct crypto_instance *inst,
Dcipher.h186 struct crypto_instance *inst, in crypto_grab_cipher()
/Linux-v6.6/crypto/
Dalgapi.c73 static void crypto_free_instance(struct crypto_instance *inst) in crypto_free_instance()
80 struct crypto_instance *inst = container_of(w, struct crypto_instance, in crypto_destroy_instance_workfn()
90 struct crypto_instance *inst = container_of(alg, in crypto_destroy_instance()
91 struct crypto_instance, in crypto_destroy_instance()
131 static void crypto_remove_instance(struct crypto_instance *inst, in crypto_remove_instance()
183 struct crypto_instance *inst; in crypto_remove_spawns()
587 struct crypto_instance *inst; in crypto_unregister_template()
650 struct crypto_instance *inst) in crypto_register_instance()
708 void crypto_unregister_instance(struct crypto_instance *inst) in crypto_unregister_instance()
723 int crypto_grab_spawn(struct crypto_spawn *spawn, struct crypto_instance *inst, in crypto_grab_spawn()
[all …]
Dkpp.c62 static void crypto_kpp_free_instance(struct crypto_instance *inst) in crypto_kpp_free_instance()
118 struct crypto_instance *inst, in crypto_grab_kpp()
Dakcipher.c66 static void crypto_akcipher_free_instance(struct crypto_instance *inst) in crypto_akcipher_free_instance()
117 struct crypto_instance *inst, in crypto_grab_akcipher()
Daead.c211 static void crypto_aead_free_instance(struct crypto_instance *inst) in crypto_aead_free_instance()
258 struct crypto_instance *inst, in crypto_grab_aead()
Dinternal.h27 struct crypto_instance;
Dahash.c461 static void crypto_ahash_free_instance(struct crypto_instance *inst) in crypto_ahash_free_instance()
521 struct crypto_instance *inst, in crypto_grab_ahash()
Dxcbc.c170 struct crypto_instance *inst = (void *)tfm->__crt_alg; in xcbc_init_tfm()
Dshash.c504 static void crypto_shash_free_instance(struct crypto_instance *inst) in crypto_shash_free_instance()
564 struct crypto_instance *inst, in crypto_grab_shash()
Dpcrypt.c216 static int pcrypt_init_instance(struct crypto_instance *inst, in pcrypt_init_instance()
Dcrypto_user_base.c326 crypto_unregister_instance((struct crypto_instance *)alg); in crypto_del_alg()
Dskcipher.c705 static void crypto_skcipher_free_instance(struct crypto_instance *inst) in crypto_skcipher_free_instance()
792 struct crypto_instance *inst, in crypto_grab_skcipher()
Dcryptd.c189 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()
Dessiv.c450 struct crypto_instance *inst; in essiv_create()
Dvmac.c599 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in vmac_init_tfm()
Dccm.c843 struct crypto_instance *inst = (void *)tfm->__crt_alg; in cbcmac_init_tfm()
/Linux-v6.6/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