Home
last modified time | relevance | path

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

/linux-6.15/include/crypto/
H A Dalgapi.h50 struct crypto_instance;
59 struct crypto_instance { struct
91 struct crypto_instance *inst; argument
147 struct crypto_instance *inst);
148 void crypto_unregister_instance(struct crypto_instance *inst);
150 int crypto_grab_spawn(struct crypto_spawn *spawn, struct crypto_instance *inst,
160 int crypto_inst_setname(struct crypto_instance *inst, const char *name,
205 static inline struct crypto_instance *crypto_tfm_alg_instance( in crypto_tfm_alg_instance()
208 return container_of(tfm->__crt_alg, struct crypto_instance, alg); in crypto_tfm_alg_instance()
211 static inline void *crypto_instance_ctx(struct crypto_instance *inst) in crypto_instance_ctx()
/linux-6.15/include/crypto/internal/
H A Dsig.h18 struct crypto_instance base;
56 static inline struct sig_instance *sig_instance(struct crypto_instance *inst) in sig_instance()
66 static inline struct crypto_instance *sig_crypto_instance(struct sig_instance in sig_crypto_instance()
69 return container_of(&inst->alg.base, struct crypto_instance, alg); in sig_crypto_instance()
78 struct crypto_instance *inst,
H A Dhash.h21 struct crypto_instance base;
32 struct crypto_instance base;
68 struct crypto_instance *inst,
91 struct crypto_instance *inst,
150 static inline struct crypto_instance *ahash_crypto_instance( in ahash_crypto_instance()
157 struct crypto_instance *inst) in ahash_instance()
216 static inline struct crypto_instance *shash_crypto_instance( in shash_crypto_instance()
223 struct crypto_instance *inst) in shash_instance()
H A 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,
H A 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,
H A 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,
H A Dskcipher.h32 struct crypto_instance base;
43 struct crypto_instance base;
99 static inline struct crypto_instance *skcipher_crypto_instance( in skcipher_crypto_instance()
105 static inline struct crypto_instance *lskcipher_crypto_instance( in lskcipher_crypto_instance()
141 struct crypto_instance *inst,
145 struct crypto_instance *inst,
H A Dcipher.h186 struct crypto_instance *inst, in crypto_grab_cipher()
/linux-6.15/crypto/
H A Dalgapi.c67 static void crypto_free_instance(struct crypto_instance *inst) in crypto_free_instance()
74 struct crypto_instance *inst = container_of(w, struct crypto_instance, in crypto_destroy_instance_workfn()
84 struct crypto_instance *inst = container_of(alg, in crypto_destroy_instance()
85 struct crypto_instance, in crypto_destroy_instance()
125 static void crypto_remove_instance(struct crypto_instance *inst, in crypto_remove_instance()
177 struct crypto_instance *inst; in crypto_remove_spawns()
544 struct crypto_instance *inst; in crypto_unregister_template()
607 struct crypto_instance *inst) in crypto_register_instance()
668 void crypto_unregister_instance(struct crypto_instance *inst) in crypto_unregister_instance()
683 int crypto_grab_spawn(struct crypto_spawn *spawn, struct crypto_instance *inst, in crypto_grab_spawn()
[all …]
H A Dkpp.c62 static void crypto_kpp_free_instance(struct crypto_instance *inst) in crypto_kpp_free_instance()
92 struct crypto_instance *inst, in crypto_grab_kpp()
H A Dsig.c40 static void crypto_sig_free_instance(struct crypto_instance *inst) in crypto_sig_free_instance()
167 struct crypto_instance *inst, in crypto_grab_sig()
H A Dinternal.h25 struct crypto_instance;
42 void (*free)(struct crypto_instance *inst);
H A Dakcipher.c79 static void crypto_akcipher_free_instance(struct crypto_instance *inst) in crypto_akcipher_free_instance()
103 struct crypto_instance *inst, in crypto_grab_akcipher()
H A Daead.c168 static void crypto_aead_free_instance(struct crypto_instance *inst) in crypto_aead_free_instance()
192 struct crypto_instance *inst, in crypto_grab_aead()
H A Dshash.c182 static void crypto_shash_free_instance(struct crypto_instance *inst) in crypto_shash_free_instance()
233 struct crypto_instance *inst, in crypto_grab_shash()
H A Dxcbc.c165 struct crypto_instance *inst = (void *)tfm->__crt_alg; in xcbc_init_tfm()
H A Dlskcipher.c241 static void crypto_lskcipher_free_instance(struct crypto_instance *inst) in crypto_lskcipher_free_instance()
328 struct crypto_instance *inst, in crypto_grab_lskcipher()
H A Dpcrypt.c224 static int pcrypt_init_instance(struct crypto_instance *inst, in pcrypt_init_instance()
H A Dskcipher.c563 static void crypto_skcipher_free_instance(struct crypto_instance *inst) in crypto_skcipher_free_instance()
626 struct crypto_instance *inst, in crypto_grab_skcipher()
H A Dcrypto_user.c309 crypto_unregister_instance((struct crypto_instance *)alg); in crypto_del_alg()
H A Dahash.c852 static void crypto_ahash_free_instance(struct crypto_instance *inst) in crypto_ahash_free_instance()
903 struct crypto_instance *inst, in crypto_grab_ahash()
H A 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()
H A Dessiv.c450 struct crypto_instance *inst; in essiv_create()
H A Dccm.c839 struct crypto_instance *inst = (void *)tfm->__crt_alg; in cbcmac_init_tfm()
/linux-6.15/Documentation/dev-tools/
H A Dcoccinelle.rst420 @@ -185,7 +185,7 @@ static struct crypto_instance *crypto_ct
465 @@ -185,7 +185,6 @@ static struct crypto_instance *crypto_ct