Home
last modified time | relevance | path

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

12

/linux-4.19.296/include/crypto/
Dalgapi.h29 struct crypto_instance;
41 void (*free)(struct crypto_instance *inst);
49 struct crypto_instance { struct
63 struct crypto_instance *(*alloc)(struct rtattr **tb); argument
64 void (*free)(struct crypto_instance *inst);
73 struct crypto_instance *inst;
148 struct crypto_instance *inst);
149 int crypto_unregister_instance(struct crypto_instance *inst);
152 struct crypto_instance *inst, u32 mask);
154 struct crypto_instance *inst,
[all …]
/linux-4.19.296/include/crypto/internal/
Dhash.h83 void ahash_free_instance(struct crypto_instance *inst);
91 struct crypto_instance *inst);
106 void shash_free_instance(struct crypto_instance *inst);
110 struct crypto_instance *inst);
142 static inline struct crypto_instance *ahash_crypto_instance( in ahash_crypto_instance()
145 return container_of(&inst->alg.halg.base, struct crypto_instance, alg); in ahash_crypto_instance()
149 struct crypto_instance *inst) in ahash_instance()
209 static inline struct crypto_instance *shash_crypto_instance( in shash_crypto_instance()
212 return container_of(&inst->alg.base, struct crypto_instance, alg); in shash_crypto_instance()
216 struct crypto_instance *inst) in shash_instance()
Dakcipher.h23 struct crypto_instance base;
63 static inline struct crypto_instance *akcipher_crypto_instance( in akcipher_crypto_instance()
66 return container_of(&inst->alg.base, struct crypto_instance, alg); in akcipher_crypto_instance()
70 struct crypto_instance *inst) in akcipher_instance()
88 struct crypto_instance *inst) in crypto_set_akcipher_spawn()
Daead.h28 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()
90 struct crypto_aead_spawn *spawn, struct crypto_instance *inst) in crypto_set_aead_spawn()
Dskcipher.h29 struct crypto_instance base;
75 static inline struct crypto_instance *skcipher_crypto_instance( in skcipher_crypto_instance()
99 struct crypto_skcipher_spawn *spawn, struct crypto_instance *inst) in crypto_set_skcipher_spawn()
/linux-4.19.296/crypto/
Decb.c99 struct crypto_instance *inst = (void *)tfm->__crt_alg; in crypto_ecb_init_tfm()
118 static struct crypto_instance *crypto_ecb_alloc(struct rtattr **tb) in crypto_ecb_alloc()
120 struct crypto_instance *inst; in crypto_ecb_alloc()
160 static void crypto_ecb_free(struct crypto_instance *inst) in crypto_ecb_free()
Dalgapi.c80 static void crypto_free_instance(struct crypto_instance *inst) in crypto_free_instance()
92 struct crypto_instance *inst = (void *)alg; in crypto_destroy_instance()
121 static void crypto_remove_instance(struct crypto_instance *inst, in crypto_remove_instance()
164 struct crypto_instance *inst; in crypto_remove_spawns()
490 struct crypto_instance *inst; in crypto_unregister_template()
544 struct crypto_instance *inst) in crypto_register_instance()
580 int crypto_unregister_instance(struct crypto_instance *inst) in crypto_unregister_instance()
598 struct crypto_instance *inst, u32 mask) in crypto_init_spawn()
618 struct crypto_instance *inst, in crypto_init_spawn2()
816 int crypto_inst_setname(struct crypto_instance *inst, const char *name, in crypto_inst_setname()
[all …]
Dkeywrap.c291 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in crypto_kw_init_tfm()
311 static struct crypto_instance *crypto_kw_alloc(struct rtattr **tb) in crypto_kw_alloc()
313 struct crypto_instance *inst = NULL; in crypto_kw_alloc()
358 static void crypto_kw_free(struct crypto_instance *inst) in crypto_kw_free()
Dctr.c159 struct crypto_instance *inst = (void *)tfm->__crt_alg; in crypto_ctr_init_tfm()
180 static struct crypto_instance *crypto_ctr_alloc(struct rtattr **tb) in crypto_ctr_alloc()
182 struct crypto_instance *inst; in crypto_ctr_alloc()
247 static void crypto_ctr_free(struct crypto_instance *inst) in crypto_ctr_free()
Dseqiv.c26 static void seqiv_free(struct crypto_instance *inst);
193 static void seqiv_free(struct crypto_instance *inst) in seqiv_free()
Dmcryptd.c215 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in mcryptd_get_queue()
225 struct crypto_instance *inst; in mcryptd_alloc_instance()
274 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in mcryptd_hash_init_tfm()
571 static void mcryptd_free(struct crypto_instance *inst) in mcryptd_free()
Dcryptd.c201 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in cryptd_get_queue()
319 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in cryptd_blkcipher_init_tfm()
342 static int cryptd_init_instance(struct crypto_instance *inst, in cryptd_init_instance()
363 struct crypto_instance *inst; in cryptd_alloc_instance()
390 struct crypto_instance *inst; in cryptd_create_blkcipher()
661 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in cryptd_hash_init_tfm()
1136 static void cryptd_free(struct crypto_instance *inst) in cryptd_free()
Dakcipher.c80 static void crypto_akcipher_free_instance(struct crypto_instance *inst) in crypto_akcipher_free_instance()
Dinternal.h35 struct crypto_instance;
Dechainiv.c155 static void echainiv_free(struct crypto_instance *inst) in echainiv_free()
Dahash.c636 void ahash_free_instance(struct crypto_instance *inst) in ahash_free_instance()
645 struct crypto_instance *inst) in crypto_init_ahash_spawn()
Dalgboss.c66 struct crypto_instance *inst; in cryptomgr_probe()
Dshash.c573 void shash_free_instance(struct crypto_instance *inst) in shash_free_instance()
582 struct crypto_instance *inst) in crypto_init_shash_spawn()
Dxcbc.c179 struct crypto_instance *inst = (void *)tfm->__crt_alg; in xcbc_init_tfm()
Dhmac.c161 struct crypto_instance *inst = (void *)tfm->__crt_alg; in hmac_init_tfm()
Dcmac.c208 struct crypto_instance *inst = (void *)tfm->__crt_alg; in cmac_init_tfm()
Daead.c161 static void crypto_aead_free_instance(struct crypto_instance *inst) in crypto_aead_free_instance()
Dpcrypt.c268 static int pcrypt_init_instance(struct crypto_instance *inst, in pcrypt_init_instance()
Dcrypto_user.c401 err = crypto_unregister_instance((struct crypto_instance *)alg); in crypto_del_alg()
Dvmac.c600 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in vmac_init_tfm()

12