Home
last modified time | relevance | path

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

/Linux-v5.10/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
108 struct crypto_instance *inst);
109 void crypto_unregister_instance(struct crypto_instance *inst);
111 int crypto_grab_spawn(struct crypto_spawn *spawn, struct crypto_instance *inst,
122 int crypto_inst_setname(struct crypto_instance *inst, const char *name,
181 static inline struct crypto_instance *crypto_tfm_alg_instance( in crypto_tfm_alg_instance()
184 return container_of(tfm->__crt_alg, struct crypto_instance, alg); in crypto_tfm_alg_instance()
[all …]
/Linux-v5.10/include/crypto/internal/
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,
Dhash.h37 struct crypto_instance base;
48 struct crypto_instance base;
95 struct crypto_instance *inst,
118 struct crypto_instance *inst,
155 static inline struct crypto_instance *ahash_crypto_instance( in ahash_crypto_instance()
162 struct crypto_instance *inst) in ahash_instance()
211 static inline struct crypto_instance *shash_crypto_instance( in shash_crypto_instance()
218 struct crypto_instance *inst) in shash_instance()
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.h24 struct crypto_instance base;
68 static inline struct crypto_instance *skcipher_crypto_instance( in skcipher_crypto_instance()
92 struct crypto_instance *inst,
/Linux-v5.10/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()
889 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.c442 static void crypto_shash_free_instance(struct crypto_instance *inst) in crypto_shash_free_instance()
497 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.c169 struct crypto_instance *inst = (void *)tfm->__crt_alg; in xcbc_init_tfm()
Dcmac.c203 struct crypto_instance *inst = (void *)tfm->__crt_alg; in cmac_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()
Dpcrypt.c212 static int pcrypt_init_instance(struct crypto_instance *inst, in pcrypt_init_instance()
Dskcipher.c682 static void crypto_skcipher_free_instance(struct crypto_instance *inst) in crypto_skcipher_free_instance()
750 struct crypto_instance *inst, in crypto_grab_skcipher()
Dcrypto_user_base.c326 crypto_unregister_instance((struct crypto_instance *)alg); in crypto_del_alg()
Dessiv.c444 struct crypto_instance *inst; in essiv_create()
Dvmac.c598 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-v5.10/Documentation/dev-tools/
Dcoccinelle.rst421 @@ -185,7 +185,7 @@ static struct crypto_instance *crypto_ct
466 @@ -185,7 +185,6 @@ static struct crypto_instance *crypto_ct