/crypto/ |
D | algapi.c | 30 char *driver_name = alg->cra_driver_name; in crypto_set_driver_name() 212 if (!strcmp(alg->cra_driver_name, q->cra_driver_name)) in __crypto_register_alg() 217 if (!strcmp(q->cra_driver_name, alg->cra_name) || in __crypto_register_alg() 218 !strcmp(q->cra_name, alg->cra_driver_name)) in __crypto_register_alg() 233 memcpy(larval->alg.cra_driver_name, alg->cra_driver_name, in __crypto_register_alg() 264 if (!strcmp(q->cra_driver_name, name)) in crypto_alg_tested() 295 strcmp(alg->cra_driver_name, q->cra_name)) in crypto_alg_tested() 312 if (strcmp(alg->cra_driver_name, q->cra_driver_name) && in crypto_alg_tested() 349 crypto_alg_tested(larval->alg.cra_driver_name, 0); in crypto_wait_for_test() 443 algs[i].cra_driver_name, algs[i].cra_name, ret); in crypto_unregister_algs() [all …]
|
D | aead.c | 325 memcpy(inst->alg.cra_driver_name, alg->cra_driver_name, in aead_geniv_alloc() 333 if (snprintf(inst->alg.cra_driver_name, CRYPTO_MAX_ALG_NAME, in aead_geniv_alloc() 334 "%s(%s)", tmpl->name, alg->cra_driver_name) >= in aead_geniv_alloc() 413 larval = crypto_larval_lookup(alg->cra_driver_name, in crypto_nivaead_default() 434 memcpy(palg.data.name, alg->cra_driver_name, CRYPTO_MAX_ALG_NAME); in crypto_nivaead_default()
|
D | krng.c | 32 .cra_driver_name = "krng",
|
D | drbg.c | 1690 static inline void drbg_convert_tfm_core(const char *cra_driver_name, in drbg_convert_tfm_core() argument 1699 if (!memcmp(cra_driver_name, "drbg_nopr_", 10)) { in drbg_convert_tfm_core() 1702 } else if (!memcmp(cra_driver_name, "drbg_pr_", 8)) { in drbg_convert_tfm_core() 1709 len = strlen(cra_driver_name) - start; in drbg_convert_tfm_core() 1711 if (!memcmp(cra_driver_name + start, drbg_cores[i].cra_name, in drbg_convert_tfm_core() 1906 memcpy(alg->cra_driver_name, "drbg_pr_", 8); in drbg_fill_array() 1909 memcpy(alg->cra_driver_name, "drbg_nopr_", 10); in drbg_fill_array() 1912 memcpy(alg->cra_driver_name + pos, core->cra_name, in drbg_fill_array()
|
D | ccm.c | 534 if (snprintf(inst->alg.cra_driver_name, CRYPTO_MAX_ALG_NAME, in crypto_ccm_alloc_common() 535 "ccm_base(%s,%s)", ctr->cra_driver_name, in crypto_ccm_alloc_common() 536 cipher->cra_driver_name) >= CRYPTO_MAX_ALG_NAME) in crypto_ccm_alloc_common() 793 snprintf(inst->alg.cra_driver_name, CRYPTO_MAX_ALG_NAME, in crypto_rfc4309_alloc() 794 "rfc4309(%s)", alg->cra_driver_name) >= in crypto_rfc4309_alloc()
|
D | crct10dif_generic.c | 101 .cra_driver_name = "crct10dif-generic",
|
D | ansi_cprng.c | 425 .cra_driver_name = "ansi_cprng", 443 .cra_driver_name = "fips_ansi_cprng",
|
D | gcm.c | 754 if (snprintf(inst->alg.cra_driver_name, CRYPTO_MAX_ALG_NAME, in crypto_gcm_alloc_common() 755 "gcm_base(%s,%s)", ctr->cra_driver_name, in crypto_gcm_alloc_common() 756 ghash_alg->cra_driver_name) >= in crypto_gcm_alloc_common() 1010 snprintf(inst->alg.cra_driver_name, CRYPTO_MAX_ALG_NAME, in crypto_rfc4106_alloc() 1011 "rfc4106(%s)", alg->cra_driver_name) >= in crypto_rfc4106_alloc() 1335 snprintf(inst->alg.cra_driver_name, CRYPTO_MAX_ALG_NAME, in crypto_rfc4543_alloc() 1336 "rfc4543(%s)", alg->cra_driver_name) >= in crypto_rfc4543_alloc()
|
D | crc32.c | 134 .cra_driver_name = "crc32-table",
|
D | proc.c | 85 seq_printf(m, "driver : %s\n", alg->cra_driver_name); in c_show()
|
D | blkcipher.c | 672 memcpy(inst->alg.cra_driver_name, alg->cra_driver_name, in skcipher_geniv_alloc() 680 if (snprintf(inst->alg.cra_driver_name, CRYPTO_MAX_ALG_NAME, in skcipher_geniv_alloc() 681 "%s(%s)", tmpl->name, alg->cra_driver_name) >= in skcipher_geniv_alloc()
|
D | sha512_generic.c | 255 .cra_driver_name = "sha512-generic", 268 .cra_driver_name = "sha384-generic",
|
D | crc32c_generic.c | 147 .cra_driver_name = "crc32c-generic",
|
D | sha1_generic.c | 133 .cra_driver_name= "sha1-generic",
|
D | crypto_null.c | 123 .cra_driver_name = "ecb-cipher_null",
|
D | ghash-generic.c | 150 .cra_driver_name = "ghash-generic",
|
D | blowfish_generic.c | 111 .cra_driver_name = "blowfish-generic",
|
D | crypto_user.c | 60 match = !strcmp(q->cra_driver_name, in crypto_alg_match() 113 strncpy(ualg->cru_driver_name, alg->cra_driver_name, in crypto_report_one()
|
D | twofish_generic.c | 184 .cra_driver_name = "twofish-generic",
|
D | api.c | 57 return larval->alg.cra_driver_name[0]; in crypto_is_test_larval() 80 exact = !strcmp(q->cra_driver_name, name); in __crypto_alg_lookup()
|
D | ctr.c | 384 if (snprintf(inst->alg.cra_driver_name, CRYPTO_MAX_ALG_NAME, in crypto_rfc3686_alloc() 385 "rfc3686(%s)", alg->cra_driver_name) >= in crypto_rfc3686_alloc()
|
D | authenc.c | 652 if (snprintf(inst->alg.cra_driver_name, CRYPTO_MAX_ALG_NAME, in crypto_authenc_alloc() 653 "authenc(%s,%s)", auth_base->cra_driver_name, in crypto_authenc_alloc() 654 enc->cra_driver_name) >= CRYPTO_MAX_ALG_NAME) in crypto_authenc_alloc()
|
D | pcrypt.c | 322 if (snprintf(inst->alg.cra_driver_name, CRYPTO_MAX_ALG_NAME, in pcrypt_alloc_instance() 323 "pcrypt(%s)", alg->cra_driver_name) >= CRYPTO_MAX_ALG_NAME) in pcrypt_alloc_instance()
|
D | authencesn.c | 744 if (snprintf(inst->alg.cra_driver_name, CRYPTO_MAX_ALG_NAME, in crypto_authenc_esn_alloc() 745 "authencesn(%s,%s)", auth_base->cra_driver_name, in crypto_authenc_esn_alloc() 746 enc->cra_driver_name) >= CRYPTO_MAX_ALG_NAME) in crypto_authenc_esn_alloc()
|
D | mcryptd.c | 239 if (snprintf(inst->alg.cra_driver_name, CRYPTO_MAX_ALG_NAME, in mcryptd_alloc_instance() 240 "mcryptd(%s)", alg->cra_driver_name) >= CRYPTO_MAX_ALG_NAME) in mcryptd_alloc_instance()
|