/third_party/node/deps/openssl/openssl/providers/implementations/keymgmt/ |
H A D | ec_kmgmt.c | 118 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 D | ec_kmgmt.c | 118 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 D | ec_backend.c | 361 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 D | ec_ameth.c | 477 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 D | ec_backend.c | 361 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 D | ec_ameth.c | 477 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 D | ctrl_params_translate.c | 1639 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 D | ctrl_params_translate.c | 1636 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()
|