Exemplo n.º 1
0
        public EccPoint Negate(EccPoint point)
        {
            if (point.Infinity)
            {
                return(point);
            }

            // Negate the point, - (x, y) == (x, -y), but -1 * y (mod q) == q - y
            return(new EccPoint(point.X, _operator.Negate(point.Y)));
        }
Exemplo n.º 2
0
 public EdPoint Negate(EdPoint point)
 {
     return(new EdPoint(_operator.Negate(point.X), point.Y));
 }