public class SM2P256V1Curve extends ECCurve.AbstractFp
ECCurve.AbstractF2m, ECCurve.AbstractFp, ECCurve.Config, ECCurve.F2m, ECCurve.Fp| Modifier and Type | Field and Description |
|---|---|
protected SM2P256V1Point |
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 |
|---|
SM2P256V1Curve() |
| 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() |
ECFieldElement |
randomFieldElement(java.security.SecureRandom r) |
ECFieldElement |
randomFieldElementMult(java.security.SecureRandom r) |
boolean |
supportsCoordinateSystem(int coord) |
decompressPoint, isValidFieldElementcheckPoint, checkPoints, checkPoints, configure, createDefaultMultiplier, createPoint, decodePoint, equals, equals, getA, getAffinePointEncodingLength, getAllCoordinateSystems, getB, getCofactor, getCoordinateSystem, getEndomorphism, getField, getFieldElementEncodingLength, getMultiplier, getOrder, getPreCompInfo, hashCode, importPoint, normalizeAll, normalizeAll, precompute, validatePointpublic static final java.math.BigInteger q
protected SM2P256V1Point infinity
protected ECCurve cloneCurve()
cloneCurve in class ECCurvepublic boolean supportsCoordinateSystem(int coord)
supportsCoordinateSystem in class ECCurvepublic java.math.BigInteger getQ()
getQ in class ECCurve.AbstractFppublic int getFieldSize()
getFieldSize in class ECCurvepublic ECFieldElement fromBigInteger(java.math.BigInteger x)
fromBigInteger in class ECCurveprotected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y)
createRawPoint in class ECCurveprotected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs)
createRawPoint in class ECCurvepublic ECPoint getInfinity()
getInfinity in class ECCurvepublic ECLookupTable createCacheSafeLookupTable(ECPoint[] points, int off, int len)
ECCurveECCurve instance, and MUST already be normalized.createCacheSafeLookupTable in class ECCurvepublic ECFieldElement randomFieldElement(java.security.SecureRandom r)
randomFieldElement in class ECCurve.AbstractFppublic ECFieldElement randomFieldElementMult(java.security.SecureRandom r)
randomFieldElementMult in class ECCurve.AbstractFp