Home
last modified time | relevance | path

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

12

/linux/include/crypto/
H A Dalgapi.h62 struct crypto_template *tmpl;
74 struct crypto_template { struct
82 int (*create)(struct crypto_template *tmpl, struct rtattr **tb); argument
141 int crypto_register_template(struct crypto_template *tmpl);
142 int crypto_register_templates(struct crypto_template *tmpls, int count);
143 void crypto_unregister_template(struct crypto_template *tmpl);
144 void crypto_unregister_templates(struct crypto_template *tmpls, int count);
145 struct crypto_template *crypto_lookup_template(const char *name);
147 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 Dhmac.c182 static int __hmac_create_shash(struct crypto_template *tmpl, in __hmac_create_shash()
448 static int hmac_create_ahash(struct crypto_template *tmpl, struct rtattr **tb, in hmac_create_ahash()
519 static int hmac_create(struct crypto_template *tmpl, struct rtattr **tb) in hmac_create()
541 static int hmac_create_shash(struct crypto_template *tmpl, struct rtattr **tb) in hmac_create_shash()
553 static struct crypto_template hmac_tmpls[] = {
H A Dechainiv.c100 static int echainiv_aead_create(struct crypto_template *tmpl, in echainiv_aead_create()
132 static struct crypto_template echainiv_tmpl = {
H A Dhctr2.c325 static int hctr2_create_common(struct crypto_template *tmpl, struct rtattr **tb, in hctr2_create_common()
415 static int hctr2_create_base(struct crypto_template *tmpl, struct rtattr **tb) in hctr2_create_base()
434 static int hctr2_create(struct crypto_template *tmpl, struct rtattr **tb) in hctr2_create()
450 static struct crypto_template hctr2_tmpls[] = {
H A Decdsa-p1363.c99 static int ecdsa_p1363_create(struct crypto_template *tmpl, struct rtattr **tb) in ecdsa_p1363_create()
155 struct crypto_template ecdsa_p1363_tmpl = {
H A Dchacha20poly1305.c371 static int chachapoly_create(struct crypto_template *tmpl, struct rtattr **tb, in chachapoly_create()
445 static int rfc7539_create(struct crypto_template *tmpl, struct rtattr **tb) in rfc7539_create()
450 static int rfc7539esp_create(struct crypto_template *tmpl, struct rtattr **tb) in rfc7539esp_create()
455 static struct crypto_template rfc7539_tmpls[] = {
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 Dpcrypt.c237 static int pcrypt_create_aead(struct crypto_template *tmpl, struct rtattr **tb, in pcrypt_create_aead()
296 static int pcrypt_create(struct crypto_template *tmpl, struct rtattr **tb) in pcrypt_create()
339 static struct crypto_template pcrypt_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 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 Dseqiv.c126 static int seqiv_aead_create(struct crypto_template *tmpl, struct rtattr **tb) in seqiv_aead_create()
157 static struct crypto_template seqiv_tmpl = {
H A Decdsa-x962.c176 static int ecdsa_x962_create(struct crypto_template *tmpl, struct rtattr **tb) in ecdsa_x962_create()
232 struct crypto_template ecdsa_x962_tmpl = {
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 Dxcbc.c127 static int xcbc_create(struct crypto_template *tmpl, struct rtattr **tb) in xcbc_create()
186 static struct crypto_template crypto_xcbc_tmpl = {
H A Dccm.c442 static int crypto_ccm_create_common(struct crypto_template *tmpl, in crypto_ccm_create_common()
525 static int crypto_ccm_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ccm_create()
546 static int crypto_ccm_base_create(struct crypto_template *tmpl, in crypto_ccm_base_create()
700 static int crypto_rfc4309_create(struct crypto_template *tmpl, in crypto_rfc4309_create()
847 static int cbcmac_create(struct crypto_template *tmpl, struct rtattr **tb) in cbcmac_create()
900 static struct crypto_template crypto_ccm_tmpls[] = {
H A Dcmac.c175 static int cmac_create(struct crypto_template *tmpl, struct rtattr **tb) in cmac_create()
238 static struct crypto_template crypto_cmac_tmpl = {
H A Dgcm.c570 static int crypto_gcm_create_common(struct crypto_template *tmpl, in crypto_gcm_create_common()
650 static int crypto_gcm_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_gcm_create()
666 static int crypto_gcm_base_create(struct crypto_template *tmpl, in crypto_gcm_base_create()
819 static int crypto_rfc4106_create(struct crypto_template *tmpl, in crypto_rfc4106_create()
1005 static int crypto_rfc4543_create(struct crypto_template *tmpl, in crypto_rfc4543_create()
1077 static struct crypto_template crypto_gcm_tmpls[] = {
/linux/include/crypto/internal/
H A Dskcipher.h204 int skcipher_register_instance(struct crypto_template *tmpl,
211 int lskcipher_register_instance(struct crypto_template *tmpl,
285 struct crypto_template *tmpl, struct rtattr **tb);
304 struct crypto_template *tmpl, struct rtattr **tb);
H A Drsa.h84 extern struct crypto_template rsa_pkcs1pad_tmpl;
85 extern struct crypto_template rsassa_pkcs1_tmpl;
H A Decc.h308 extern struct crypto_template ecdsa_x962_tmpl;
309 extern struct crypto_template ecdsa_p1363_tmpl;
H A Dgeniv.h21 struct aead_instance *aead_geniv_alloc(struct crypto_template *tmpl,
H A Dsig.h53 int sig_register_instance(struct crypto_template *tmpl,
H A Dhash.h91 int ahash_register_instance(struct crypto_template *tmpl,
142 int shash_register_instance(struct crypto_template *tmpl,

12