Home
last modified time | relevance | path

Searched refs:cra_driver_name (Results 1 – 25 of 38) sorted by relevance

12

/crypto/
Dalgapi.c30 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 …]
Daead.c325 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()
Dkrng.c32 .cra_driver_name = "krng",
Ddrbg.c1690 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()
Dccm.c534 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()
Dcrct10dif_generic.c101 .cra_driver_name = "crct10dif-generic",
Dansi_cprng.c425 .cra_driver_name = "ansi_cprng",
443 .cra_driver_name = "fips_ansi_cprng",
Dgcm.c754 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()
Dcrc32.c134 .cra_driver_name = "crc32-table",
Dproc.c85 seq_printf(m, "driver : %s\n", alg->cra_driver_name); in c_show()
Dblkcipher.c672 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()
Dsha512_generic.c255 .cra_driver_name = "sha512-generic",
268 .cra_driver_name = "sha384-generic",
Dcrc32c_generic.c147 .cra_driver_name = "crc32c-generic",
Dsha1_generic.c133 .cra_driver_name= "sha1-generic",
Dcrypto_null.c123 .cra_driver_name = "ecb-cipher_null",
Dghash-generic.c150 .cra_driver_name = "ghash-generic",
Dblowfish_generic.c111 .cra_driver_name = "blowfish-generic",
Dcrypto_user.c60 match = !strcmp(q->cra_driver_name, in crypto_alg_match()
113 strncpy(ualg->cru_driver_name, alg->cra_driver_name, in crypto_report_one()
Dtwofish_generic.c184 .cra_driver_name = "twofish-generic",
Dapi.c57 return larval->alg.cra_driver_name[0]; in crypto_is_test_larval()
80 exact = !strcmp(q->cra_driver_name, name); in __crypto_alg_lookup()
Dctr.c384 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()
Dauthenc.c652 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()
Dpcrypt.c322 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()
Dauthencesn.c744 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()
Dmcryptd.c239 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()

12