internal static ECPoint ImplCheckResult(ECPoint p) { if (!p.IsValidPartial()) { throw new InvalidOperationException("Invalid result"); } return(p); }