public class SecP160R2Curve extends ECCurve.AbstractFp
ECCurve.AbstractF2m, ECCurve.AbstractFp, ECCurve.Config, ECCurve.F2m, ECCurve.Fp
Modifier and Type | Field and Description |
---|---|
protected org.bouncycastle.math.ec.custom.sec.SecP160R2Point |
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 |
---|
SecP160R2Curve() |
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) |
protected ECPoint |
createRawPoint(ECFieldElement x,
ECFieldElement y,
ECFieldElement[] zs) |
ECFieldElement |
fromBigInteger(java.math.BigInteger x) |
int |
getFieldSize() |
ECPoint |
getInfinity() |
java.math.BigInteger |
getQ() |
boolean |
supportsCoordinateSystem(int coord) |
decompressPoint, isValidFieldElement, randomFieldElementMult
checkPoint, checkPoints, checkPoints, configure, createDefaultMultiplier, createPoint, decodePoint, equals, equals, getA, getAllCoordinateSystems, getB, getCofactor, getCoordinateSystem, getEndomorphism, getField, getMultiplier, getOrder, getPreCompInfo, hashCode, importPoint, normalizeAll, normalizeAll, precompute, validatePoint
public static final java.math.BigInteger q
protected org.bouncycastle.math.ec.custom.sec.SecP160R2Point 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)
createRawPoint
in class ECCurve
protected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs)
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