public override ECPoint Negate() { if (IsInfinity) return this; return new SecP384R1Point(Curve, RawXCoord, RawYCoord.Negate(), RawZCoords, IsCompressed); }
public virtual ECPoint ScaleY(ECFieldElement scale) { if (!IsInfinity) { return(Curve.CreateRawPoint(RawXCoord, RawYCoord.Multiply(scale), RawZCoords, IsCompressed)); } return(this); }
public override ECPoint Negate() { if (IsInfinity) { return(this); } return(new SecP256K1Point(Curve, RawXCoord, RawYCoord.Negate(), RawZCoords, IsCompressed)); }
public override ECPoint Negate() { if (IsInfinity) { return(this); } return(new SecP521R1Point(Curve, RawXCoord, RawYCoord.Negate(), RawZCoords)); }
public override ECPoint Negate() { if (IsInfinity) { return(this); } ECCurve curve = Curve; int coord = curve.CoordinateSystem; if (ECCurve.COORD_AFFINE != coord) { return(new FpPoint(curve, RawXCoord, RawYCoord.Negate(), RawZCoords, IsCompressed)); } return(new FpPoint(curve, RawXCoord, RawYCoord.Negate(), IsCompressed)); }
protected virtual ECPoint CreateScaledPoint(ECFieldElement sx, ECFieldElement sy) { return(Curve.CreateRawPoint(RawXCoord.Multiply(sx), RawYCoord.Multiply(sy), IsCompressed)); }