Home
last modified time | relevance | path

Searched refs:ecg (Results 1 - 8 of 8) sorted by relevance

/third_party/node/deps/openssl/openssl/providers/implementations/keymgmt/
H A Dec_kmgmt.c118 const EC_GROUP *ecg = NULL; in key_to_params() local
124 || (ecg = EC_KEY_get0_group(eckey)) == NULL) in key_to_params()
152 if ((pub_key_len = EC_POINT_point2buf(ecg, pub_point, in key_to_params()
172 if (!EC_POINT_get_affine_coordinates(ecg, pub_point, x, y, bnctx)) in key_to_params()
222 ecbits = EC_GROUP_order_bits(ecg); in key_to_params()
377 const EC_GROUP *ecg = NULL; in common_check_sm2() local
383 if ((ecg = EC_KEY_get0_group(ec)) == NULL in common_check_sm2()
384 || (sm2_wanted ^ (EC_GROUP_get_curve_name(ecg) == NID_sm2))) in common_check_sm2()
640 const EC_GROUP *ecg = NULL; in common_get_params() local
647 ecg in common_get_params()
[all...]
/third_party/openssl/providers/implementations/keymgmt/
H A Dec_kmgmt.c118 const EC_GROUP *ecg = NULL; in key_to_params() local
124 || (ecg = EC_KEY_get0_group(eckey)) == NULL) in key_to_params()
152 if ((pub_key_len = EC_POINT_point2buf(ecg, pub_point, in key_to_params()
172 if (!EC_POINT_get_affine_coordinates(ecg, pub_point, x, y, bnctx)) in key_to_params()
222 ecbits = EC_GROUP_order_bits(ecg); in key_to_params()
377 const EC_GROUP *ecg = NULL; in common_check_sm2() local
383 if ((ecg = EC_KEY_get0_group(ec)) == NULL in common_check_sm2()
384 || (sm2_wanted ^ (EC_GROUP_get_curve_name(ecg) == NID_sm2))) in common_check_sm2()
640 const EC_GROUP *ecg = NULL; in common_get_params() local
647 ecg in common_get_params()
[all...]
/third_party/node/deps/openssl/openssl/crypto/ec/
H A Dec_backend.c361 const EC_GROUP *ecg = EC_KEY_get0_group(ec); in ossl_ec_set_ecdh_cofactor_mode() local
373 if ((cofactor = EC_GROUP_get0_cofactor(ecg)) == NULL ) in ossl_ec_set_ecdh_cofactor_mode()
403 const EC_GROUP *ecg = NULL; in ossl_ec_key_fromdata() local
407 ecg = EC_KEY_get0_group(ec); in ossl_ec_key_fromdata()
408 if (ecg == NULL) in ossl_ec_key_fromdata()
424 || (pub_point = EC_POINT_new(ecg)) == NULL in ossl_ec_key_fromdata()
425 || !EC_POINT_oct2point(ecg, pub_point, pub_key, pub_key_len, ctx)) in ossl_ec_key_fromdata()
465 order = EC_GROUP_get0_order(ecg); in ossl_ec_key_fromdata()
H A Dec_ameth.c477 const EC_GROUP *ecg = NULL; in ec_pkey_export_to() local
490 || (ecg = EC_KEY_get0_group(eckey)) == NULL) in ec_pkey_export_to()
507 if (!ossl_ec_group_todata(ecg, tmpl, NULL, libctx, propq, bnctx, &gen_buf)) in ec_pkey_export_to()
518 if ((pub_key_buflen = EC_POINT_point2buf(ecg, pub_point, in ec_pkey_export_to()
567 ecbits = EC_GROUP_order_bits(ecg); in ec_pkey_export_to()
/third_party/openssl/crypto/ec/
H A Dec_backend.c361 const EC_GROUP *ecg = EC_KEY_get0_group(ec); in ossl_ec_set_ecdh_cofactor_mode() local
373 if ((cofactor = EC_GROUP_get0_cofactor(ecg)) == NULL ) in ossl_ec_set_ecdh_cofactor_mode()
403 const EC_GROUP *ecg = NULL; in ossl_ec_key_fromdata() local
407 ecg = EC_KEY_get0_group(ec); in ossl_ec_key_fromdata()
408 if (ecg == NULL) in ossl_ec_key_fromdata()
424 || (pub_point = EC_POINT_new(ecg)) == NULL in ossl_ec_key_fromdata()
425 || !EC_POINT_oct2point(ecg, pub_point, pub_key, pub_key_len, ctx)) in ossl_ec_key_fromdata()
465 order = EC_GROUP_get0_order(ecg); in ossl_ec_key_fromdata()
H A Dec_ameth.c477 const EC_GROUP *ecg = NULL; in ec_pkey_export_to() local
490 || (ecg = EC_KEY_get0_group(eckey)) == NULL) in ec_pkey_export_to()
507 if (!ossl_ec_group_todata(ecg, tmpl, NULL, libctx, propq, bnctx, &gen_buf)) in ec_pkey_export_to()
518 if ((pub_key_buflen = EC_POINT_point2buf(ecg, pub_point, in ec_pkey_export_to()
567 ecbits = EC_GROUP_order_bits(ecg); in ec_pkey_export_to()
/third_party/node/deps/openssl/openssl/crypto/evp/
H A Dctrl_params_translate.c1639 const EC_GROUP *ecg = EC_KEY_get0_group(eckey); in get_payload_public_key() local
1644 ctx->sz = EC_POINT_point2buf(ecg, point, in get_payload_public_key()
/third_party/openssl/crypto/evp/
H A Dctrl_params_translate.c1636 const EC_GROUP *ecg = EC_KEY_get0_group(eckey); in get_payload_public_key() local
1641 ctx->sz = EC_POINT_point2buf(ecg, point, in get_payload_public_key()

Completed in 15 milliseconds