Home
last modified time | relevance | path

Searched refs:curve_name (Results 1 – 15 of 15) sorted by relevance

/openssl/apps/
H A Decparam.c104 char *curve_name = NULL; in ecparam_main() local
159 curve_name = opt_arg(); in ecparam_main()
197 if (curve_name != NULL) { in ecparam_main()
201 if (strcmp(curve_name, "secp192r1") == 0) { in ecparam_main()
204 curve_name = SN_X9_62_prime192v1; in ecparam_main()
205 } else if (strcmp(curve_name, "secp256r1") == 0) { in ecparam_main()
208 curve_name = SN_X9_62_prime256v1; in ecparam_main()
211 curve_name, 0); in ecparam_main()
221 if (OPENSSL_strcasecmp(curve_name, "SM2") == 0) in ecparam_main()
/openssl/providers/common/
H A Dsecuritycheck.c94 const char *curve_name; in ossl_ec_check_curve_allowed() local
101 curve_name = EC_curve_nid2nist(nid); in ossl_ec_check_curve_allowed()
102 if (curve_name == NULL) in ossl_ec_check_curve_allowed()
/openssl/crypto/ec/
H A Dec_lib.c175 dest->curve_name = src->curve_name; in EC_GROUP_copy()
485 group->curve_name = nid; in EC_GROUP_set_curve_name()
494 return group->curve_name; in EC_GROUP_get_curve_name()
734 ret->curve_name = group->curve_name; in EC_POINT_new()
777 || (dest->curve_name != src->curve_name in EC_POINT_copy()
778 && dest->curve_name != 0 in EC_POINT_copy()
779 && src->curve_name != 0)) { in EC_POINT_copy()
1479 const char *curve_name = NULL; in group_new_from_name() local
1484 curve_name = p->data; in group_new_from_name()
1485 ok = (curve_name != NULL); in group_new_from_name()
[all …]
H A Dec_local.h216 int curve_name; /* optional NID for named curve */ member
314 int curve_name; member
331 && (group->curve_name == 0 in ec_point_is_compat()
332 || point->curve_name == 0 in ec_point_is_compat()
333 || group->curve_name == point->curve_name); in ec_point_is_compat()
H A Dec_asn1.c527 int curve_name = NID_undef; in EC_GROUP_new_from_ecparameters() local
778 if ((curve_name = ossl_ec_curve_nid_from_params(dup, ctx)) != NID_undef) { in EC_GROUP_new_from_ecparameters()
795 if (curve_name == NID_wap_wsg_idm_ecid_wtls12) in EC_GROUP_new_from_ecparameters()
796 curve_name = NID_secp224r1; in EC_GROUP_new_from_ecparameters()
799 if ((named_group = EC_GROUP_new_by_curve_name(curve_name)) == NULL) { in EC_GROUP_new_from_ecparameters()
H A Dec_backend.c339 const char *curve_name = OSSL_EC_curve_nid2name(curve_nid); in ossl_ec_group_todata() local
341 if (curve_name == NULL in ossl_ec_group_todata()
344 curve_name)) { in ossl_ec_group_todata()
H A Dec2_smpl.c267 dest->curve_name = src->curve_name; in ossl_ec_GF2m_simple_point_copy()
H A Decp_smpl.c362 dest->curve_name = src->curve_name; in ossl_ec_GFp_simple_point_copy()
/openssl/crypto/x509/
H A Dx509_cmp.c439 char curve_name[80]; in check_suite_b() local
446 if (!EVP_PKEY_get_group_name(pkey, curve_name, sizeof(curve_name), in check_suite_b()
450 curve_nid = OBJ_txt2nid(curve_name); in check_suite_b()
/openssl/doc/man3/
H A DEVP_PKEY_gettable_params.pod95 char curve_name[64];
105 curve_name, sizeof(curve_name), &len)) {
/openssl/providers/implementations/encode_decode/
H A Dencode_key2text.c474 const char *curve_name; in ec_param_to_text() local
484 curve_name = EC_curve_nid2nist(curve_nid); in ec_param_to_text()
485 return (curve_name == NULL in ec_param_to_text()
486 || BIO_printf(out, "%s: %s\n", "NIST CURVE", curve_name) > 0); in ec_param_to_text()
/openssl/test/
H A Dacvp_test.c154 if (!TEST_ptr(pkey = EVP_PKEY_Q_keygen(libctx, NULL, "EC", tst->curve_name)) in ecdsa_keygen_test()
178 static int ecdsa_create_pkey(EVP_PKEY **pkey, const char *curve_name, in ecdsa_create_pkey() argument
188 || (curve_name != NULL in ecdsa_create_pkey()
190 bld, OSSL_PKEY_PARAM_GROUP_NAME, curve_name, 0) > 0)) in ecdsa_create_pkey()
217 if (!TEST_true(ecdsa_create_pkey(&pkey, tst->curve_name, in ecdsa_pub_verify_test()
284 if (!TEST_ptr(pkey = EVP_PKEY_Q_keygen(libctx, NULL, "EC", tst->curve_name))) in ecdsa_siggen_test()
314 if (!TEST_true(ecdsa_create_pkey(&pkey, tst->curve_name, in ecdsa_sigver_test()
473 if (!TEST_true(eddsa_create_pkey(&pkey, tst->curve_name, in eddsa_pub_verify_test()
497 if (!TEST_ptr(pkey = EVP_PKEY_Q_keygen(libctx, NULL, tst->curve_name)) in eddsa_keygen_test()
H A Dectest.c2810 const char *curve_name = NULL; in custom_params_test() local
2830 curve_name = OBJ_nid2sn(nid); in custom_params_test()
2831 TEST_note("Curve %s", curve_name); in custom_params_test()
3010 curve_name, 0)) in custom_params_test()
3024 curve_name, 0)) in custom_params_test()
H A Dacvp_test.inc17 const char *curve_name;
21 const char *curve_name;
29 const char *curve_name;
36 const char *curve_name;
/openssl/
H A DCHANGES.md13010 Also add a 'curve_name' member to EC_GROUP objects, which can be

Completed in 123 milliseconds