Home
last modified time | relevance | path

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

12

/Linux-v6.1/include/crypto/
Dalgapi.h54 struct crypto_template *tmpl;
66 struct crypto_template { struct
71 int (*create)(struct crypto_template *tmpl, struct rtattr **tb); argument
115 int crypto_register_template(struct crypto_template *tmpl);
116 int crypto_register_templates(struct crypto_template *tmpls, int count);
117 void crypto_unregister_template(struct crypto_template *tmpl);
118 void crypto_unregister_templates(struct crypto_template *tmpls, int count);
119 struct crypto_template *crypto_lookup_template(const char *name);
121 int crypto_register_instance(struct crypto_template *tmpl,
/Linux-v6.1/crypto/
Ddh.c549 struct crypto_template *tmpl, struct rtattr **tb, in __dh_safe_prime_create()
831 static int dh_ffdhe2048_create(struct crypto_template *tmpl, in dh_ffdhe2048_create()
837 static int dh_ffdhe3072_create(struct crypto_template *tmpl, in dh_ffdhe3072_create()
843 static int dh_ffdhe4096_create(struct crypto_template *tmpl, in dh_ffdhe4096_create()
849 static int dh_ffdhe6144_create(struct crypto_template *tmpl, in dh_ffdhe6144_create()
855 static int dh_ffdhe8192_create(struct crypto_template *tmpl, in dh_ffdhe8192_create()
861 static struct crypto_template crypto_ffdhe_templates[] = {
891 static struct crypto_template crypto_ffdhe_templates[] = {};
Dinternal.h24 struct crypto_template;
128 static inline int crypto_tmpl_get(struct crypto_template *tmpl) in crypto_tmpl_get()
133 static inline void crypto_tmpl_put(struct crypto_template *tmpl) in crypto_tmpl_put()
Decb.c62 static int crypto_ecb_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ecb_create()
83 static struct crypto_template crypto_ecb_tmpl = {
Dofb.c53 static int crypto_ofb_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ofb_create()
84 static struct crypto_template crypto_ofb_tmpl = {
Dalgapi.c80 struct crypto_template *tmpl = inst->tmpl; in crypto_destroy_instance()
122 struct crypto_template *tmpl = inst->tmpl; in crypto_remove_instance()
512 int crypto_register_template(struct crypto_template *tmpl) in crypto_register_template()
514 struct crypto_template *q; in crypto_register_template()
534 int crypto_register_templates(struct crypto_template *tmpls, int count) in crypto_register_templates()
552 void crypto_unregister_template(struct crypto_template *tmpl) in crypto_unregister_template()
581 void crypto_unregister_templates(struct crypto_template *tmpls, int count) in crypto_unregister_templates()
590 static struct crypto_template *__crypto_lookup_template(const char *name) in __crypto_lookup_template()
592 struct crypto_template *q, *tmpl = NULL; in __crypto_lookup_template()
609 struct crypto_template *crypto_lookup_template(const char *name) in crypto_lookup_template()
[all …]
Dkeywrap.c264 static int crypto_kw_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_kw_create()
297 static struct crypto_template crypto_kw_tmpl = {
Dechainiv.c112 static int echainiv_aead_create(struct crypto_template *tmpl, in echainiv_aead_create()
144 static struct crypto_template echainiv_tmpl = {
Dseqiv.c136 static int seqiv_aead_create(struct crypto_template *tmpl, struct rtattr **tb) in seqiv_aead_create()
167 static struct crypto_template seqiv_tmpl = {
Dxctr.c131 static int crypto_xctr_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_xctr_create()
169 static struct crypto_template crypto_xctr_tmpl = {
Dpcrypt.c232 static int pcrypt_create_aead(struct crypto_template *tmpl, struct rtattr **tb, in pcrypt_create_aead()
291 static int pcrypt_create(struct crypto_template *tmpl, struct rtattr **tb) in pcrypt_create()
334 static struct crypto_template pcrypt_tmpl = {
Dctr.c127 static int crypto_ctr_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ctr_create()
257 static int crypto_rfc3686_create(struct crypto_template *tmpl, in crypto_rfc3686_create()
331 static struct crypto_template crypto_ctr_tmpls[] = {
Dpcbc.c154 static int crypto_pcbc_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_pcbc_create()
173 static struct crypto_template crypto_pcbc_tmpl = {
Dhctr2.c405 static int hctr2_create_common(struct crypto_template *tmpl, in hctr2_create_common()
518 static int hctr2_create_base(struct crypto_template *tmpl, struct rtattr **tb) in hctr2_create_base()
534 static int hctr2_create(struct crypto_template *tmpl, struct rtattr **tb) in hctr2_create()
550 static struct crypto_template hctr2_tmpls[] = {
Dcbc.c174 static int crypto_cbc_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_cbc_create()
202 static struct crypto_template crypto_cbc_tmpl = {
Dcfb.c201 static int crypto_cfb_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_cfb_create()
232 static struct crypto_template crypto_cfb_tmpl = {
Dccm.c446 static int crypto_ccm_create_common(struct crypto_template *tmpl, in crypto_ccm_create_common()
531 static int crypto_ccm_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ccm_create()
552 static int crypto_ccm_base_create(struct crypto_template *tmpl, in crypto_ccm_base_create()
706 static int crypto_rfc4309_create(struct crypto_template *tmpl, in crypto_rfc4309_create()
863 static int cbcmac_create(struct crypto_template *tmpl, struct rtattr **tb) in cbcmac_create()
917 static struct crypto_template crypto_ccm_tmpls[] = {
Dhmac.c169 static int hmac_create(struct crypto_template *tmpl, struct rtattr **tb) in hmac_create()
242 static struct crypto_template hmac_tmpl = {
Dxcbc.c189 static int xcbc_create(struct crypto_template *tmpl, struct rtattr **tb) in xcbc_create()
254 static struct crypto_template crypto_xcbc_tmpl = {
/Linux-v6.1/include/crypto/internal/
Dskcipher.h129 int skcipher_register_instance(struct crypto_template *tmpl,
212 struct crypto_template *tmpl, struct rtattr **tb);
Dgeniv.h22 struct aead_instance *aead_geniv_alloc(struct crypto_template *tmpl,
Dhash.h75 int ahash_register_instance(struct crypto_template *tmpl,
107 int shash_register_instance(struct crypto_template *tmpl,
Drsa.h56 extern struct crypto_template rsa_pkcs1pad_tmpl;
Dkpp.h153 int kpp_register_instance(struct crypto_template *tmpl,
Dakcipher.h131 int akcipher_register_instance(struct crypto_template *tmpl,

12