/kernel/linux/linux-5.10/include/crypto/ |
H A D | algapi.h | 50 struct crypto_template *tmpl; 64 struct crypto_template { struct 69 int (*create)(struct crypto_template *tmpl, struct rtattr **tb); 104 int crypto_register_template(struct crypto_template *tmpl); 105 int crypto_register_templates(struct crypto_template *tmpls, int count); 106 void crypto_unregister_template(struct crypto_template *tmpl); 107 void crypto_unregister_templates(struct crypto_template *tmpls, int count); 108 struct crypto_template *crypto_lookup_template(const char *name); 110 int crypto_register_instance(struct crypto_template *tmpl,
|
/kernel/linux/linux-6.6/include/crypto/ |
H A D | algapi.h | 77 struct crypto_template *tmpl; 91 struct crypto_template { struct 96 int (*create)(struct crypto_template *tmpl, struct rtattr **tb); 148 int crypto_register_template(struct crypto_template *tmpl); 149 int crypto_register_templates(struct crypto_template *tmpls, int count); 150 void crypto_unregister_template(struct crypto_template *tmpl); 151 void crypto_unregister_templates(struct crypto_template *tmpls, int count); 152 struct crypto_template *crypto_lookup_template(const char *name); 154 int crypto_register_instance(struct crypto_template *tmpl,
|
/kernel/linux/linux-6.6/crypto/ |
H A D | dh.c | 551 struct crypto_template *tmpl, struct rtattr **tb, in __dh_safe_prime_create() 832 static int dh_ffdhe2048_create(struct crypto_template *tmpl, in dh_ffdhe2048_create() 838 static int dh_ffdhe3072_create(struct crypto_template *tmpl, in dh_ffdhe3072_create() 844 static int dh_ffdhe4096_create(struct crypto_template *tmpl, in dh_ffdhe4096_create() 850 static int dh_ffdhe6144_create(struct crypto_template *tmpl, in dh_ffdhe6144_create() 856 static int dh_ffdhe8192_create(struct crypto_template *tmpl, in dh_ffdhe8192_create() 862 static struct crypto_template crypto_ffdhe_templates[] = { 892 static struct crypto_template crypto_ffdhe_templates[] = {};
|
H A D | algapi.c | 82 struct crypto_template *tmpl = inst->tmpl; in crypto_destroy_instance_workfn() 134 struct crypto_template *tmpl = inst->tmpl; in crypto_remove_instance() 546 int crypto_register_template(struct crypto_template *tmpl) in crypto_register_template() 548 struct crypto_template *q; in crypto_register_template() 568 int crypto_register_templates(struct crypto_template *tmpls, int count) in crypto_register_templates() 586 void crypto_unregister_template(struct crypto_template *tmpl) in crypto_unregister_template() 615 void crypto_unregister_templates(struct crypto_template *tmpls, int count) in crypto_unregister_templates() 624 static struct crypto_template *__crypto_lookup_template(const char *name) in __crypto_lookup_template() 626 struct crypto_template *q, *tmpl = NULL; in __crypto_lookup_template() 643 struct crypto_template *crypto_lookup_templat [all...] |
H A D | internal.h | 28 struct crypto_template; 173 static inline int crypto_tmpl_get(struct crypto_template *tmpl) in crypto_tmpl_get() 178 static inline void crypto_tmpl_put(struct crypto_template *tmpl) in crypto_tmpl_put()
|
H A D | ofb.c | 53 static int crypto_ofb_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ofb_create() 84 static struct crypto_template crypto_ofb_tmpl = {
|
H A D | ecb.c | 62 static int crypto_ecb_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ecb_create() 83 static struct crypto_template crypto_ecb_tmpl = {
|
H A D | keywrap.c | 264 static int crypto_kw_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_kw_create() 297 static struct crypto_template crypto_kw_tmpl = {
|
H A D | echainiv.c | 112 static int echainiv_aead_create(struct crypto_template *tmpl, in echainiv_aead_create() 144 static struct crypto_template echainiv_tmpl = {
|
H A D | hctr2.c | 404 static int hctr2_create_common(struct crypto_template *tmpl, in hctr2_create_common() 517 static int hctr2_create_base(struct crypto_template *tmpl, struct rtattr **tb) in hctr2_create_base() 533 static int hctr2_create(struct crypto_template *tmpl, struct rtattr **tb) in hctr2_create() 549 static struct crypto_template hctr2_tmpls[] = {
|
H A D | ccm.c | 445 static int crypto_ccm_create_common(struct crypto_template *tmpl, in crypto_ccm_create_common() 530 static int crypto_ccm_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ccm_create() 551 static int crypto_ccm_base_create(struct crypto_template *tmpl, in crypto_ccm_base_create() 705 static int crypto_rfc4309_create(struct crypto_template *tmpl, in crypto_rfc4309_create() 862 static int cbcmac_create(struct crypto_template *tmpl, struct rtattr **tb) in cbcmac_create() 916 static struct crypto_template crypto_ccm_tmpls[] = {
|
/kernel/linux/linux-5.10/crypto/ |
H A D | internal.h | 23 struct crypto_template; 111 static inline int crypto_tmpl_get(struct crypto_template *tmpl) in crypto_tmpl_get() 116 static inline void crypto_tmpl_put(struct crypto_template *tmpl) in crypto_tmpl_put()
|
H A D | ecb.c | 61 static int crypto_ecb_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ecb_create() 82 static struct crypto_template crypto_ecb_tmpl = {
|
H A D | ofb.c | 52 static int crypto_ofb_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ofb_create() 83 static struct crypto_template crypto_ofb_tmpl = {
|
H A D | algapi.c | 76 struct crypto_template *tmpl = inst->tmpl; in crypto_destroy_instance_workfn() 128 struct crypto_template *tmpl = inst->tmpl; in crypto_remove_instance() 511 int crypto_register_template(struct crypto_template *tmpl) in crypto_register_template() 513 struct crypto_template *q; in crypto_register_template() 533 int crypto_register_templates(struct crypto_template *tmpls, int count) in crypto_register_templates() 551 void crypto_unregister_template(struct crypto_template *tmpl) in crypto_unregister_template() 580 void crypto_unregister_templates(struct crypto_template *tmpls, int count) in crypto_unregister_templates() 589 static struct crypto_template *__crypto_lookup_template(const char *name) in __crypto_lookup_template() 591 struct crypto_template *q, *tmpl = NULL; in __crypto_lookup_template() 608 struct crypto_template *crypto_lookup_templat [all...] |
H A D | keywrap.c | 263 static int crypto_kw_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_kw_create() 296 static struct crypto_template crypto_kw_tmpl = {
|
H A D | echainiv.c | 112 static int echainiv_aead_create(struct crypto_template *tmpl, in echainiv_aead_create() 144 static struct crypto_template echainiv_tmpl = {
|
H A D | ccm.c | 445 static int crypto_ccm_create_common(struct crypto_template *tmpl, in crypto_ccm_create_common() 530 static int crypto_ccm_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ccm_create() 551 static int crypto_ccm_base_create(struct crypto_template *tmpl, in crypto_ccm_base_create() 705 static int crypto_rfc4309_create(struct crypto_template *tmpl, in crypto_rfc4309_create() 862 static int cbcmac_create(struct crypto_template *tmpl, struct rtattr **tb) in cbcmac_create() 916 static struct crypto_template crypto_ccm_tmpls[] = {
|
H A D | pcbc.c | 153 static int crypto_pcbc_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_pcbc_create() 172 static struct crypto_template crypto_pcbc_tmpl = {
|
/kernel/linux/linux-5.10/include/crypto/internal/ |
H A D | skcipher.h | 128 int skcipher_register_instance(struct crypto_template *tmpl, 212 struct crypto_template *tmpl, struct rtattr **tb);
|
H A D | geniv.h | 22 struct aead_instance *aead_geniv_alloc(struct crypto_template *tmpl,
|
H A D | rsa.h | 56 extern struct crypto_template rsa_pkcs1pad_tmpl;
|
/kernel/linux/linux-6.6/include/crypto/internal/ |
H A D | skcipher.h | 144 int skcipher_register_instance(struct crypto_template *tmpl, 242 struct crypto_template *tmpl, struct rtattr **tb);
|
H A D | geniv.h | 22 struct aead_instance *aead_geniv_alloc(struct crypto_template *tmpl,
|
H A D | rsa.h | 56 extern struct crypto_template rsa_pkcs1pad_tmpl;
|