Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/include/crypto/
Dalgapi.h49 struct crypto_template *tmpl;
61 struct crypto_template { struct
66 int (*create)(struct crypto_template *tmpl, struct rtattr **tb); argument
101 int crypto_register_template(struct crypto_template *tmpl);
102 int crypto_register_templates(struct crypto_template *tmpls, int count);
103 void crypto_unregister_template(struct crypto_template *tmpl);
104 void crypto_unregister_templates(struct crypto_template *tmpls, int count);
105 struct crypto_template *crypto_lookup_template(const char *name);
107 int crypto_register_instance(struct crypto_template *tmpl,
/kernel/linux/linux-5.10/crypto/
Dinternal.h23 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()
Decb.c61 static int crypto_ecb_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ecb_create()
82 static struct crypto_template crypto_ecb_tmpl = {
Dofb.c52 static int crypto_ofb_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ofb_create()
83 static struct crypto_template crypto_ofb_tmpl = {
Dalgapi.c74 struct crypto_template *tmpl = inst->tmpl; in crypto_destroy_instance()
116 struct crypto_template *tmpl = inst->tmpl; in crypto_remove_instance()
498 int crypto_register_template(struct crypto_template *tmpl) in crypto_register_template()
500 struct crypto_template *q; in crypto_register_template()
520 int crypto_register_templates(struct crypto_template *tmpls, int count) in crypto_register_templates()
538 void crypto_unregister_template(struct crypto_template *tmpl) in crypto_unregister_template()
567 void crypto_unregister_templates(struct crypto_template *tmpls, int count) in crypto_unregister_templates()
576 static struct crypto_template *__crypto_lookup_template(const char *name) in __crypto_lookup_template()
578 struct crypto_template *q, *tmpl = NULL; in __crypto_lookup_template()
595 struct crypto_template *crypto_lookup_template(const char *name) in crypto_lookup_template()
[all …]
Dechainiv.c112 static int echainiv_aead_create(struct crypto_template *tmpl, in echainiv_aead_create()
144 static struct crypto_template echainiv_tmpl = {
Dkeywrap.c263 static int crypto_kw_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_kw_create()
296 static struct crypto_template crypto_kw_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 = {
Dctr.c126 static int crypto_ctr_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ctr_create()
256 static int crypto_rfc3686_create(struct crypto_template *tmpl, in crypto_rfc3686_create()
330 static struct crypto_template crypto_ctr_tmpls[] = {
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 = {
Dpcbc.c153 static int crypto_pcbc_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_pcbc_create()
172 static struct crypto_template crypto_pcbc_tmpl = {
Dcbc.c173 static int crypto_cbc_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_cbc_create()
201 static struct crypto_template crypto_cbc_tmpl = {
Dcfb.c200 static int crypto_cfb_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_cfb_create()
231 static struct crypto_template crypto_cfb_tmpl = {
Dccm.c445 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[] = {
Dhmac.c165 static int hmac_create(struct crypto_template *tmpl, struct rtattr **tb) in hmac_create()
238 static struct crypto_template hmac_tmpl = {
Dxcbc.c188 static int xcbc_create(struct crypto_template *tmpl, struct rtattr **tb) in xcbc_create()
253 static struct crypto_template crypto_xcbc_tmpl = {
Dcmac.c222 static int cmac_create(struct crypto_template *tmpl, struct rtattr **tb) in cmac_create()
294 static struct crypto_template crypto_cmac_tmpl = {
Dchacha20poly1305.c555 static int chachapoly_create(struct crypto_template *tmpl, struct rtattr **tb, in chachapoly_create()
637 static int rfc7539_create(struct crypto_template *tmpl, struct rtattr **tb) in rfc7539_create()
642 static int rfc7539esp_create(struct crypto_template *tmpl, struct rtattr **tb) in rfc7539esp_create()
647 static struct crypto_template rfc7539_tmpls[] = {
Dgcm.c576 static int crypto_gcm_create_common(struct crypto_template *tmpl, in crypto_gcm_create_common()
658 static int crypto_gcm_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_gcm_create()
674 static int crypto_gcm_base_create(struct crypto_template *tmpl, in crypto_gcm_base_create()
827 static int crypto_rfc4106_create(struct crypto_template *tmpl, in crypto_rfc4106_create()
1042 static int crypto_rfc4543_create(struct crypto_template *tmpl, in crypto_rfc4543_create()
1114 static struct crypto_template crypto_gcm_tmpls[] = {
Dlrw.c299 static int lrw_create(struct crypto_template *tmpl, struct rtattr **tb) in lrw_create()
409 static struct crypto_template lrw_tmpl = {
/kernel/linux/linux-5.10/include/crypto/internal/
Dskcipher.h128 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,
Drsa.h56 extern struct crypto_template rsa_pkcs1pad_tmpl;
Dhash.h75 int ahash_register_instance(struct crypto_template *tmpl,
107 int shash_register_instance(struct crypto_template *tmpl,
Dakcipher.h131 int akcipher_register_instance(struct crypto_template *tmpl,

12