public static class ECPoint.Fp extends ECPoint.AbstractFp
ECPoint.AbstractF2m, ECPoint.AbstractFp, ECPoint.F2m, ECPoint.Fp
curve, EMPTY_ZS, preCompTable, withCompression, x, y, zs
Constructor and Description |
---|
Fp(ECCurve curve,
ECFieldElement x,
ECFieldElement y,
boolean withCompression)
Deprecated.
per-point compression property will be removed, refer
ECPoint.getEncoded(boolean) |
Modifier and Type | Method and Description |
---|---|
ECPoint |
add(ECPoint b) |
protected ECFieldElement |
calculateJacobianModifiedW(ECFieldElement Z,
ECFieldElement ZSquared) |
protected ECPoint |
detach() |
protected ECFieldElement |
doubleProductFromSquares(ECFieldElement a,
ECFieldElement b,
ECFieldElement aSquared,
ECFieldElement bSquared) |
protected ECFieldElement |
eight(ECFieldElement x) |
protected ECFieldElement |
four(ECFieldElement x) |
protected ECFieldElement |
getJacobianModifiedW() |
ECFieldElement |
getZCoord(int index) |
ECPoint |
negate() |
protected ECFieldElement |
three(ECFieldElement x) |
ECPoint |
threeTimes() |
ECPoint |
timesPow2(int e) |
ECPoint |
twice() |
protected ECPoint.Fp |
twiceJacobianModified(boolean calculateW) |
ECPoint |
twicePlus(ECPoint b) |
protected ECFieldElement |
two(ECFieldElement x) |
getCompressionYTilde, satisfiesCurveEquation, subtract
checkNormalized, createScaledPoint, equals, equals, getAffineXCoord, getAffineYCoord, getCurve, getCurveCoordinateSystem, getDetachedPoint, getEncoded, getEncoded, getInitialZCoords, getRawXCoord, getRawYCoord, getRawZCoords, getXCoord, getYCoord, getZCoords, hashCode, isCompressed, isInfinity, isNormalized, isValid, multiply, normalize, satisfiesOrder, scaleX, scaleY, toString
public Fp(ECCurve curve, ECFieldElement x, ECFieldElement y, boolean withCompression)
ECPoint.getEncoded(boolean)
curve
- the curve to usex
- affine x co-ordinatey
- affine y co-ordinatewithCompression
- if true encode with point compressionpublic ECFieldElement getZCoord(int index)
public ECPoint threeTimes()
threeTimes
in class ECPoint
protected ECFieldElement two(ECFieldElement x)
protected ECFieldElement three(ECFieldElement x)
protected ECFieldElement four(ECFieldElement x)
protected ECFieldElement eight(ECFieldElement x)
protected ECFieldElement doubleProductFromSquares(ECFieldElement a, ECFieldElement b, ECFieldElement aSquared, ECFieldElement bSquared)
protected ECFieldElement calculateJacobianModifiedW(ECFieldElement Z, ECFieldElement ZSquared)
protected ECFieldElement getJacobianModifiedW()
protected ECPoint.Fp twiceJacobianModified(boolean calculateW)