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 ECLookupTable
lookupTable
Lookup table for the precomputedECPoint
s used for a fixed point multiplication.protected ECPoint
offset
protected int
width
The width used for the precomputation.
-
Constructor Summary
Constructors Constructor Description FixedPointPreCompInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ECLookupTable
getLookupTable()
ECPoint
getOffset()
int
getWidth()
void
setLookupTable(ECLookupTable lookupTable)
void
setOffset(ECPoint offset)
void
setWidth(int width)
-
-
-
Field Detail
-
offset
protected ECPoint offset
-
lookupTable
protected ECLookupTable lookupTable
Lookup table for the precomputedECPoint
s 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)
-
getWidth
public int getWidth()
-
setWidth
public void setWidth(int width)
-
-