EC_GROUP_check_discriminant
if (!EC_GROUP_check_discriminant(group, ctx)) {
int EC_GROUP_check_discriminant(const EC_GROUP *group, BN_CTX *ctx);