Lines Matching refs:ecg
121 const EC_GROUP *ecg = NULL; in key_to_params() local
127 || (ecg = EC_KEY_get0_group(eckey)) == NULL) in key_to_params()
155 if ((pub_key_len = EC_POINT_point2buf(ecg, pub_point, in key_to_params()
175 if (!EC_POINT_get_affine_coordinates(ecg, pub_point, x, y, bnctx)) in key_to_params()
225 ecbits = EC_GROUP_order_bits(ecg); in key_to_params()
380 const EC_GROUP *ecg = NULL; in common_check_sm2() local
386 if ((ecg = EC_KEY_get0_group(ec)) == NULL in common_check_sm2()
387 || (sm2_wanted ^ (EC_GROUP_get_curve_name(ecg) == NID_sm2))) in common_check_sm2()
643 const EC_GROUP *ecg = NULL; in common_get_params() local
650 ecg = EC_KEY_get0_group(eck); in common_get_params()
651 if (ecg == NULL) { in common_get_params()
668 && !OSSL_PARAM_set_int(p, EC_GROUP_order_bits(ecg))) in common_get_params()
673 ecbits = EC_GROUP_order_bits(ecg); in common_get_params()
749 p->return_size = EC_POINT_point2oct(ecg, ecp, in common_get_params()
756 ret = ec_get_ecm_params(ecg, params) in common_get_params()
757 && ossl_ec_group_todata(ecg, NULL, params, libctx, propq, bnctx, in common_get_params()