Home
last modified time | relevance | path

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

12

/Linux-v5.4/include/crypto/
Dalgapi.h49 struct crypto_template *tmpl;
55 struct crypto_template { struct
62 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-v5.4/crypto/
Dinternal.h25 struct crypto_template;
101 static inline int crypto_tmpl_get(struct crypto_template *tmpl) in crypto_tmpl_get()
106 static inline void crypto_tmpl_put(struct crypto_template *tmpl) in crypto_tmpl_put()
Dcbc.c51 static int crypto_cbc_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_cbc_create()
80 static struct crypto_template crypto_cbc_tmpl = {
Decb.c61 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.c52 static int crypto_ofb_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ofb_create()
82 static struct crypto_template crypto_ofb_tmpl = {
Dseqiv.c138 static int seqiv_aead_create(struct crypto_template *tmpl, struct rtattr **tb) in seqiv_aead_create()
173 static int seqiv_create(struct crypto_template *tmpl, struct rtattr **tb) in seqiv_create()
192 static struct crypto_template seqiv_tmpl = {
Dalgapi.c79 struct crypto_template *tmpl = inst->tmpl; in crypto_destroy_instance()
110 struct crypto_template *tmpl = inst->tmpl; in crypto_remove_instance()
456 int crypto_register_template(struct crypto_template *tmpl) in crypto_register_template()
458 struct crypto_template *q; in crypto_register_template()
478 int crypto_register_templates(struct crypto_template *tmpls, int count) in crypto_register_templates()
496 void crypto_unregister_template(struct crypto_template *tmpl) in crypto_unregister_template()
525 void crypto_unregister_templates(struct crypto_template *tmpls, int count) in crypto_unregister_templates()
534 static struct crypto_template *__crypto_lookup_template(const char *name) in __crypto_lookup_template()
536 struct crypto_template *q, *tmpl = NULL; in __crypto_lookup_template()
553 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()
155 static struct crypto_template echainiv_tmpl = {
Dkeywrap.c263 static int crypto_kw_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_kw_create()
297 static struct crypto_template crypto_kw_tmpl = {
Dpcrypt.c214 static int pcrypt_create_aead(struct crypto_template *tmpl, struct rtattr **tb, in pcrypt_create_aead()
279 static int pcrypt_create(struct crypto_template *tmpl, struct rtattr **tb) in pcrypt_create()
328 static struct crypto_template pcrypt_tmpl = {
Dpcbc.c153 static int crypto_pcbc_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_pcbc_create()
173 static struct crypto_template crypto_pcbc_tmpl = {
Dctr.c126 static int crypto_ctr_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ctr_create()
262 static int crypto_rfc3686_create(struct crypto_template *tmpl, in crypto_rfc3686_create()
358 static struct crypto_template crypto_ctr_tmpls[] = {
Dcfb.c200 static int crypto_cfb_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_cfb_create()
230 static struct crypto_template crypto_cfb_tmpl = {
Dxcbc.c188 static int xcbc_create(struct crypto_template *tmpl, struct rtattr **tb) in xcbc_create()
256 static struct crypto_template crypto_xcbc_tmpl = {
Dhmac.c170 static int hmac_create(struct crypto_template *tmpl, struct rtattr **tb) in hmac_create()
242 static struct crypto_template hmac_tmpl = {
Dccm.c454 static int crypto_ccm_create_common(struct crypto_template *tmpl, in crypto_ccm_create_common()
564 static int crypto_ccm_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ccm_create()
585 static int crypto_ccm_base_create(struct crypto_template *tmpl, in crypto_ccm_base_create()
744 static int crypto_rfc4309_create(struct crypto_template *tmpl, in crypto_rfc4309_create()
917 static int cbcmac_create(struct crypto_template *tmpl, struct rtattr **tb) in cbcmac_create()
971 static struct crypto_template crypto_ccm_tmpls[] = {
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.c562 static int chachapoly_create(struct crypto_template *tmpl, struct rtattr **tb, in chachapoly_create()
681 static int rfc7539_create(struct crypto_template *tmpl, struct rtattr **tb) in rfc7539_create()
686 static int rfc7539esp_create(struct crypto_template *tmpl, struct rtattr **tb) in rfc7539esp_create()
691 static struct crypto_template rfc7539_tmpls[] = {
Dlrw.c298 static int create(struct crypto_template *tmpl, struct rtattr **tb) in create()
420 static struct crypto_template crypto_tmpl = {
Dgcm.c582 static int crypto_gcm_create_common(struct crypto_template *tmpl, in crypto_gcm_create_common()
692 static int crypto_gcm_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_gcm_create()
708 static int crypto_gcm_base_create(struct crypto_template *tmpl, in crypto_gcm_base_create()
866 static int crypto_rfc4106_create(struct crypto_template *tmpl, in crypto_rfc4106_create()
1102 static int crypto_rfc4543_create(struct crypto_template *tmpl, in crypto_rfc4543_create()
1192 static struct crypto_template crypto_gcm_tmpls[] = {
/Linux-v5.4/include/crypto/internal/
Dgeniv.h22 struct aead_instance *aead_geniv_alloc(struct crypto_template *tmpl,
Drsa.h56 extern struct crypto_template rsa_pkcs1pad_tmpl;
Dhash.h76 int ahash_register_instance(struct crypto_template *tmpl,
105 int shash_register_instance(struct crypto_template *tmpl,
Dskcipher.h133 int skcipher_register_instance(struct crypto_template *tmpl,
280 skcipher_alloc_instance_simple(struct crypto_template *tmpl, struct rtattr **tb,
Dakcipher.h137 int akcipher_register_instance(struct crypto_template *tmpl,

12