Searched refs:crypto_instance (Results 1 - 35 of 35) sorted by relevance

/linux-4.1.27/include/crypto/internal/
H A 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( ahash_crypto_instance()
151 return container_of(&inst->alg.halg.base, struct crypto_instance, alg); ahash_crypto_instance()
155 struct crypto_instance *inst) ahash_instance()
205 static inline struct crypto_instance *shash_crypto_instance( shash_crypto_instance()
208 return container_of(&inst->alg.base, struct crypto_instance, alg); shash_crypto_instance()
212 struct crypto_instance *inst) shash_instance()
H A Daead.h29 struct crypto_aead_spawn *spawn, struct crypto_instance *inst) crypto_set_aead_spawn()
58 struct crypto_instance *aead_geniv_alloc(struct crypto_template *tmpl,
61 void aead_geniv_free(struct crypto_instance *inst);
H A Dskcipher.h29 struct crypto_skcipher_spawn *spawn, struct crypto_instance *inst) 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.1.27/include/crypto/
H A Dalgapi.h39 struct crypto_instance { struct
53 struct crypto_instance *(*alloc)(struct rtattr **tb);
54 void (*free)(struct crypto_instance *inst);
63 struct crypto_instance *inst;
139 struct crypto_instance *inst);
140 int crypto_unregister_instance(struct crypto_instance *inst);
143 struct crypto_instance *inst, u32 mask);
145 struct crypto_instance *inst,
154 struct crypto_instance *inst) crypto_set_spawn()
175 struct crypto_instance *crypto_alloc_instance(const char *name,
215 static inline struct crypto_instance *crypto_tfm_alg_instance( crypto_tfm_alg_instance()
218 return container_of(tfm->__crt_alg, struct crypto_instance, alg); crypto_tfm_alg_instance()
221 static inline void *crypto_instance_ctx(struct crypto_instance *inst) crypto_instance_ctx()
252 static inline struct crypto_instance *crypto_aead_alg_instance( crypto_aead_alg_instance()
/linux-4.1.27/arch/x86/crypto/
H A Dfpu.c83 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); crypto_fpu_init_tfm()
102 static struct crypto_instance *crypto_fpu_alloc(struct rtattr **tb) crypto_fpu_alloc()
104 struct crypto_instance *inst; crypto_fpu_alloc()
141 static void crypto_fpu_free(struct crypto_instance *inst) crypto_fpu_free()
/linux-4.1.27/crypto/
H A Dseqiv.c261 static struct crypto_instance *seqiv_ablkcipher_alloc(struct rtattr **tb) seqiv_ablkcipher_alloc()
263 struct crypto_instance *inst; seqiv_ablkcipher_alloc()
287 static struct crypto_instance *seqiv_aead_alloc(struct rtattr **tb) seqiv_aead_alloc()
289 struct crypto_instance *inst; seqiv_aead_alloc()
313 static struct crypto_instance *seqiv_alloc(struct rtattr **tb) seqiv_alloc()
316 struct crypto_instance *inst; seqiv_alloc()
346 static void seqiv_free(struct crypto_instance *inst) seqiv_free()
H A Decb.c99 struct crypto_instance *inst = (void *)tfm->__crt_alg; crypto_ecb_init_tfm()
118 static struct crypto_instance *crypto_ecb_alloc(struct rtattr **tb) crypto_ecb_alloc()
120 struct crypto_instance *inst; crypto_ecb_alloc()
160 static void crypto_ecb_free(struct crypto_instance *inst) crypto_ecb_free()
H A Dctr.c160 struct crypto_instance *inst = (void *)tfm->__crt_alg; crypto_ctr_init_tfm()
181 static struct crypto_instance *crypto_ctr_alloc(struct rtattr **tb) crypto_ctr_alloc()
183 struct crypto_instance *inst; crypto_ctr_alloc()
239 static void crypto_ctr_free(struct crypto_instance *inst) crypto_ctr_free()
308 struct crypto_instance *inst = (void *)tfm->__crt_alg; crypto_rfc3686_init_tfm()
336 static struct crypto_instance *crypto_rfc3686_alloc(struct rtattr **tb) crypto_rfc3686_alloc()
339 struct crypto_instance *inst; crypto_rfc3686_alloc()
423 static void crypto_rfc3686_free(struct crypto_instance *inst) crypto_rfc3686_free()
H A Dalgapi.c74 struct crypto_instance *inst = (void *)alg; crypto_destroy_instance()
104 static void crypto_remove_instance(struct crypto_instance *inst, crypto_remove_instance()
148 struct crypto_instance *inst;
463 struct crypto_instance *inst; crypto_unregister_template()
519 struct crypto_instance *inst) crypto_register_instance()
563 int crypto_unregister_instance(struct crypto_instance *inst) crypto_unregister_instance()
581 struct crypto_instance *inst, u32 mask) crypto_init_spawn()
601 struct crypto_instance *inst, crypto_init_spawn2()
794 struct crypto_instance *inst; crypto_alloc_instance2()
822 struct crypto_instance *crypto_alloc_instance(const char *name, crypto_alloc_instance()
825 struct crypto_instance *inst; crypto_alloc_instance()
H A Dcbc.c195 struct crypto_instance *inst = (void *)tfm->__crt_alg; crypto_cbc_init_tfm()
214 static struct crypto_instance *crypto_cbc_alloc(struct rtattr **tb) crypto_cbc_alloc()
216 struct crypto_instance *inst; crypto_cbc_alloc()
264 static void crypto_cbc_free(struct crypto_instance *inst) crypto_cbc_free()
H A Dlrw.c299 struct crypto_instance *inst = (void *)tfm->__crt_alg; init_tfm()
326 static struct crypto_instance *alloc(struct rtattr **tb) alloc()
328 struct crypto_instance *inst; alloc()
375 static void free(struct crypto_instance *inst) free()
H A Dpcbc.c205 struct crypto_instance *inst = (void *)tfm->__crt_alg; crypto_pcbc_init_tfm()
224 static struct crypto_instance *crypto_pcbc_alloc(struct rtattr **tb) crypto_pcbc_alloc()
226 struct crypto_instance *inst; crypto_pcbc_alloc()
270 static void crypto_pcbc_free(struct crypto_instance *inst) crypto_pcbc_free()
H A Dxts.c244 struct crypto_instance *inst = (void *)tfm->__crt_alg; init_tfm()
287 static struct crypto_instance *alloc(struct rtattr **tb) alloc()
289 struct crypto_instance *inst; alloc()
337 static void free(struct crypto_instance *inst) free()
H A Dpcrypt.c276 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); pcrypt_aead_init_tfm()
309 static struct crypto_instance *pcrypt_alloc_instance(struct crypto_alg *alg) pcrypt_alloc_instance()
311 struct crypto_instance *inst; pcrypt_alloc_instance()
347 static struct crypto_instance *pcrypt_alloc_aead(struct rtattr **tb, pcrypt_alloc_aead()
350 struct crypto_instance *inst; pcrypt_alloc_aead()
384 static struct crypto_instance *pcrypt_alloc(struct rtattr **tb) pcrypt_alloc()
400 static void pcrypt_free(struct crypto_instance *inst) pcrypt_free()
H A Dccm.c434 struct crypto_instance *inst = (void *)tfm->__crt_alg; crypto_ccm_init_tfm()
475 static struct crypto_instance *crypto_ccm_alloc_common(struct rtattr **tb, crypto_ccm_alloc_common()
481 struct crypto_instance *inst; crypto_ccm_alloc_common()
573 static struct crypto_instance *crypto_ccm_alloc(struct rtattr **tb) crypto_ccm_alloc()
594 static void crypto_ccm_free(struct crypto_instance *inst) crypto_ccm_free()
610 static struct crypto_instance *crypto_ccm_base_alloc(struct rtattr **tb) crypto_ccm_base_alloc()
718 struct crypto_instance *inst = (void *)tfm->__crt_alg; crypto_rfc4309_init_tfm()
747 static struct crypto_instance *crypto_rfc4309_alloc(struct rtattr **tb) crypto_rfc4309_alloc()
750 struct crypto_instance *inst; crypto_rfc4309_alloc()
831 static void crypto_rfc4309_free(struct crypto_instance *inst) crypto_rfc4309_free()
H A Dgcm.c653 struct crypto_instance *inst = (void *)tfm->__crt_alg; crypto_gcm_init_tfm()
697 static struct crypto_instance *crypto_gcm_alloc_common(struct rtattr **tb, crypto_gcm_alloc_common()
703 struct crypto_instance *inst; crypto_gcm_alloc_common()
793 static struct crypto_instance *crypto_gcm_alloc(struct rtattr **tb) crypto_gcm_alloc()
814 static void crypto_gcm_free(struct crypto_instance *inst) crypto_gcm_free()
830 static struct crypto_instance *crypto_gcm_base_alloc(struct rtattr **tb) crypto_gcm_base_alloc()
935 struct crypto_instance *inst = (void *)tfm->__crt_alg; crypto_rfc4106_init_tfm()
964 static struct crypto_instance *crypto_rfc4106_alloc(struct rtattr **tb) crypto_rfc4106_alloc()
967 struct crypto_instance *inst; crypto_rfc4106_alloc()
1048 static void crypto_rfc4106_free(struct crypto_instance *inst) crypto_rfc4106_free()
1236 struct crypto_instance *inst = (void *)tfm->__crt_alg; crypto_rfc4543_init_tfm()
1279 static struct crypto_instance *crypto_rfc4543_alloc(struct rtattr **tb) crypto_rfc4543_alloc()
1282 struct crypto_instance *inst; crypto_rfc4543_alloc()
1375 static void crypto_rfc4543_free(struct crypto_instance *inst) crypto_rfc4543_free()
H A Dcryptd.c166 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); cryptd_get_queue()
275 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); cryptd_blkcipher_init_tfm()
302 struct crypto_instance *inst; cryptd_alloc_instance()
336 struct crypto_instance *inst; cryptd_create_blkcipher()
396 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); cryptd_hash_init_tfm()
720 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); cryptd_aead_init_tfm()
747 struct crypto_instance *inst; cryptd_create_aead()
823 static void cryptd_free(struct crypto_instance *inst) cryptd_free()
H A Dcts.c255 struct crypto_instance *inst = (void *)tfm->__crt_alg; crypto_cts_init_tfm()
274 static struct crypto_instance *crypto_cts_alloc(struct rtattr **tb) crypto_cts_alloc()
276 struct crypto_instance *inst; crypto_cts_alloc()
327 static void crypto_cts_free(struct crypto_instance *inst) crypto_cts_free()
H A Dchainiv.c287 static struct crypto_instance *chainiv_alloc(struct rtattr **tb) chainiv_alloc()
290 struct crypto_instance *inst; chainiv_alloc()
334 static void chainiv_free(struct crypto_instance *inst) chainiv_free()
H A Deseqiv.c206 static struct crypto_instance *eseqiv_alloc(struct rtattr **tb) eseqiv_alloc()
208 struct crypto_instance *inst; eseqiv_alloc()
242 static void eseqiv_free(struct crypto_instance *inst) eseqiv_free()
H A Daead.c272 struct crypto_instance *aead_geniv_alloc(struct crypto_template *tmpl, aead_geniv_alloc()
279 struct crypto_instance *inst; aead_geniv_alloc()
367 void aead_geniv_free(struct crypto_instance *inst) aead_geniv_free()
376 struct crypto_instance *inst = (void *)tfm->__crt_alg; aead_geniv_init()
408 struct crypto_instance *inst; crypto_nivaead_default()
H A Dinternal.h39 struct crypto_instance;
H A Dmcryptd.c222 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); mcryptd_get_queue()
232 struct crypto_instance *inst; mcryptd_alloc_instance()
277 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); mcryptd_hash_init_tfm()
574 static void mcryptd_free(struct crypto_instance *inst) mcryptd_free()
H A Dauthenc.c549 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); crypto_authenc_init_tfm()
596 static struct crypto_instance *crypto_authenc_alloc(struct rtattr **tb) crypto_authenc_alloc()
599 struct crypto_instance *inst; crypto_authenc_alloc()
693 static void crypto_authenc_free(struct crypto_instance *inst) crypto_authenc_free()
H A Dauthencesn.c641 struct crypto_instance *inst = crypto_tfm_alg_instance(tfm); crypto_authenc_esn_init_tfm()
688 static struct crypto_instance *crypto_authenc_esn_alloc(struct rtattr **tb) crypto_authenc_esn_alloc()
691 struct crypto_instance *inst; crypto_authenc_esn_alloc()
785 static void crypto_authenc_esn_free(struct crypto_instance *inst) crypto_authenc_esn_free()
H A Dblkcipher.c580 struct crypto_instance *skcipher_geniv_alloc(struct crypto_template *tmpl, skcipher_geniv_alloc()
599 struct crypto_instance *inst; skcipher_geniv_alloc()
713 void skcipher_geniv_free(struct crypto_instance *inst) skcipher_geniv_free()
722 struct crypto_instance *inst = (void *)tfm->__crt_alg; skcipher_geniv_init()
H A Dahash.c594 void ahash_free_instance(struct crypto_instance *inst) ahash_free_instance()
603 struct crypto_instance *inst) crypto_init_ahash_spawn()
H A Dalgboss.c66 struct crypto_instance *inst; cryptomgr_probe()
H A Dcmac.c206 struct crypto_instance *inst = (void *)tfm->__crt_alg; cmac_init_tfm()
H A Dhmac.c160 struct crypto_instance *inst = (void *)tfm->__crt_alg; hmac_init_tfm()
H A Dxcbc.c180 struct crypto_instance *inst = (void *)tfm->__crt_alg; xcbc_init_tfm()
H A Dshash.c684 void shash_free_instance(struct crypto_instance *inst) shash_free_instance()
693 struct crypto_instance *inst) crypto_init_shash_spawn()
H A Dcrypto_user.c332 err = crypto_unregister_instance((struct crypto_instance *)alg); crypto_del_alg()
H A Dablkcipher.c543 struct crypto_instance *inst; crypto_givcipher_default()
H A Dvmac.c625 struct crypto_instance *inst = (void *)tfm->__crt_alg; vmac_init_tfm()

Completed in 265 milliseconds