Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/include/crypto/
H A 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,
/OK3568_Linux_fs/kernel/crypto/
H A 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()
H A Dfips140-alg-registration.c276 int fips140_aead_register_instance(struct crypto_template *tmpl, in fips140_aead_register_instance()
283 int fips140_ahash_register_instance(struct crypto_template *tmpl, in fips140_ahash_register_instance()
290 int fips140_shash_register_instance(struct crypto_template *tmpl, in fips140_shash_register_instance()
297 int fips140_skcipher_register_instance(struct crypto_template *tmpl, in fips140_skcipher_register_instance()
H A Dalgapi.c74 struct crypto_template *tmpl = inst->tmpl; in crypto_destroy_instance()
116 struct crypto_template *tmpl = inst->tmpl; in crypto_remove_instance()
496 int crypto_register_template(struct crypto_template *tmpl) in crypto_register_template()
498 struct crypto_template *q; in crypto_register_template()
518 int crypto_register_templates(struct crypto_template *tmpls, int count) in crypto_register_templates()
536 void crypto_unregister_template(struct crypto_template *tmpl) in crypto_unregister_template()
565 void crypto_unregister_templates(struct crypto_template *tmpls, int count) in crypto_unregister_templates()
574 static struct crypto_template *__crypto_lookup_template(const char *name) in __crypto_lookup_template()
576 struct crypto_template *q, *tmpl = NULL; in __crypto_lookup_template()
593 struct crypto_template *crypto_lookup_template(const char *name) in crypto_lookup_template()
[all …]
H A Decb.c62 static int crypto_ecb_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ecb_create()
83 static struct crypto_template crypto_ecb_tmpl = {
H A Dofb.c53 static int crypto_ofb_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ofb_create()
84 static struct crypto_template crypto_ofb_tmpl = {
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 Dkeywrap.c264 static int crypto_kw_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_kw_create()
297 static struct crypto_template crypto_kw_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()
331 static struct crypto_template crypto_ctr_tmpls[] = {
H A 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 = {
H A 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 = {
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()
531 static int crypto_ccm_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ccm_create()
552 static int crypto_ccm_base_create(struct crypto_template *tmpl, in crypto_ccm_base_create()
706 static int crypto_rfc4309_create(struct crypto_template *tmpl, in crypto_rfc4309_create()
863 static int cbcmac_create(struct crypto_template *tmpl, struct rtattr **tb) in cbcmac_create()
917 static struct crypto_template crypto_ccm_tmpls[] = {
H A Dcbc.c174 static int crypto_cbc_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_cbc_create()
202 static struct crypto_template crypto_cbc_tmpl = {
H A Dcfb.c201 static int crypto_cfb_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_cfb_create()
232 static struct crypto_template crypto_cfb_tmpl = {
H A Dhmac.c165 static int hmac_create(struct crypto_template *tmpl, struct rtattr **tb) in hmac_create()
238 static struct crypto_template hmac_tmpl = {
H A Dxcbc.c189 static int xcbc_create(struct crypto_template *tmpl, struct rtattr **tb) in xcbc_create()
254 static struct crypto_template crypto_xcbc_tmpl = {
H A 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[] = {
H A 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[] = {
H A Dcmac.c223 static int cmac_create(struct crypto_template *tmpl, struct rtattr **tb) in cmac_create()
295 static struct crypto_template crypto_cmac_tmpl = {
/OK3568_Linux_fs/kernel/include/crypto/internal/
H A Dskcipher.h129 int skcipher_register_instance(struct crypto_template *tmpl,
213 struct crypto_template *tmpl, struct rtattr **tb);
H A Dhash.h75 int ahash_register_instance(struct crypto_template *tmpl,
107 int shash_register_instance(struct crypto_template *tmpl,
H A Dgeniv.h22 struct aead_instance *aead_geniv_alloc(struct crypto_template *tmpl,
H A Drsa.h56 extern struct crypto_template rsa_pkcs1pad_tmpl;
H A Dakcipher.h131 int akcipher_register_instance(struct crypto_template *tmpl,

12