org.bouncycastle.math.ec
Class ECPoint.Fp
java.lang.Object
org.bouncycastle.math.ec.ECPoint
org.bouncycastle.math.ec.ECPoint.Fp
- Enclosing class:
- ECPoint
public static class ECPoint.Fp
- extends ECPoint
Elliptic curve points over Fp
Methods inherited from class org.bouncycastle.math.ec.ECPoint |
checkNormalized, createScaledPoint, equals, equals, getAffineXCoord, getAffineYCoord, getCurve, getCurveCoordinateSystem, getEncoded, getEncoded, getInitialZCoords, getRawXCoord, getRawYCoord, getX, getXCoord, getY, getYCoord, getZCoords, hashCode, isCompressed, isInfinity, isNormalized, multiply, normalize, timesPow2, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ECPoint.Fp
public ECPoint.Fp(ECCurve curve,
ECFieldElement x,
ECFieldElement y)
- Deprecated. Use ECCurve.createPoint to construct points
- Create a point which encodes with point compression.
- Parameters:
curve
- the curve to usex
- affine x co-ordinatey
- affine y co-ordinate
ECPoint.Fp
public ECPoint.Fp(ECCurve curve,
ECFieldElement x,
ECFieldElement y,
boolean withCompression)
- Deprecated. per-point compression property will be removed, refer
ECPoint.getEncoded(boolean)
- Create a point that encodes with or without point compresion.
- Parameters:
curve
- the curve to usex
- affine x co-ordinatey
- affine y co-ordinatewithCompression
- if true encode with point compression
getCompressionYTilde
protected boolean getCompressionYTilde()
- Specified by:
getCompressionYTilde
in class ECPoint
getZCoord
public ECFieldElement getZCoord(int index)
- Overrides:
getZCoord
in class ECPoint
add
public ECPoint add(ECPoint b)
- Specified by:
add
in class ECPoint
twice
public ECPoint twice()
- Specified by:
twice
in class ECPoint
twicePlus
public ECPoint twicePlus(ECPoint b)
- Overrides:
twicePlus
in class ECPoint
threeTimes
public ECPoint threeTimes()
- Overrides:
threeTimes
in class ECPoint
two
protected ECFieldElement two(ECFieldElement x)
three
protected ECFieldElement three(ECFieldElement x)
four
protected ECFieldElement four(ECFieldElement x)
eight
protected ECFieldElement eight(ECFieldElement x)
doubleProductFromSquares
protected ECFieldElement doubleProductFromSquares(ECFieldElement a,
ECFieldElement b,
ECFieldElement aSquared,
ECFieldElement bSquared)
subtract
public ECPoint subtract(ECPoint b)
- Specified by:
subtract
in class ECPoint
negate
public ECPoint negate()
- Specified by:
negate
in class ECPoint
calculateJacobianModifiedW
protected ECFieldElement calculateJacobianModifiedW(ECFieldElement Z,
ECFieldElement ZSquared)
getJacobianModifiedW
protected ECFieldElement getJacobianModifiedW()
twiceJacobianModified
protected ECPoint.Fp twiceJacobianModified(boolean calculateW)