public class Curve25519Point extends ECPoint.AbstractFp
ECPoint.AbstractF2m, ECPoint.AbstractFp, ECPoint.F2m, ECPoint.Fp
curve, EMPTY_ZS, preCompTable, withCompression, x, y, zs
Constructor | Description |
---|---|
Curve25519Point(ECCurve curve,
ECFieldElement x,
ECFieldElement y) |
Deprecated.
Use ECCurve.createPoint to construct points
|
Curve25519Point(ECCurve curve,
ECFieldElement x,
ECFieldElement y,
boolean withCompression) |
Deprecated.
per-point compression property will be removed, refer
ECPoint.getEncoded(boolean) |
Modifier and Type | Method | Description |
---|---|---|
ECPoint |
add(ECPoint b) |
|
protected Curve25519FieldElement |
calculateJacobianModifiedW(Curve25519FieldElement Z,
int[] ZSquared) |
|
protected ECPoint |
detach() |
|
protected Curve25519FieldElement |
getJacobianModifiedW() |
|
ECFieldElement |
getZCoord(int index) |
|
ECPoint |
negate() |
|
ECPoint |
threeTimes() |
|
ECPoint |
twice() |
|
protected Curve25519Point |
twiceJacobianModified(boolean calculateW) |
|
ECPoint |
twicePlus(ECPoint b) |
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, timesPow2, toString
getCompressionYTilde, satisfiesCurveEquation, subtract
public Curve25519Point(ECCurve curve, ECFieldElement x, ECFieldElement y)
curve
- the curve to usex
- affine x co-ordinatey
- affine y co-ordinatepublic Curve25519Point(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 Curve25519FieldElement calculateJacobianModifiedW(Curve25519FieldElement Z, int[] ZSquared)
protected Curve25519FieldElement getJacobianModifiedW()
protected Curve25519Point twiceJacobianModified(boolean calculateW)