public class SecP521R1Point extends ECPoint.AbstractFp
ECPoint.AbstractF2m, ECPoint.AbstractFp, ECPoint.F2m, ECPoint.Fp
curve, EMPTY_ZS, preCompTable, withCompression, x, y, zs
Constructor | Description |
---|---|
SecP521R1Point(ECCurve curve,
ECFieldElement x,
ECFieldElement y) |
Deprecated.
Use ECCurve.createPoint to construct points
|
SecP521R1Point(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 ECPoint |
detach() |
|
protected ECFieldElement |
doubleProductFromSquares(ECFieldElement a,
ECFieldElement b,
ECFieldElement aSquared,
ECFieldElement bSquared) |
|
protected ECFieldElement |
eight(ECFieldElement x) |
|
protected ECFieldElement |
four(ECFieldElement x) |
|
ECPoint |
negate() |
|
protected ECFieldElement |
three(ECFieldElement x) |
|
ECPoint |
threeTimes() |
|
ECPoint |
twice() |
|
ECPoint |
twicePlus(ECPoint b) |
|
protected ECFieldElement |
two(ECFieldElement x) |
checkNormalized, createScaledPoint, equals, equals, getAffineXCoord, getAffineYCoord, getCurve, getCurveCoordinateSystem, getDetachedPoint, getEncoded, getEncoded, getInitialZCoords, getRawXCoord, getRawYCoord, getRawZCoords, getX, getXCoord, getY, getYCoord, getZCoord, getZCoords, hashCode, isCompressed, isInfinity, isNormalized, isValid, multiply, normalize, satisfiesCofactor, scaleX, scaleY, timesPow2, toString
getCompressionYTilde, satisfiesCurveEquation, subtract
public SecP521R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y)
curve
- the curve to usex
- affine x co-ordinatey
- affine y co-ordinatepublic SecP521R1Point(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 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)