Searched refs:curve_info (Results 1 – 6 of 6) sorted by relevance
1031 const mbedtls_ecp_curve_info *curve_info; in main() local1036 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 …]
188 const mbedtls_ecp_curve_info *curve_info; in main() local208 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()
415 const mbedtls_ecp_curve_info *curve_info; in mbedtls_ecp_grp_id_list() local417 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() local437 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 …]
296 const mbedtls_ecp_curve_info *curve_info = in mbedtls_psa_ecp_generate_key() local304 if (grp_id == MBEDTLS_ECP_DP_NONE || curve_info == NULL) { in mbedtls_psa_ecp_generate_key()
47 const mbedtls_ecp_curve_info *curve_info = in LLVMFuzzerTestOneInput() local52 if (curve_info == NULL) { in LLVMFuzzerTestOneInput()
70 const mbedtls_ecp_curve_info *curve_info = in LLVMFuzzerTestOneInput() local75 if (curve_info == NULL) { in LLVMFuzzerTestOneInput()