public class WNafPreCompInfo extends java.lang.Object implements PreCompInfo
| Modifier and Type | Field and Description |
|---|---|
protected int |
confWidth |
protected ECPoint[] |
preComp
Array holding the precomputed
ECPoints used for a Window
NAF multiplication. |
protected ECPoint[] |
preCompNeg
Array holding the negations of the precomputed
ECPoints used
for a Window NAF multiplication. |
protected ECPoint |
twice
Holds an
ECPoint representing twice(this). |
protected int |
width |
| Constructor and Description |
|---|
WNafPreCompInfo() |
| Modifier and Type | Method and Description |
|---|---|
int |
getConfWidth() |
ECPoint[] |
getPreComp() |
ECPoint[] |
getPreCompNeg() |
ECPoint |
getTwice() |
int |
getWidth() |
boolean |
isPromoted() |
void |
setConfWidth(int confWidth) |
void |
setPreComp(ECPoint[] preComp) |
void |
setPreCompNeg(ECPoint[] preCompNeg) |
void |
setTwice(ECPoint twice) |
void |
setWidth(int width) |
protected int confWidth
protected ECPoint[] preComp
ECPoints used for a Window
NAF multiplication.protected ECPoint[] preCompNeg
ECPoints used
for a Window NAF multiplication.protected ECPoint twice
ECPoint representing twice(this). Used for the
Window NAF multiplication to create or extend the precomputed values.protected int width
public boolean isPromoted()
public int getConfWidth()
public void setConfWidth(int confWidth)
public ECPoint[] getPreComp()
public void setPreComp(ECPoint[] preComp)
public ECPoint[] getPreCompNeg()
public void setPreCompNeg(ECPoint[] preCompNeg)
public ECPoint getTwice()
public void setTwice(ECPoint twice)
public int getWidth()
public void setWidth(int width)