Home
last modified time | relevance | path

Searched refs:crypto_template (Results 1 – 38 of 38) sorted by relevance

/linux-4.4.14/include/crypto/
Dalgapi.h45 struct crypto_template *tmpl;
51 struct crypto_template { struct
58 int (*create)(struct crypto_template *tmpl, struct rtattr **tb); argument
136 int crypto_register_template(struct crypto_template *tmpl);
137 void crypto_unregister_template(struct crypto_template *tmpl);
138 struct crypto_template *crypto_lookup_template(const char *name);
140 int crypto_register_instance(struct crypto_template *tmpl,
/linux-4.4.14/crypto/
Dinternal.h39 struct crypto_template;
119 static inline int crypto_tmpl_get(struct crypto_template *tmpl) in crypto_tmpl_get()
124 static inline void crypto_tmpl_put(struct crypto_template *tmpl) in crypto_tmpl_put()
Dalgapi.c83 struct crypto_template *tmpl = inst->tmpl; in crypto_destroy_instance()
115 struct crypto_template *tmpl = inst->tmpl; in crypto_remove_instance()
446 int crypto_register_template(struct crypto_template *tmpl) in crypto_register_template()
448 struct crypto_template *q; in crypto_register_template()
469 void crypto_unregister_template(struct crypto_template *tmpl) in crypto_unregister_template()
500 static struct crypto_template *__crypto_lookup_template(const char *name) in __crypto_lookup_template()
502 struct crypto_template *q, *tmpl = NULL; in __crypto_lookup_template()
519 struct crypto_template *crypto_lookup_template(const char *name) in crypto_lookup_template()
526 int crypto_register_instance(struct crypto_template *tmpl, in crypto_register_instance()
Dseqiv.c253 static int seqiv_ablkcipher_create(struct crypto_template *tmpl, in seqiv_ablkcipher_create()
288 static int seqiv_aead_create(struct crypto_template *tmpl, struct rtattr **tb) in seqiv_aead_create()
330 static int seqiv_create(struct crypto_template *tmpl, struct rtattr **tb) in seqiv_create()
355 static struct crypto_template seqiv_tmpl = {
Dccm.c504 static int crypto_ccm_create_common(struct crypto_template *tmpl, in crypto_ccm_create_common()
608 static int crypto_ccm_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ccm_create()
630 static struct crypto_template crypto_ccm_tmpl = {
636 static int crypto_ccm_base_create(struct crypto_template *tmpl, in crypto_ccm_base_create()
659 static struct crypto_template crypto_ccm_base_tmpl = {
807 static int crypto_rfc4309_create(struct crypto_template *tmpl, in crypto_rfc4309_create()
894 static struct crypto_template crypto_rfc4309_tmpl = {
Dgcm.c619 static int crypto_gcm_create_common(struct crypto_template *tmpl, in crypto_gcm_create_common()
726 static int crypto_gcm_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_gcm_create()
748 static struct crypto_template crypto_gcm_tmpl = {
754 static int crypto_gcm_base_create(struct crypto_template *tmpl, in crypto_gcm_base_create()
777 static struct crypto_template crypto_gcm_base_tmpl = {
922 static int crypto_rfc4106_create(struct crypto_template *tmpl, in crypto_rfc4106_create()
1009 static struct crypto_template crypto_rfc4106_tmpl = {
1159 static int crypto_rfc4543_create(struct crypto_template *tmpl, in crypto_rfc4543_create()
1248 static struct crypto_template crypto_rfc4543_tmpl = {
Deseqiv.c190 static struct crypto_template eseqiv_tmpl;
220 static struct crypto_template eseqiv_tmpl = {
Dchacha20poly1305.c569 static int chachapoly_create(struct crypto_template *tmpl, struct rtattr **tb, in chachapoly_create()
681 static int rfc7539_create(struct crypto_template *tmpl, struct rtattr **tb) in rfc7539_create()
686 static int rfc7539esp_create(struct crypto_template *tmpl, struct rtattr **tb) in rfc7539esp_create()
691 static struct crypto_template rfc7539_tmpl = {
697 static struct crypto_template rfc7539esp_tmpl = {
Dechainiv.c178 static int echainiv_aead_create(struct crypto_template *tmpl, in echainiv_aead_create()
228 static struct crypto_template echainiv_tmpl = {
Dxcbc.c199 static int xcbc_create(struct crypto_template *tmpl, struct rtattr **tb) in xcbc_create()
267 static struct crypto_template crypto_xcbc_tmpl = {
Dpcrypt.c273 static int pcrypt_create_aead(struct crypto_template *tmpl, struct rtattr **tb, in pcrypt_create_aead()
336 static int pcrypt_create(struct crypto_template *tmpl, struct rtattr **tb) in pcrypt_create()
469 static struct crypto_template pcrypt_tmpl = {
Dcmac.c225 static int cmac_create(struct crypto_template *tmpl, struct rtattr **tb) in cmac_create()
294 static struct crypto_template crypto_cmac_tmpl = {
Dhmac.c181 static int hmac_create(struct crypto_template *tmpl, struct rtattr **tb) in hmac_create()
249 static struct crypto_template hmac_tmpl = {
Dchainiv.c260 static struct crypto_template chainiv_tmpl;
295 static struct crypto_template chainiv_tmpl = {
Dcryptd.c340 static int cryptd_create_blkcipher(struct crypto_template *tmpl, in cryptd_create_blkcipher()
602 static int cryptd_create_hash(struct crypto_template *tmpl, struct rtattr **tb, in cryptd_create_hash()
772 static int cryptd_create_aead(struct crypto_template *tmpl, in cryptd_create_aead()
833 static int cryptd_create(struct crypto_template *tmpl, struct rtattr **tb) in cryptd_create()
874 static struct crypto_template cryptd_tmpl = {
Daead.c191 struct aead_instance *aead_geniv_alloc(struct crypto_template *tmpl, in aead_geniv_alloc()
407 int aead_register_instance(struct crypto_template *tmpl, in aead_register_instance()
Dmcryptd.c490 static int mcryptd_create_hash(struct crypto_template *tmpl, struct rtattr **tb, in mcryptd_create_hash()
557 static int mcryptd_create(struct crypto_template *tmpl, struct rtattr **tb) in mcryptd_create()
590 static struct crypto_template mcryptd_tmpl = {
Decb.c166 static struct crypto_template crypto_ecb_tmpl = {
Dctr.c245 static struct crypto_template crypto_ctr_tmpl = {
431 static struct crypto_template crypto_rfc3686_tmpl = {
Dauthenc.c380 static int crypto_authenc_create(struct crypto_template *tmpl, in crypto_authenc_create()
484 static struct crypto_template crypto_authenc_tmpl = {
Dauthencesn.c396 static int crypto_authenc_esn_create(struct crypto_template *tmpl, in crypto_authenc_esn_create()
498 static struct crypto_template crypto_authenc_esn_tmpl = {
Dalgboss.c65 struct crypto_template *tmpl; in cryptomgr_probe()
Dkeywrap.c396 static struct crypto_template crypto_kw_tmpl = {
Dpcbc.c276 static struct crypto_template crypto_pcbc_tmpl = {
Dcbc.c270 static struct crypto_template crypto_cbc_tmpl = {
Dxts.c343 static struct crypto_template crypto_tmpl = {
Dcts.c333 static struct crypto_template crypto_cts_tmpl = {
Dlrw.c381 static struct crypto_template crypto_tmpl = {
Dvmac.c643 static int vmac_create(struct crypto_template *tmpl, struct rtattr **tb) in vmac_create()
694 static struct crypto_template vmac_tmpl = {
Dahash.c581 int ahash_register_instance(struct crypto_template *tmpl, in ahash_register_instance()
Dshash.c666 int shash_register_instance(struct crypto_template *tmpl, in shash_register_instance()
Dablkcipher.c542 struct crypto_template *tmpl; in crypto_givcipher_default()
Dblkcipher.c581 struct crypto_instance *skcipher_geniv_alloc(struct crypto_template *tmpl, in skcipher_geniv_alloc()
/linux-4.4.14/include/crypto/internal/
Dgeniv.h27 struct aead_instance *aead_geniv_alloc(struct crypto_template *tmpl,
Dhash.h82 int ahash_register_instance(struct crypto_template *tmpl,
101 int shash_register_instance(struct crypto_template *tmpl,
Dskcipher.h62 struct crypto_instance *skcipher_geniv_alloc(struct crypto_template *tmpl,
Daead.h160 int aead_register_instance(struct crypto_template *tmpl,
/linux-4.4.14/arch/x86/crypto/
Dfpu.c147 static struct crypto_template crypto_fpu_tmpl = {