ossl_ec_check_curve_allowed
int ossl_ec_check_curve_allowed(const EC_GROUP *group);
curve_allowed = ossl_ec_check_curve_allowed(group);