Home
last modified time | relevance | path

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

12

/linux/include/crypto/
H A Dalgapi.h74 struct crypto_template *tmpl;
88 struct crypto_template { struct
93 int (*create)(struct crypto_template *tmpl, struct rtattr **tb); argument
145 int crypto_register_template(struct crypto_template *tmpl);
146 int crypto_register_templates(struct crypto_template *tmpls, int count);
147 void crypto_unregister_template(struct crypto_template *tmpl);
148 void crypto_unregister_templates(struct crypto_template *tmpls, int count);
149 struct crypto_template *crypto_lookup_template(const char *name);
151 int crypto_register_instance(struct crypto_template *tmpl,
/linux/crypto/
H A Ddh.c552 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 Decb.c98 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 Dinternal.h26 struct crypto_template;
156 static inline int crypto_tmpl_get(struct crypto_template *tmpl) in crypto_tmpl_get()
161 static inline void crypto_tmpl_put(struct crypto_template *tmpl) in crypto_tmpl_put()
H A Dechainiv.c112 static int echainiv_aead_create(struct crypto_template *tmpl, in echainiv_aead_create()
144 static struct crypto_template echainiv_tmpl = {
H A 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()
329 static struct crypto_template crypto_ctr_tmpls[] = {
H A Dseqiv.c135 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 Dcbc.c138 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 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 = {
H A Dhctr2.c404 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 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 = {
H A Dccm.c446 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 Dxcbc.c184 static int xcbc_create(struct crypto_template *tmpl, struct rtattr **tb) in xcbc_create()
242 static struct crypto_template crypto_xcbc_tmpl = {
H A Dchacha20poly1305.c555 static int chachapoly_create(struct crypto_template *tmpl, struct rtattr **tb, in chachapoly_create()
636 static int rfc7539_create(struct crypto_template *tmpl, struct rtattr **tb) in rfc7539_create()
641 static int rfc7539esp_create(struct crypto_template *tmpl, struct rtattr **tb) in rfc7539esp_create()
646 static struct crypto_template rfc7539_tmpls[] = {
H A Dhmac.c177 static int hmac_create(struct crypto_template *tmpl, struct rtattr **tb) in hmac_create()
246 static struct crypto_template hmac_tmpl = {
H A Dcmac.c232 static int cmac_create(struct crypto_template *tmpl, struct rtattr **tb) in cmac_create()
294 static struct crypto_template crypto_cmac_tmpl = {
H A Dgcm.c574 static int crypto_gcm_create_common(struct crypto_template *tmpl, in crypto_gcm_create_common()
654 static int crypto_gcm_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_gcm_create()
670 static int crypto_gcm_base_create(struct crypto_template *tmpl, in crypto_gcm_base_create()
823 static int crypto_rfc4106_create(struct crypto_template *tmpl, in crypto_rfc4106_create()
1038 static int crypto_rfc4543_create(struct crypto_template *tmpl, in crypto_rfc4543_create()
1110 static struct crypto_template crypto_gcm_tmpls[] = {
H A Dlrw.c299 static int lrw_create(struct crypto_template *tmpl, struct rtattr **tb) in lrw_create()
407 static struct crypto_template lrw_tmpl = {
H A Drsassa-pkcs1.c355 static int rsassa_pkcs1_create(struct crypto_template *tmpl, struct rtattr **tb) in rsassa_pkcs1_create()
431 struct crypto_template rsassa_pkcs1_tmpl = {
H A Dcts.c324 static int crypto_cts_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_cts_create()
389 static struct crypto_template crypto_cts_tmpl = {
H A Dcryptd.c373 static int cryptd_create_skcipher(struct crypto_template *tmpl, in cryptd_create_skcipher()
658 static int cryptd_create_hash(struct crypto_template *tmpl, struct rtattr **tb, in cryptd_create_hash()
866 static int cryptd_create_aead(struct crypto_template *tmpl, in cryptd_create_aead()
923 static int cryptd_create(struct crypto_template *tmpl, struct rtattr **tb) in cryptd_create()
943 static struct crypto_template cryptd_tmpl = {
H A Dkpp.c130 int kpp_register_instance(struct crypto_template *tmpl, in kpp_register_instance()
/linux/include/crypto/internal/
H A Dgeniv.h22 struct aead_instance *aead_geniv_alloc(struct crypto_template *tmpl,
H A Dkpp.h181 int kpp_register_instance(struct crypto_template *tmpl,
H A Daead.h164 int aead_register_instance(struct crypto_template *tmpl,

12