Home
last modified time | relevance | path

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

/linux/include/crypto/
H A Dalgapi.h50 struct crypto_instance;
59 struct crypto_instance { struct
92 struct crypto_instance *inst; argument
148 struct crypto_instance *inst);
149 void crypto_unregister_instance(struct crypto_instance *inst);
151 int crypto_grab_spawn(struct crypto_spawn *spawn, struct crypto_instance *inst,
161 int __crypto_inst_setname(struct crypto_instance *inst, const char *name,
214 static inline struct crypto_instance *crypto_tfm_alg_instance( in crypto_tfm_alg_instance()
217 return container_of(tfm->__crt_alg, struct crypto_instance, alg); in crypto_tfm_alg_instance()
220 static inline void *crypto_instance_ctx(struct crypto_instance *inst) in crypto_instance_ctx()
/linux/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 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 Dhash.h53 struct crypto_instance base;
64 struct crypto_instance base;
124 struct crypto_instance *inst,
147 struct crypto_instance *inst,
213 static inline struct crypto_instance *ahash_crypto_instance( in ahash_crypto_instance()
220 struct crypto_instance *inst) in ahash_instance()
279 static inline struct crypto_instance *shash_crypto_instance( in shash_crypto_instance()
286 struct crypto_instance *inst) in shash_instance()
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;
98 static inline struct crypto_instance *skcipher_crypto_instance( in skcipher_crypto_instance()
104 static inline struct crypto_instance *lskcipher_crypto_instance( in lskcipher_crypto_instance()
140 struct crypto_instance *inst,
144 struct crypto_instance *inst,
H A Dcipher.h186 struct crypto_instance *inst, in crypto_grab_cipher()
/linux/crypto/
H A Dkpp.c60 static void crypto_kpp_free_instance(struct crypto_instance *inst) in crypto_kpp_free_instance()
91 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()
173 struct crypto_instance *inst, in crypto_grab_sig()
H A Dakcipher.c77 static void crypto_akcipher_free_instance(struct crypto_instance *inst) in crypto_akcipher_free_instance()
102 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()
193 struct crypto_instance *inst, in crypto_grab_aead()
H A Dxcbc.c108 struct crypto_instance *inst = (void *)tfm->__crt_alg; in xcbc_init_tfm()
H A Dshash.c326 static void crypto_shash_free_instance(struct crypto_instance *inst) in crypto_shash_free_instance()
377 struct crypto_instance *inst, in crypto_grab_shash()
H A Dlskcipher.c241 static void crypto_lskcipher_free_instance(struct crypto_instance *inst) in crypto_lskcipher_free_instance()
329 struct crypto_instance *inst, in crypto_grab_lskcipher()
H A Dskcipher.c565 static void crypto_skcipher_free_instance(struct crypto_instance *inst) in crypto_skcipher_free_instance()
628 struct crypto_instance *inst, in crypto_grab_skcipher()
H A Dpcrypt.c221 static int pcrypt_init_instance(struct crypto_instance *inst, in pcrypt_init_instance()
H A Dcrypto_user.c309 crypto_unregister_instance((struct crypto_instance *)alg); in crypto_del_alg()
H A Dahash.c782 static void crypto_ahash_free_instance(struct crypto_instance *inst) in crypto_ahash_free_instance()
833 struct crypto_instance *inst, in crypto_grab_ahash()
H A Dcryptd.c195 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in cryptd_get_queue()
216 static int cryptd_init_instance(struct crypto_instance *inst, in cryptd_init_instance()
H A Dessiv.c448 struct crypto_instance *inst; in essiv_create()
H A Dccm.c828 struct crypto_instance *inst = (void *)tfm->__crt_alg; in cbcmac_init_tfm()
/linux/Documentation/dev-tools/
H A Dcoccinelle.rst431 @@ -185,7 +185,7 @@ static struct crypto_instance *crypto_ct
476 @@ -185,7 +185,6 @@ static struct crypto_instance *crypto_ct