/linux/include/crypto/ |
H A D | algapi.h | 50 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 D | sig.h | 18 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 D | akcipher.h | 18 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 D | aead.h | 23 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 D | skcipher.h | 33 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 D | hash.h | 53 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 D | kpp.h | 25 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 D | cipher.h | 186 struct crypto_instance *inst, in crypto_grab_cipher()
|
/linux/crypto/ |
H A D | kpp.c | 62 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 D | sig.c | 40 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 D | internal.h | 25 struct crypto_instance; 42 void (*free)(struct crypto_instance *inst);
|
H A D | akcipher.c | 79 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 D | aead.c | 168 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 D | xcbc.c | 108 struct crypto_instance *inst = (void *)tfm->__crt_alg; in xcbc_init_tfm()
|
H A D | shash.c | 326 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 D | skcipher.c | 314 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 D | lskcipher.c | 241 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 D | pcrypt.c | 221 static int pcrypt_init_instance(struct crypto_instance *inst, in pcrypt_init_instance()
|
H A D | crypto_user.c | 309 crypto_unregister_instance((struct crypto_instance *)alg); in crypto_del_alg()
|
H A D | cryptd.c | 195 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 D | essiv.c | 450 struct crypto_instance *inst; in essiv_create()
|
H A D | ccm.c | 828 struct crypto_instance *inst = (void *)tfm->__crt_alg; in cbcmac_init_tfm()
|
/linux/Documentation/dev-tools/ |
H A D | coccinelle.rst | 420 @@ -185,7 +185,7 @@ static struct crypto_instance *crypto_ct 465 @@ -185,7 +185,6 @@ static struct crypto_instance *crypto_ct
|