Bouncy Castle Cryptography Library 1.81

org.bouncycastle.math.ec.custom.djb
Class Curve25519Point

java.lang.Object
  extended byorg.bouncycastle.math.ec.ECPoint
      extended byorg.bouncycastle.math.ec.ECPoint.AbstractFp
          extended byorg.bouncycastle.math.ec.custom.djb.Curve25519Point

public class Curve25519Point
extends ECPoint.AbstractFp


Nested Class Summary
 
Nested classes inherited from class org.bouncycastle.math.ec.ECPoint
ECPoint.AbstractF2m, ECPoint.AbstractFp, ECPoint.F2m, ECPoint.Fp
 
Field Summary
 
Fields inherited from class org.bouncycastle.math.ec.ECPoint
curve, EMPTY_ZS, preCompTable, x, y, zs
 
Method Summary
 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)
           
 
Methods inherited from class org.bouncycastle.math.ec.ECPoint.AbstractFp
getCompressionYTilde, satisfiesCurveEquation, subtract
 
Methods inherited from class org.bouncycastle.math.ec.ECPoint
checkNormalized, createScaledPoint, encodeTo, equals, equals, getAffineXCoord, getAffineYCoord, getCurve, getCurveCoordinateSystem, getDetachedPoint, getEncoded, getEncodedLength, getInitialZCoords, getRawXCoord, getRawYCoord, getRawZCoords, getXCoord, getYCoord, getZCoords, hashCode, isInfinity, isNormalized, isValid, multiply, normalize, satisfiesOrder, scaleX, scaleXNegateY, scaleY, scaleYNegateX, timesPow2, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

detach

protected ECPoint detach()
Specified by:
detach 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

negate

public ECPoint negate()
Specified by:
negate in class ECPoint

calculateJacobianModifiedW

protected Curve25519FieldElement calculateJacobianModifiedW(Curve25519FieldElement Z,
                                                            int[] ZSquared)

getJacobianModifiedW

protected Curve25519FieldElement getJacobianModifiedW()

twiceJacobianModified

protected Curve25519Point twiceJacobianModified(boolean calculateW)

Bouncy Castle Cryptography Library 1.81