Home
last modified time | relevance | path

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

/Linux-v5.4/include/crypto/
Dalgapi.h26 struct crypto_instance;
38 void (*free)(struct crypto_instance *inst);
46 struct crypto_instance { struct
60 struct crypto_instance *(*alloc)(struct rtattr **tb); argument
61 void (*free)(struct crypto_instance *inst);
70 struct crypto_instance *inst;
147 struct crypto_instance *inst);
148 int crypto_unregister_instance(struct crypto_instance *inst);
151 struct crypto_instance *inst, u32 mask);
153 struct crypto_instance *inst,
[all …]
/Linux-v5.4/include/crypto/internal/
Dhash.h78 void ahash_free_instance(struct crypto_instance *inst);
92 struct crypto_instance *inst);
107 void shash_free_instance(struct crypto_instance *inst);
111 struct crypto_instance *inst);
143 static inline struct crypto_instance *ahash_crypto_instance( in ahash_crypto_instance()
146 return container_of(&inst->alg.halg.base, struct crypto_instance, alg); in ahash_crypto_instance()
150 struct crypto_instance *inst) in ahash_instance()
204 static inline struct crypto_instance *shash_crypto_instance( in shash_crypto_instance()
207 return container_of(&inst->alg.base, struct crypto_instance, alg); in shash_crypto_instance()
211 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()
83 struct crypto_instance *inst) in crypto_set_akcipher_spawn()
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_aead_spawn *spawn, struct crypto_instance *inst) in crypto_set_aead_spawn()
Dskcipher.h24 struct crypto_instance base;
68 static inline struct crypto_instance *skcipher_crypto_instance( in skcipher_crypto_instance()
92 struct crypto_skcipher_spawn *spawn, struct crypto_instance *inst) in crypto_set_skcipher_spawn()
/Linux-v5.4/crypto/
Dalgapi.c66 static void crypto_free_instance(struct crypto_instance *inst) in crypto_free_instance()
78 struct crypto_instance *inst = (void *)alg; in crypto_destroy_instance()
107 static void crypto_remove_instance(struct crypto_instance *inst, in crypto_remove_instance()
150 struct crypto_instance *inst; in crypto_remove_spawns()
498 struct crypto_instance *inst; in crypto_unregister_template()
561 struct crypto_instance *inst) in crypto_register_instance()
597 int crypto_unregister_instance(struct crypto_instance *inst) in crypto_unregister_instance()
615 struct crypto_instance *inst, u32 mask) in crypto_init_spawn()
638 struct crypto_instance *inst, in crypto_init_spawn2()
844 int crypto_inst_setname(struct crypto_instance *inst, const char *name, in crypto_inst_setname()
[all …]
Dseqiv.c21 static void seqiv_free(struct crypto_instance *inst);
187 static void seqiv_free(struct crypto_instance *inst) in seqiv_free()
Dinternal.h24 struct crypto_instance;
Dakcipher.c72 static void crypto_akcipher_free_instance(struct crypto_instance *inst) in crypto_akcipher_free_instance()
Dcryptd.c189 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in cryptd_get_queue()
207 static int cryptd_init_instance(struct crypto_instance *inst, in cryptd_init_instance()
228 struct crypto_instance *inst; in cryptd_alloc_instance()
465 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in cryptd_hash_init_tfm()
933 static void cryptd_free(struct crypto_instance *inst) in cryptd_free()
Dechainiv.c150 static void echainiv_free(struct crypto_instance *inst) in echainiv_free()
Dshash.c553 void shash_free_instance(struct crypto_instance *inst) in shash_free_instance()
562 struct crypto_instance *inst) in crypto_init_shash_spawn()
Dalgboss.c61 struct crypto_instance *inst; in cryptomgr_probe()
Dahash.c649 void ahash_free_instance(struct crypto_instance *inst) in ahash_free_instance()
658 struct crypto_instance *inst) in crypto_init_ahash_spawn()
Dhmac.c145 struct crypto_instance *inst = (void *)tfm->__crt_alg; in hmac_init_tfm()
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()
Dpcrypt.c198 static int pcrypt_init_instance(struct crypto_instance *inst, in pcrypt_init_instance()
Dcrypto_user_base.c324 err = crypto_unregister_instance((struct crypto_instance *)alg); in crypto_del_alg()
Daead.c189 static void crypto_aead_free_instance(struct crypto_instance *inst) in crypto_aead_free_instance()
Dessiv.c463 struct crypto_instance *inst; in essiv_create()
Dvmac.c600 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in vmac_init_tfm()
Dccm.c898 struct crypto_instance *inst = (void *)tfm->__crt_alg; in cbcmac_init_tfm()
Dskcipher.c914 static void crypto_skcipher_free_instance(struct crypto_instance *inst) in crypto_skcipher_free_instance()
/Linux-v5.4/Documentation/dev-tools/
Dcoccinelle.rst414 @@ -185,7 +185,7 @@ static struct crypto_instance *crypto_ct
459 @@ -185,7 +185,6 @@ static struct crypto_instance *crypto_ct