Class ECPoint.F2m

    • Constructor Detail

      • F2m

        public F2m​(ECCurve curve,
                   ECFieldElement x,
                   ECFieldElement y)
        Deprecated.
        Use ECCurve.createPoint to construct points
        Parameters:
        curve - base curve
        x - x point
        y - y point
    • Method Detail

      • getYCoord

        public ECFieldElement getYCoord()
        Description copied from class: ECPoint
        Returns the y-coordinate. Caution: depending on the curve's coordinate system, this may not be the same value as in an affine coordinate system; use normalize() to get a point where the coordinates have their affine values, or use getAffineYCoord() if you expect the point to already have been normalized.
        Overrides:
        getYCoord in class ECPoint
        Returns:
        the y-coordinate of this point
      • addSimple

        public ECPoint.F2m addSimple​(ECPoint.F2m b)
        Adds another ECPoints.F2m to this without checking if both points are on the same curve. Used by multiplication algorithms, because there all points are a multiple of the same point and hence the checks can be omitted.
        Parameters:
        b - The other ECPoints.F2m to add to this.
        Returns:
        this + b
      • subtractSimple

        public ECPoint.F2m subtractSimple​(ECPoint.F2m b)
        Subtracts another ECPoints.F2m from this without checking if both points are on the same curve. Used by multiplication algorithms, because there all points are a multiple of the same point and hence the checks can be omitted.
        Parameters:
        b - The other ECPoints.F2m to subtract from this.
        Returns:
        this - b