Home
last modified time | relevance | path

Searched refs:curve_info (Results 1 – 6 of 6) sorted by relevance

/mbedtls-3.5.0/programs/test/
Dbenchmark.c1031 const mbedtls_ecp_curve_info *curve_info; in main() local
1036 for (curve_info = curve_list; in main()
1037 curve_info->grp_id != MBEDTLS_ECP_DP_NONE; in main()
1038 curve_info++) { in main()
1039 if (!mbedtls_ecdsa_can_do(curve_info->grp_id)) { in main()
1045 if (mbedtls_ecdsa_genkey(&ecdsa, curve_info->grp_id, myrand, NULL) != 0) { in main()
1050 curve_info->name); in main()
1055 curve_info->bit_size, in main()
1062 for (curve_info = curve_list; in main()
1063 curve_info->grp_id != MBEDTLS_ECP_DP_NONE; in main()
[all …]
/mbedtls-3.5.0/programs/pkey/
Dgen_key.c188 const mbedtls_ecp_curve_info *curve_info; in main() local
208 curve_info = mbedtls_ecp_curve_list(); in main()
209 mbedtls_printf(" %s (default)\n", curve_info->name); in main()
210 while ((++curve_info)->name != NULL) { in main()
211 mbedtls_printf(" %s\n", curve_info->name); in main()
256 if ((curve_info = mbedtls_ecp_curve_info_from_name(q)) == NULL) { in main()
259 opt.ec_curve = curve_info->grp_id; in main()
/mbedtls-3.5.0/library/
Decp.c415 const mbedtls_ecp_curve_info *curve_info; in mbedtls_ecp_grp_id_list() local
417 for (curve_info = mbedtls_ecp_curve_list(); in mbedtls_ecp_grp_id_list()
418 curve_info->grp_id != MBEDTLS_ECP_DP_NONE; in mbedtls_ecp_grp_id_list()
419 curve_info++) { in mbedtls_ecp_grp_id_list()
420 ecp_supported_grp_id[i++] = curve_info->grp_id; in mbedtls_ecp_grp_id_list()
435 const mbedtls_ecp_curve_info *curve_info; in mbedtls_ecp_curve_info_from_grp_id() local
437 for (curve_info = mbedtls_ecp_curve_list(); in mbedtls_ecp_curve_info_from_grp_id()
438 curve_info->grp_id != MBEDTLS_ECP_DP_NONE; in mbedtls_ecp_curve_info_from_grp_id()
439 curve_info++) { in mbedtls_ecp_curve_info_from_grp_id()
440 if (curve_info->grp_id == grp_id) { in mbedtls_ecp_curve_info_from_grp_id()
[all …]
Dpsa_crypto_ecp.c296 const mbedtls_ecp_curve_info *curve_info = in mbedtls_psa_ecp_generate_key() local
304 if (grp_id == MBEDTLS_ECP_DP_NONE || curve_info == NULL) { in mbedtls_psa_ecp_generate_key()
/mbedtls-3.5.0/programs/fuzz/
Dfuzz_pubkey.c47 const mbedtls_ecp_curve_info *curve_info = in LLVMFuzzerTestOneInput() local
52 if (curve_info == NULL) { in LLVMFuzzerTestOneInput()
Dfuzz_privkey.c70 const mbedtls_ecp_curve_info *curve_info = in LLVMFuzzerTestOneInput() local
75 if (curve_info == NULL) { in LLVMFuzzerTestOneInput()