public class Curve25519 extends ECCurve.AbstractFp
ECCurve.AbstractF2m, ECCurve.AbstractFp, ECCurve.Config, ECCurve.F2m, ECCurve.Fp
Modifier and Type | Field and Description |
---|---|
protected Curve25519Point |
infinity |
static java.math.BigInteger |
q |
a, b, cofactor, coord, COORD_AFFINE, COORD_HOMOGENEOUS, COORD_JACOBIAN, COORD_JACOBIAN_CHUDNOVSKY, COORD_JACOBIAN_MODIFIED, COORD_LAMBDA_AFFINE, COORD_LAMBDA_PROJECTIVE, COORD_SKEWED, endomorphism, field, multiplier, order
Constructor and Description |
---|
Curve25519() |
Modifier and Type | Method and Description |
---|---|
protected ECCurve |
cloneCurve() |
ECLookupTable |
createCacheSafeLookupTable(ECPoint[] points,
int off,
int len)
Create a cache-safe lookup table for the specified sequence of points.
|
protected ECPoint |
createRawPoint(ECFieldElement x,
ECFieldElement y,
boolean withCompression) |
protected ECPoint |
createRawPoint(ECFieldElement x,
ECFieldElement y,
ECFieldElement[] zs,
boolean withCompression) |
ECFieldElement |
fromBigInteger(java.math.BigInteger x) |
int |
getFieldSize() |
ECPoint |
getInfinity() |
java.math.BigInteger |
getQ() |
boolean |
supportsCoordinateSystem(int coord) |
decompressPoint, isValidFieldElement
checkPoint, checkPoints, checkPoints, configure, createDefaultMultiplier, createPoint, createPoint, decodePoint, equals, equals, getA, getAllCoordinateSystems, getB, getCofactor, getCoordinateSystem, getEndomorphism, getField, getMultiplier, getOrder, getPreCompInfo, hashCode, importPoint, normalizeAll, normalizeAll, precompute, validatePoint, validatePoint
public static final java.math.BigInteger q
protected Curve25519Point infinity
protected ECCurve cloneCurve()
cloneCurve
in class ECCurve
public boolean supportsCoordinateSystem(int coord)
supportsCoordinateSystem
in class ECCurve
public java.math.BigInteger getQ()
public int getFieldSize()
getFieldSize
in class ECCurve
public ECFieldElement fromBigInteger(java.math.BigInteger x)
fromBigInteger
in class ECCurve
protected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, boolean withCompression)
createRawPoint
in class ECCurve
protected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean withCompression)
createRawPoint
in class ECCurve
public ECPoint getInfinity()
getInfinity
in class ECCurve
public ECLookupTable createCacheSafeLookupTable(ECPoint[] points, int off, int len)
ECCurve
ECCurve
instance, and MUST already be normalized.createCacheSafeLookupTable
in class ECCurve