Home
last modified time | relevance | path

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

/linux/include/crypto/
A Dalgapi.h49 struct crypto_instance;
63 void (*free)(struct crypto_instance *inst);
71 struct crypto_instance { struct
103 struct crypto_instance *inst; argument
152 struct crypto_instance *inst);
153 void crypto_unregister_instance(struct crypto_instance *inst);
155 int crypto_grab_spawn(struct crypto_spawn *spawn, struct crypto_instance *inst,
165 int crypto_inst_setname(struct crypto_instance *inst, const char *name,
210 static inline struct crypto_instance *crypto_tfm_alg_instance( in crypto_tfm_alg_instance()
213 return container_of(tfm->__crt_alg, struct crypto_instance, alg); in crypto_tfm_alg_instance()
[all …]
/linux/include/crypto/internal/
A Dhash.h35 struct crypto_instance base;
46 struct crypto_instance base;
91 struct crypto_instance *inst,
114 struct crypto_instance *inst,
173 static inline struct crypto_instance *ahash_crypto_instance( in ahash_crypto_instance()
180 struct crypto_instance *inst) in ahash_instance()
239 static inline struct crypto_instance *shash_crypto_instance( in shash_crypto_instance()
246 struct crypto_instance *inst) in shash_instance()
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,
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,
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,
A Dskcipher.h33 struct crypto_instance base;
44 struct crypto_instance base;
92 static inline struct crypto_instance *skcipher_crypto_instance( in skcipher_crypto_instance()
98 static inline struct crypto_instance *lskcipher_crypto_instance( in lskcipher_crypto_instance()
134 struct crypto_instance *inst,
138 struct crypto_instance *inst,
A Dcipher.h186 struct crypto_instance *inst, in crypto_grab_cipher()
/linux/crypto/
A 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()
548 struct crypto_instance *inst; in crypto_unregister_template()
611 struct crypto_instance *inst) in crypto_register_instance()
669 void crypto_unregister_instance(struct crypto_instance *inst) in crypto_unregister_instance()
684 int crypto_grab_spawn(struct crypto_spawn *spawn, struct crypto_instance *inst, in crypto_grab_spawn()
[all …]
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()
A Dakcipher.c66 static void crypto_akcipher_free_instance(struct crypto_instance *inst) in crypto_akcipher_free_instance()
90 struct crypto_instance *inst, in crypto_grab_akcipher()
A Daead.c167 static void crypto_aead_free_instance(struct crypto_instance *inst) in crypto_aead_free_instance()
191 struct crypto_instance *inst, in crypto_grab_aead()
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()
A Dinternal.h27 struct crypto_instance;
A Dxcbc.c165 struct crypto_instance *inst = (void *)tfm->__crt_alg; in xcbc_init_tfm()
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()
A Dahash.c496 static void crypto_ahash_free_instance(struct crypto_instance *inst) in crypto_ahash_free_instance()
547 struct crypto_instance *inst, in crypto_grab_ahash()
A Dpcrypt.c220 static int pcrypt_init_instance(struct crypto_instance *inst, in pcrypt_init_instance()
A Dcrypto_user.c325 crypto_unregister_instance((struct crypto_instance *)alg); in crypto_del_alg()
A Dskcipher.c762 static void crypto_skcipher_free_instance(struct crypto_instance *inst) in crypto_skcipher_free_instance()
825 struct crypto_instance *inst, in crypto_grab_skcipher()
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()
A Dessiv.c451 struct crypto_instance *inst; in essiv_create()
A Dvmac.c599 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in vmac_init_tfm()
A Dccm.c839 struct crypto_instance *inst = (void *)tfm->__crt_alg; in cbcmac_init_tfm()
/linux/Documentation/dev-tools/
A Dcoccinelle.rst428 @@ -185,7 +185,7 @@ static struct crypto_instance *crypto_ct
473 @@ -185,7 +185,6 @@ static struct crypto_instance *crypto_ct

Completed in 57 milliseconds