Package org.bouncycastle.math.ec
Class FixedPointPreCompInfo
- java.lang.Object
-
- org.bouncycastle.math.ec.FixedPointPreCompInfo
-
- All Implemented Interfaces:
PreCompInfo
public class FixedPointPreCompInfo extends java.lang.Object implements PreCompInfo
Class holding precomputation data for fixed-point multiplications.
-
-
Field Summary
Fields Modifier and Type Field Description protected ECLookupTablelookupTableLookup table for the precomputedECPoints used for a fixed point multiplication.protected ECPointoffsetprotected ECPoint[]preCompDeprecated.Will be removedprotected intwidthThe width used for the precomputation.
-
Constructor Summary
Constructors Constructor Description FixedPointPreCompInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ECLookupTablegetLookupTable()ECPointgetOffset()ECPoint[]getPreComp()Deprecated.UsegetLookupTable()insteadintgetWidth()voidsetLookupTable(ECLookupTable lookupTable)voidsetOffset(ECPoint offset)voidsetPreComp(ECPoint[] preComp)Deprecated.UsesetLookupTable(ECLookupTable)insteadvoidsetWidth(int width)
-
-
-
Field Detail
-
offset
protected ECPoint offset
-
preComp
protected ECPoint[] preComp
Deprecated.Will be removedArray holding the precomputedECPoints used for a fixed point multiplication.
-
lookupTable
protected ECLookupTable lookupTable
Lookup table for the precomputedECPoints used for a fixed point multiplication.
-
width
protected int width
The width used for the precomputation. If a larger width precomputation is already available this may be larger than was requested, so calling code should refer to the actual width.
-
-
Method Detail
-
getLookupTable
public ECLookupTable getLookupTable()
-
setLookupTable
public void setLookupTable(ECLookupTable lookupTable)
-
getOffset
public ECPoint getOffset()
-
setOffset
public void setOffset(ECPoint offset)
-
getPreComp
public ECPoint[] getPreComp()
Deprecated.UsegetLookupTable()instead
-
setPreComp
public void setPreComp(ECPoint[] preComp)
Deprecated.UsesetLookupTable(ECLookupTable)instead
-
getWidth
public int getWidth()
-
setWidth
public void setWidth(int width)
-
-