Home
last modified time | relevance | path

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

12

/linux-4.19.296/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-4.19.296/crypto/
Dinternal.h36 struct crypto_template;
113 static inline int crypto_tmpl_get(struct crypto_template *tmpl) in crypto_tmpl_get()
118 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()
566 static int crypto_ccm_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ccm_create()
587 static struct crypto_template crypto_ccm_tmpl = {
593 static int crypto_ccm_base_create(struct crypto_template *tmpl, in crypto_ccm_base_create()
610 static struct crypto_template crypto_ccm_base_tmpl = {
758 static int crypto_rfc4309_create(struct crypto_template *tmpl, in crypto_rfc4309_create()
846 static struct crypto_template crypto_rfc4309_tmpl = {
937 static int cbcmac_create(struct crypto_template *tmpl, struct rtattr **tb) in cbcmac_create()
991 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()
190 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()
724 static struct crypto_template crypto_gcm_tmpl = {
730 static int crypto_gcm_base_create(struct crypto_template *tmpl, in crypto_gcm_base_create()
747 static struct crypto_template crypto_gcm_base_tmpl = {
892 static int crypto_rfc4106_create(struct crypto_template *tmpl, in crypto_rfc4106_create()
980 static struct crypto_template crypto_rfc4106_tmpl = {
1132 static int crypto_rfc4543_create(struct crypto_template *tmpl, in crypto_rfc4543_create()
1222 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.c585 static int chachapoly_create(struct crypto_template *tmpl, struct rtattr **tb, in chachapoly_create()
704 static int rfc7539_create(struct crypto_template *tmpl, struct rtattr **tb) in rfc7539_create()
709 static int rfc7539esp_create(struct crypto_template *tmpl, struct rtattr **tb) in rfc7539esp_create()
714 static struct crypto_template rfc7539_tmpl = {
720 static struct crypto_template rfc7539esp_tmpl = {
Dpcrypt.c284 static int pcrypt_create_aead(struct crypto_template *tmpl, struct rtattr **tb, in pcrypt_create_aead()
349 static int pcrypt_create(struct crypto_template *tmpl, struct rtattr **tb) in pcrypt_create()
474 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 = {
Dcmac.c227 static int cmac_create(struct crypto_template *tmpl, struct rtattr **tb) in cmac_create()
299 static struct crypto_template crypto_cmac_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 = {
Dpcbc.c210 static int crypto_pcbc_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_pcbc_create()
285 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()
339 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()
592 static int cryptd_create_skcipher(struct crypto_template *tmpl, in cryptd_create_skcipher()
868 static int cryptd_create_hash(struct crypto_template *tmpl, struct rtattr **tb, in cryptd_create_hash()
1051 static int cryptd_create_aead(struct crypto_template *tmpl, in cryptd_create_aead()
1112 static int cryptd_create(struct crypto_template *tmpl, struct rtattr **tb) in cryptd_create()
1157 static struct crypto_template cryptd_tmpl = {
Daead.c203 struct aead_instance *aead_geniv_alloc(struct crypto_template *tmpl, in aead_geniv_alloc()
423 int aead_register_instance(struct crypto_template *tmpl, in aead_register_instance()
/linux-4.19.296/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,
104 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,

12