| /linux-6.15/include/crypto/ |
| H A D | algapi.h | 62 struct crypto_template *tmpl; 76 struct crypto_template { struct 81 int (*create)(struct crypto_template *tmpl, struct rtattr **tb); argument 140 int crypto_register_template(struct crypto_template *tmpl); 141 int crypto_register_templates(struct crypto_template *tmpls, int count); 142 void crypto_unregister_template(struct crypto_template *tmpl); 143 void crypto_unregister_templates(struct crypto_template *tmpls, int count); 144 struct crypto_template *crypto_lookup_template(const char *name); 146 int crypto_register_instance(struct crypto_template *tmpl,
|
| /linux-6.15/include/crypto/internal/ |
| H A D | skcipher.h | 205 int skcipher_register_instance(struct crypto_template *tmpl, 212 int lskcipher_register_instance(struct crypto_template *tmpl, 279 struct crypto_template *tmpl, struct rtattr **tb); 298 struct crypto_template *tmpl, struct rtattr **tb);
|
| H A D | rsa.h | 84 extern struct crypto_template rsa_pkcs1pad_tmpl; 85 extern struct crypto_template rsassa_pkcs1_tmpl;
|
| H A D | ecc.h | 308 extern struct crypto_template ecdsa_x962_tmpl; 309 extern struct crypto_template ecdsa_p1363_tmpl;
|
| H A D | geniv.h | 22 struct aead_instance *aead_geniv_alloc(struct crypto_template *tmpl,
|
| H A D | hash.h | 50 int ahash_register_instance(struct crypto_template *tmpl, 86 int shash_register_instance(struct crypto_template *tmpl,
|
| H A D | sig.h | 53 int sig_register_instance(struct crypto_template *tmpl,
|
| /linux-6.15/crypto/ |
| H A D | dh.c | 552 struct crypto_template *tmpl, struct rtattr **tb, in __dh_safe_prime_create() 833 static int dh_ffdhe2048_create(struct crypto_template *tmpl, in dh_ffdhe2048_create() 839 static int dh_ffdhe3072_create(struct crypto_template *tmpl, in dh_ffdhe3072_create() 845 static int dh_ffdhe4096_create(struct crypto_template *tmpl, in dh_ffdhe4096_create() 851 static int dh_ffdhe6144_create(struct crypto_template *tmpl, in dh_ffdhe6144_create() 857 static int dh_ffdhe8192_create(struct crypto_template *tmpl, in dh_ffdhe8192_create() 863 static struct crypto_template crypto_ffdhe_templates[] = { 893 static struct crypto_template crypto_ffdhe_templates[] = {};
|
| 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() 502 int crypto_register_template(struct crypto_template *tmpl) in crypto_register_template() 504 struct crypto_template *q; in crypto_register_template() 524 int crypto_register_templates(struct crypto_template *tmpls, int count) in crypto_register_templates() 542 void crypto_unregister_template(struct crypto_template *tmpl) in crypto_unregister_template() 571 void crypto_unregister_templates(struct crypto_template *tmpls, int count) in crypto_unregister_templates() 580 static struct crypto_template *__crypto_lookup_template(const char *name) in __crypto_lookup_template() 582 struct crypto_template *q, *tmpl = NULL; in __crypto_lookup_template() 599 struct crypto_template *crypto_lookup_template(const char *name) in crypto_lookup_template() [all …]
|
| H A D | ecb.c | 98 struct crypto_template *tmpl, struct rtattr **tb) in lskcipher_alloc_instance_simple2() 149 static int crypto_ecb_create2(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ecb_create2() 171 static int crypto_ecb_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ecb_create() 206 static struct crypto_template crypto_ecb_tmpl = {
|
| H A D | internal.h | 26 struct crypto_template; 172 static inline int crypto_tmpl_get(struct crypto_template *tmpl) in crypto_tmpl_get() 177 static inline void crypto_tmpl_put(struct crypto_template *tmpl) in crypto_tmpl_put()
|
| H A D | ecdsa-p1363.c | 97 static int ecdsa_p1363_create(struct crypto_template *tmpl, struct rtattr **tb) in ecdsa_p1363_create() 153 struct crypto_template ecdsa_p1363_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 | xctr.c | 131 static int crypto_xctr_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_xctr_create() 169 static struct crypto_template crypto_xctr_tmpl = {
|
| H A D | cbc.c | 138 static int crypto_cbc_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_cbc_create() 166 static struct crypto_template crypto_cbc_tmpl = {
|
| H A D | seqiv.c | 135 static int seqiv_aead_create(struct crypto_template *tmpl, struct rtattr **tb) in seqiv_aead_create() 166 static struct crypto_template seqiv_tmpl = {
|
| H A D | pcrypt.c | 240 static int pcrypt_create_aead(struct crypto_template *tmpl, struct rtattr **tb, in pcrypt_create_aead() 299 static int pcrypt_create(struct crypto_template *tmpl, struct rtattr **tb) in pcrypt_create() 342 static struct crypto_template pcrypt_tmpl = {
|
| H A D | ctr.c | 127 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() 329 static struct crypto_template crypto_ctr_tmpls[] = {
|
| H A D | pcbc.c | 154 static int crypto_pcbc_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_pcbc_create() 173 static struct crypto_template crypto_pcbc_tmpl = {
|
| H A D | ecdsa-x962.c | 175 static int ecdsa_x962_create(struct crypto_template *tmpl, struct rtattr **tb) in ecdsa_x962_create() 231 struct crypto_template ecdsa_x962_tmpl = {
|
| H A D | hctr2.c | 404 static int hctr2_create_common(struct crypto_template *tmpl, in hctr2_create_common() 516 static int hctr2_create_base(struct crypto_template *tmpl, struct rtattr **tb) in hctr2_create_base() 532 static int hctr2_create(struct crypto_template *tmpl, struct rtattr **tb) in hctr2_create() 548 static struct crypto_template hctr2_tmpls[] = {
|
| H A D | xcbc.c | 184 static int xcbc_create(struct crypto_template *tmpl, struct rtattr **tb) in xcbc_create() 242 static struct crypto_template crypto_xcbc_tmpl = {
|
| H A D | ccm.c | 446 static int crypto_ccm_create_common(struct crypto_template *tmpl, in crypto_ccm_create_common() 529 static int crypto_ccm_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ccm_create() 550 static int crypto_ccm_base_create(struct crypto_template *tmpl, in crypto_ccm_base_create() 704 static int crypto_rfc4309_create(struct crypto_template *tmpl, in crypto_rfc4309_create() 858 static int cbcmac_create(struct crypto_template *tmpl, struct rtattr **tb) in cbcmac_create() 911 static struct crypto_template crypto_ccm_tmpls[] = {
|
| H A D | cmac.c | 232 static int cmac_create(struct crypto_template *tmpl, struct rtattr **tb) in cmac_create() 294 static struct crypto_template crypto_cmac_tmpl = {
|
| H A D | hmac.c | 177 static int hmac_create(struct crypto_template *tmpl, struct rtattr **tb) in hmac_create() 246 static struct crypto_template hmac_tmpl = {
|