Home
last modified time | relevance | path

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

12

/Linux-v4.19/include/crypto/
Dalgapi.h52 struct crypto_template *tmpl;
58 struct crypto_template { struct
65 int (*create)(struct crypto_template *tmpl, struct rtattr **tb); argument
143 int crypto_register_template(struct crypto_template *tmpl);
144 void crypto_unregister_template(struct crypto_template *tmpl);
145 struct crypto_template *crypto_lookup_template(const char *name);
147 int crypto_register_instance(struct crypto_template *tmpl,
/Linux-v4.19/crypto/
Dinternal.h36 struct crypto_template;
114 static inline int crypto_tmpl_get(struct crypto_template *tmpl) in crypto_tmpl_get()
119 static inline void crypto_tmpl_put(struct crypto_template *tmpl) in crypto_tmpl_put()
Dseqiv.c144 static int seqiv_aead_create(struct crypto_template *tmpl, struct rtattr **tb) in seqiv_aead_create()
179 static int seqiv_create(struct crypto_template *tmpl, struct rtattr **tb) in seqiv_create()
198 static struct crypto_template seqiv_tmpl = {
Dalgapi.c93 struct crypto_template *tmpl = inst->tmpl; in crypto_destroy_instance()
124 struct crypto_template *tmpl = inst->tmpl; in crypto_remove_instance()
466 int crypto_register_template(struct crypto_template *tmpl) in crypto_register_template()
468 struct crypto_template *q; in crypto_register_template()
488 void crypto_unregister_template(struct crypto_template *tmpl) in crypto_unregister_template()
517 static struct crypto_template *__crypto_lookup_template(const char *name) in __crypto_lookup_template()
519 struct crypto_template *q, *tmpl = NULL; in __crypto_lookup_template()
536 struct crypto_template *crypto_lookup_template(const char *name) in crypto_lookup_template()
543 int crypto_register_instance(struct crypto_template *tmpl, in crypto_register_instance()
Dccm.c456 static int crypto_ccm_create_common(struct crypto_template *tmpl, in crypto_ccm_create_common()
562 static int crypto_ccm_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ccm_create()
589 static struct crypto_template crypto_ccm_tmpl = {
595 static int crypto_ccm_base_create(struct crypto_template *tmpl, in crypto_ccm_base_create()
618 static struct crypto_template crypto_ccm_base_tmpl = {
766 static int crypto_rfc4309_create(struct crypto_template *tmpl, in crypto_rfc4309_create()
854 static struct crypto_template crypto_rfc4309_tmpl = {
945 static int cbcmac_create(struct crypto_template *tmpl, struct rtattr **tb) in cbcmac_create()
999 static struct crypto_template crypto_cbcmac_tmpl = {
Dechainiv.c117 static int echainiv_aead_create(struct crypto_template *tmpl, in echainiv_aead_create()
160 static struct crypto_template echainiv_tmpl = {
Dcbc.c109 static int crypto_cbc_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_cbc_create()
188 static struct crypto_template crypto_cbc_tmpl = {
Dgcm.c598 static int crypto_gcm_create_common(struct crypto_template *tmpl, in crypto_gcm_create_common()
708 static int crypto_gcm_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_gcm_create()
730 static struct crypto_template crypto_gcm_tmpl = {
736 static int crypto_gcm_base_create(struct crypto_template *tmpl, in crypto_gcm_base_create()
759 static struct crypto_template crypto_gcm_base_tmpl = {
904 static int crypto_rfc4106_create(struct crypto_template *tmpl, in crypto_rfc4106_create()
992 static struct crypto_template crypto_rfc4106_tmpl = {
1144 static int crypto_rfc4543_create(struct crypto_template *tmpl, in crypto_rfc4543_create()
1234 static struct crypto_template crypto_rfc4543_tmpl = {
Dxcbc.c198 static int xcbc_create(struct crypto_template *tmpl, struct rtattr **tb) in xcbc_create()
266 static struct crypto_template crypto_xcbc_tmpl = {
Dchacha20poly1305.c577 static int chachapoly_create(struct crypto_template *tmpl, struct rtattr **tb, in chachapoly_create()
696 static int rfc7539_create(struct crypto_template *tmpl, struct rtattr **tb) in rfc7539_create()
701 static int rfc7539esp_create(struct crypto_template *tmpl, struct rtattr **tb) in rfc7539esp_create()
706 static struct crypto_template rfc7539_tmpl = {
712 static struct crypto_template rfc7539esp_tmpl = {
Dpcrypt.c281 static int pcrypt_create_aead(struct crypto_template *tmpl, struct rtattr **tb, in pcrypt_create_aead()
346 static int pcrypt_create(struct crypto_template *tmpl, struct rtattr **tb) in pcrypt_create()
471 static struct crypto_template pcrypt_tmpl = {
Dhmac.c182 static int hmac_create(struct crypto_template *tmpl, struct rtattr **tb) in hmac_create()
254 static struct crypto_template hmac_tmpl = {
Dctr.c253 static struct crypto_template crypto_ctr_tmpl = {
353 static int crypto_rfc3686_create(struct crypto_template *tmpl, in crypto_rfc3686_create()
449 static struct crypto_template crypto_rfc3686_tmpl = {
Dcmac.c227 static int cmac_create(struct crypto_template *tmpl, struct rtattr **tb) in cmac_create()
299 static struct crypto_template crypto_cmac_tmpl = {
Dpcbc.c216 static int crypto_pcbc_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_pcbc_create()
289 static struct crypto_template crypto_pcbc_tmpl = {
Dakcipher.c140 int akcipher_register_instance(struct crypto_template *tmpl, in akcipher_register_instance()
Dcfb.c255 static int crypto_cfb_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_cfb_create()
331 static struct crypto_template crypto_cfb_tmpl = {
Dmcryptd.c485 static int mcryptd_create_hash(struct crypto_template *tmpl, struct rtattr **tb, in mcryptd_create_hash()
554 static int mcryptd_create(struct crypto_template *tmpl, struct rtattr **tb) in mcryptd_create()
587 static struct crypto_template mcryptd_tmpl = {
Dcryptd.c385 static int cryptd_create_blkcipher(struct crypto_template *tmpl, in cryptd_create_blkcipher()
591 static int cryptd_create_skcipher(struct crypto_template *tmpl, in cryptd_create_skcipher()
867 static int cryptd_create_hash(struct crypto_template *tmpl, struct rtattr **tb, in cryptd_create_hash()
1050 static int cryptd_create_aead(struct crypto_template *tmpl, in cryptd_create_aead()
1111 static int cryptd_create(struct crypto_template *tmpl, struct rtattr **tb) in cryptd_create()
1156 static struct crypto_template cryptd_tmpl = {
/Linux-v4.19/include/crypto/internal/
Dgeniv.h27 struct aead_instance *aead_geniv_alloc(struct crypto_template *tmpl,
Drsa.h61 extern struct crypto_template rsa_pkcs1pad_tmpl;
Dhash.h81 int ahash_register_instance(struct crypto_template *tmpl,
110 int shash_register_instance(struct crypto_template *tmpl,
Dakcipher.h142 int akcipher_register_instance(struct crypto_template *tmpl,
Daead.h187 int aead_register_instance(struct crypto_template *tmpl,
/Linux-v4.19/arch/x86/crypto/
Dfpu.c114 static int crypto_fpu_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_fpu_create()
191 static struct crypto_template crypto_fpu_tmpl = {

12