public override ECPoint Negate()
        {
            if (IsInfinity)
                return this;

            return new SecP384R1Point(Curve, RawXCoord, RawYCoord.Negate(), RawZCoords, IsCompressed);
        }
Exemple #2
0
        public override ECPoint Negate()
        {
            if (IsInfinity)
            {
                return(this);
            }

            return(new SecP256K1Point(Curve, RawXCoord, RawYCoord.Negate(), RawZCoords, IsCompressed));
        }
Exemple #3
0
        public override ECPoint Negate()
        {
            if (IsInfinity)
            {
                return(this);
            }

            return(new SecP521R1Point(Curve, RawXCoord, RawYCoord.Negate(), RawZCoords));
        }
Exemple #4
0
        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));
        }