Top Fields Constructors Methods
org.bouncycastle.math.ec.custom.sec

public Class SecP128R1Curve

extends AbstractFp
Class Inheritance
Imports
java.math.BigInteger, java.security.SecureRandom, org.bouncycastle.math.ec.AbstractECLookupTable, .ECConstants, .ECCurve, .ECFieldElement, .ECLookupTable, .ECPoint, org.bouncycastle.math.raw.Nat128, org.bouncycastle.util.encoders.Hex

Field Summary

Modifier and TypeField and Description
protected SecP128R1Point
public static final BigInteger
q

private static final ECFieldElement[]
private static final int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected ECCurve
public ECLookupTable
createCacheSafeLookupTable(ECPoint[] points, int off, final int len)

Overrides org.bouncycastle.math.ec.ECCurve.createCacheSafeLookupTable.

Create a cache-safe lookup table for the specified sequence of points.
protected ECPoint
protected ECPoint
public ECFieldElement
public int
public ECPoint
public BigInteger
getQ()

public ECFieldElement
public ECFieldElement
public boolean
Inherited from org.bouncycastle.math.ec.ECCurve.AbstractFp:
decompressPointisValidFieldElement

Field Detail

infinityback to summary
protected SecP128R1Point infinity
qback to summary
public static final BigInteger q
SECP128R1_AFFINE_ZSback to summary
private static final ECFieldElement[] SECP128R1_AFFINE_ZS
SECP128R1_DEFAULT_COORDSback to summary
private static final int SECP128R1_DEFAULT_COORDS

Constructor Detail

SecP128R1Curveback to summary
public SecP128R1Curve()

Method Detail

cloneCurveback to summary
protected ECCurve cloneCurve()

Implements abstract org.bouncycastle.math.ec.ECCurve.cloneCurve.

createCacheSafeLookupTableback to summary
public ECLookupTable createCacheSafeLookupTable(ECPoint[] points, int off, final int len)

Overrides org.bouncycastle.math.ec.ECCurve.createCacheSafeLookupTable.

Doc from org.bouncycastle.math.ec.ECCurve.createCacheSafeLookupTable.

Create a cache-safe lookup table for the specified sequence of points. All the points MUST belong to this ECCurve instance, and MUST already be normalized.

createRawPointback to summary
protected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y)

Implements abstract org.bouncycastle.math.ec.ECCurve.createRawPoint.

createRawPointback to summary
protected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs)

Implements abstract org.bouncycastle.math.ec.ECCurve.createRawPoint.

fromBigIntegerback to summary
public ECFieldElement fromBigInteger(BigInteger x)

Implements abstract org.bouncycastle.math.ec.ECCurve.fromBigInteger.

getFieldSizeback to summary
public int getFieldSize()

Implements abstract org.bouncycastle.math.ec.ECCurve.getFieldSize.

getInfinityback to summary
public ECPoint getInfinity()

Implements abstract org.bouncycastle.math.ec.ECCurve.getInfinity.

getQback to summary
public BigInteger getQ()
randomFieldElementback to summary
public ECFieldElement randomFieldElement(SecureRandom r)

Overrides org.bouncycastle.math.ec.ECCurve.AbstractFp.randomFieldElement.

randomFieldElementMultback to summary
public ECFieldElement randomFieldElementMult(SecureRandom r)

Overrides org.bouncycastle.math.ec.ECCurve.AbstractFp.randomFieldElementMult.

supportsCoordinateSystemback to summary
public boolean supportsCoordinateSystem(int coord)

Overrides org.bouncycastle.math.ec.ECCurve.supportsCoordinateSystem.