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() |
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, isValidFieldElementcheckPoint, checkPoints, checkPoints, configure, createDefaultMultiplier, createPoint, createPoint, decodePoint, equals, equals, getA, getAllCoordinateSystems, getB, getCofactor, getCoordinateSystem, getEndomorphism, getField, getMultiplier, getOrder, getPreCompInfo, hashCode, importPoint, normalizeAll, normalizeAll, setPreCompInfo, validatePoint, validatePointpublic static final java.math.BigInteger q
protected Curve25519Point infinity
protected ECCurve cloneCurve()
cloneCurve in class ECCurvepublic boolean supportsCoordinateSystem(int coord)
supportsCoordinateSystem in class ECCurvepublic java.math.BigInteger getQ()
public int getFieldSize()
getFieldSize in class ECCurvepublic ECFieldElement fromBigInteger(java.math.BigInteger x)
fromBigInteger in class ECCurveprotected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, boolean withCompression)
createRawPoint in class ECCurveprotected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean withCompression)
createRawPoint in class ECCurvepublic ECPoint getInfinity()
getInfinity in class ECCurve