| /OK3568_Linux_fs/kernel/include/crypto/ |
| H A D | algapi.h | 49 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 D | internal.h | 23 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 D | fips140-alg-registration.c | 276 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 D | algapi.c | 74 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 D | ecb.c | 62 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 D | ofb.c | 53 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 D | echainiv.c | 112 static int echainiv_aead_create(struct crypto_template *tmpl, in echainiv_aead_create() 144 static struct crypto_template echainiv_tmpl = {
|
| H A D | keywrap.c | 264 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 D | ctr.c | 127 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 D | pcrypt.c | 232 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 D | seqiv.c | 136 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 D | pcbc.c | 154 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 D | ccm.c | 446 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 D | cbc.c | 174 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 D | cfb.c | 201 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 D | hmac.c | 165 static int hmac_create(struct crypto_template *tmpl, struct rtattr **tb) in hmac_create() 238 static struct crypto_template hmac_tmpl = {
|
| H A D | xcbc.c | 189 static int xcbc_create(struct crypto_template *tmpl, struct rtattr **tb) in xcbc_create() 254 static struct crypto_template crypto_xcbc_tmpl = {
|
| H A D | gcm.c | 576 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 D | chacha20poly1305.c | 555 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 D | cmac.c | 223 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 D | skcipher.h | 129 int skcipher_register_instance(struct crypto_template *tmpl, 213 struct crypto_template *tmpl, struct rtattr **tb);
|
| H A D | hash.h | 75 int ahash_register_instance(struct crypto_template *tmpl, 107 int shash_register_instance(struct crypto_template *tmpl,
|
| H A D | geniv.h | 22 struct aead_instance *aead_geniv_alloc(struct crypto_template *tmpl,
|
| H A D | rsa.h | 56 extern struct crypto_template rsa_pkcs1pad_tmpl;
|
| H A D | akcipher.h | 131 int akcipher_register_instance(struct crypto_template *tmpl,
|