Home
last modified time | relevance | path

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

/Linux-v5.15/include/crypto/
Dalgapi.h25 struct crypto_instance;
38 void (*free)(struct crypto_instance *inst);
46 struct crypto_instance { struct
76 struct crypto_instance *inst; argument
117 struct crypto_instance *inst);
118 void crypto_unregister_instance(struct crypto_instance *inst);
120 int crypto_grab_spawn(struct crypto_spawn *spawn, struct crypto_instance *inst,
130 int crypto_inst_setname(struct crypto_instance *inst, const char *name,
189 static inline struct crypto_instance *crypto_tfm_alg_instance( in crypto_tfm_alg_instance()
192 return container_of(tfm->__crt_alg, struct crypto_instance, alg); in crypto_tfm_alg_instance()
[all …]
/Linux-v5.15/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,
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-v5.15/crypto/
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.c66 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()
871 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.h22 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.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()
427 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.c212 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-v5.15/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