Home
last modified time | relevance | path

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

/linux-4.4.14/include/crypto/internal/
Dhash.h84 void ahash_free_instance(struct crypto_instance *inst);
88 struct crypto_instance *inst);
103 void shash_free_instance(struct crypto_instance *inst);
107 struct crypto_instance *inst);
148 static inline struct crypto_instance *ahash_crypto_instance( in ahash_crypto_instance()
151 return container_of(&inst->alg.halg.base, struct crypto_instance, alg); in ahash_crypto_instance()
155 struct crypto_instance *inst) in ahash_instance()
205 static inline struct crypto_instance *shash_crypto_instance( in shash_crypto_instance()
208 return container_of(&inst->alg.base, struct crypto_instance, alg); in shash_crypto_instance()
212 struct crypto_instance *inst) in shash_instance()
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()
84 struct crypto_aead_spawn *spawn, struct crypto_instance *inst) in crypto_set_aead_spawn()
Dskcipher.h29 struct crypto_skcipher_spawn *spawn, struct crypto_instance *inst) in crypto_set_skcipher_spawn()
62 struct crypto_instance *skcipher_geniv_alloc(struct crypto_template *tmpl,
65 void skcipher_geniv_free(struct crypto_instance *inst);
/linux-4.4.14/include/crypto/
Dalgapi.h21 struct crypto_instance;
34 void (*free)(struct crypto_instance *inst);
42 struct crypto_instance { struct
56 struct crypto_instance *(*alloc)(struct rtattr **tb); argument
57 void (*free)(struct crypto_instance *inst);
66 struct crypto_instance *inst;
141 struct crypto_instance *inst);
142 int crypto_unregister_instance(struct crypto_instance *inst);
145 struct crypto_instance *inst, u32 mask);
147 struct crypto_instance *inst,
[all …]
/linux-4.4.14/arch/x86/crypto/
Dfpu.c83 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in crypto_fpu_init_tfm()
102 static struct crypto_instance *crypto_fpu_alloc(struct rtattr **tb) in crypto_fpu_alloc()
104 struct crypto_instance *inst; in crypto_fpu_alloc()
141 static void crypto_fpu_free(struct crypto_instance *inst) in crypto_fpu_free()
/linux-4.4.14/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()
Dctr.c160 struct crypto_instance *inst = (void *)tfm->__crt_alg; in crypto_ctr_init_tfm()
181 static struct crypto_instance *crypto_ctr_alloc(struct rtattr **tb) in crypto_ctr_alloc()
183 struct crypto_instance *inst; in crypto_ctr_alloc()
239 static void crypto_ctr_free(struct crypto_instance *inst) in crypto_ctr_free()
308 struct crypto_instance *inst = (void *)tfm->__crt_alg; in crypto_rfc3686_init_tfm()
336 static struct crypto_instance *crypto_rfc3686_alloc(struct rtattr **tb) in crypto_rfc3686_alloc()
339 struct crypto_instance *inst; in crypto_rfc3686_alloc()
423 static void crypto_rfc3686_free(struct crypto_instance *inst) in crypto_rfc3686_free()
Dalgapi.c70 static void crypto_free_instance(struct crypto_instance *inst) in crypto_free_instance()
82 struct crypto_instance *inst = (void *)alg; in crypto_destroy_instance()
112 static void crypto_remove_instance(struct crypto_instance *inst, in crypto_remove_instance()
156 struct crypto_instance *inst; in crypto_remove_spawns()
471 struct crypto_instance *inst; in crypto_unregister_template()
527 struct crypto_instance *inst) in crypto_register_instance()
571 int crypto_unregister_instance(struct crypto_instance *inst) in crypto_unregister_instance()
589 struct crypto_instance *inst, u32 mask) in crypto_init_spawn()
609 struct crypto_instance *inst, in crypto_init_spawn2()
818 struct crypto_instance *inst; in crypto_alloc_instance2()
[all …]
Dkeywrap.c323 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in crypto_kw_init_tfm()
343 static struct crypto_instance *crypto_kw_alloc(struct rtattr **tb) in crypto_kw_alloc()
345 struct crypto_instance *inst = NULL; in crypto_kw_alloc()
390 static void crypto_kw_free(struct crypto_instance *inst) in crypto_kw_free()
Dpcbc.c205 struct crypto_instance *inst = (void *)tfm->__crt_alg; in crypto_pcbc_init_tfm()
224 static struct crypto_instance *crypto_pcbc_alloc(struct rtattr **tb) in crypto_pcbc_alloc()
226 struct crypto_instance *inst; in crypto_pcbc_alloc()
270 static void crypto_pcbc_free(struct crypto_instance *inst) in crypto_pcbc_free()
Dcbc.c195 struct crypto_instance *inst = (void *)tfm->__crt_alg; in crypto_cbc_init_tfm()
214 static struct crypto_instance *crypto_cbc_alloc(struct rtattr **tb) in crypto_cbc_alloc()
216 struct crypto_instance *inst; in crypto_cbc_alloc()
264 static void crypto_cbc_free(struct crypto_instance *inst) in crypto_cbc_free()
Dxts.c244 struct crypto_instance *inst = (void *)tfm->__crt_alg; in init_tfm()
287 static struct crypto_instance *alloc(struct rtattr **tb) in alloc()
289 struct crypto_instance *inst; in alloc()
337 static void free(struct crypto_instance *inst) in free()
Dcts.c255 struct crypto_instance *inst = (void *)tfm->__crt_alg; in crypto_cts_init_tfm()
274 static struct crypto_instance *crypto_cts_alloc(struct rtattr **tb) in crypto_cts_alloc()
276 struct crypto_instance *inst; in crypto_cts_alloc()
327 static void crypto_cts_free(struct crypto_instance *inst) in crypto_cts_free()
Dlrw.c299 struct crypto_instance *inst = (void *)tfm->__crt_alg; in init_tfm()
326 static struct crypto_instance *alloc(struct rtattr **tb) in alloc()
328 struct crypto_instance *inst; in alloc()
375 static void free(struct crypto_instance *inst) in free()
Deseqiv.c192 static struct crypto_instance *eseqiv_alloc(struct rtattr **tb) in eseqiv_alloc()
194 struct crypto_instance *inst; in eseqiv_alloc()
Dseqiv.c33 static void seqiv_free(struct crypto_instance *inst);
256 struct crypto_instance *inst; in seqiv_ablkcipher_create()
347 static void seqiv_free(struct crypto_instance *inst) in seqiv_free()
Dcryptd.c166 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in cryptd_get_queue()
274 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in cryptd_blkcipher_init_tfm()
297 static int cryptd_init_instance(struct crypto_instance *inst, in cryptd_init_instance()
318 struct crypto_instance *inst; in cryptd_alloc_instance()
345 struct crypto_instance *inst; in cryptd_create_blkcipher()
405 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in cryptd_hash_init_tfm()
853 static void cryptd_free(struct crypto_instance *inst) in cryptd_free()
Dmcryptd.c222 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in mcryptd_get_queue()
232 struct crypto_instance *inst; in mcryptd_alloc_instance()
277 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); in mcryptd_hash_init_tfm()
574 static void mcryptd_free(struct crypto_instance *inst) in mcryptd_free()
Dchainiv.c262 static struct crypto_instance *chainiv_alloc(struct rtattr **tb) in chainiv_alloc()
265 struct crypto_instance *inst; in chainiv_alloc()
Dinternal.h38 struct crypto_instance;
Dblkcipher.c581 struct crypto_instance *skcipher_geniv_alloc(struct crypto_template *tmpl, in skcipher_geniv_alloc()
600 struct crypto_instance *inst; in skcipher_geniv_alloc()
714 void skcipher_geniv_free(struct crypto_instance *inst) in skcipher_geniv_free()
723 struct crypto_instance *inst = (void *)tfm->__crt_alg; in skcipher_geniv_init()
Dpcrypt.c257 static int pcrypt_init_instance(struct crypto_instance *inst, in pcrypt_init_instance()
352 static void pcrypt_free(struct crypto_instance *inst) in pcrypt_free()
Dahash.c594 void ahash_free_instance(struct crypto_instance *inst) in ahash_free_instance()
603 struct crypto_instance *inst) in crypto_init_ahash_spawn()
Dechainiv.c223 static void echainiv_free(struct crypto_instance *inst) in echainiv_free()
Dxcbc.c180 struct crypto_instance *inst = (void *)tfm->__crt_alg; in xcbc_init_tfm()
Dalgboss.c66 struct crypto_instance *inst; in cryptomgr_probe()
Dcmac.c206 struct crypto_instance *inst = (void *)tfm->__crt_alg; in cmac_init_tfm()
Dhmac.c160 struct crypto_instance *inst = (void *)tfm->__crt_alg; in hmac_init_tfm()
Dshash.c679 void shash_free_instance(struct crypto_instance *inst) in shash_free_instance()
688 struct crypto_instance *inst) in crypto_init_shash_spawn()
Daead.c149 static void crypto_aead_free_instance(struct crypto_instance *inst) in crypto_aead_free_instance()
Dcrypto_user.c354 err = crypto_unregister_instance((struct crypto_instance *)alg); in crypto_del_alg()
Dablkcipher.c543 struct crypto_instance *inst; in crypto_givcipher_default()
Dvmac.c625 struct crypto_instance *inst = (void *)tfm->__crt_alg; in vmac_init_tfm()
/linux-4.4.14/Documentation/
Dcoccinelle.txt237 @@ -185,7 +185,7 @@ static struct crypto_instance *crypto_ct
280 @@ -185,7 +185,6 @@ static struct crypto_instance *crypto_ct