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
136 struct crypto_instance *inst);
137 void crypto_unregister_instance(struct crypto_instance *inst);
139 int crypto_grab_spawn(struct crypto_spawn *spawn, struct crypto_instance *inst,
149 int __crypto_inst_setname(struct crypto_instance *inst, const char *name,
202 static inline struct crypto_instance *crypto_tfm_alg_instance( in crypto_tfm_alg_instance()
205 return container_of(tfm->__crt_alg, struct crypto_instance, alg); in crypto_tfm_alg_instance()
208 static inline void *crypto_instance_ctx(struct crypto_instance *ins
60 algcrypto_instance global() argument
62 tmplcrypto_instance global() argument
64 __anondbbaa785010acrypto_instance global() argument
[all...]
/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 Dskcipher.h33 struct crypto_instance base;
44 struct crypto_instance base;
58 static inline struct crypto_instance *skcipher_crypto_instance( in skcipher_crypto_instance()
64 static inline struct crypto_instance *lskcipher_crypto_instance( in lskcipher_crypto_instance()
100 struct crypto_instance *inst,
104 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;
101 * generic &struct crypto_instance.
103 * Return: A pointer to the &struct crypto_instance embedded in @inst.
105 static inline struct crypto_instance *kpp_crypto_instance( in kpp_crypto_instance()
112 * kpp_instance() - Cast a generic &struct crypto_instance to the corresponding
114 * @inst: Pointer to the &struct crypto_instance to be cast.
117 static inline struct kpp_instance *kpp_instance(struct crypto_instance *inst) in kpp_instance()
197 struct crypto_instance *inst,
H A Dcipher.h186 struct crypto_instance *inst, in crypto_grab_cipher()
/linux/crypto/
H A Dkpp.c62 static void crypto_kpp_free_instance(struct crypto_instance *inst) in crypto_kpp_free_instance()
93 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 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()
104 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()
378 struct crypto_instance *inst, in crypto_grab_shash()
H A Dskcipher.c314 static void crypto_skcipher_free_instance(struct crypto_instance *inst) in crypto_skcipher_free_instance()
378 struct crypto_instance *inst, in crypto_grab_skcipher()
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 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 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.c450 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.rst420 @@ -185,7 +185,7 @@ static struct crypto_instance *crypto_ct
465 @@ -185,7 +185,6 @@ static struct crypto_instance *crypto_ct