Package org.bouncycastle.math.ec
Class WNafPreCompInfo
- java.lang.Object
-
- org.bouncycastle.math.ec.WNafPreCompInfo
-
- All Implemented Interfaces:
PreCompInfo
public class WNafPreCompInfo extends java.lang.Object implements PreCompInfo
Class holding precomputation data for the WNAF (Window Non-Adjacent Form) algorithm.
-
-
Field Summary
Fields Modifier and Type Field Description protected ECPoint[]
preComp
Array holding the precomputedECPoint
s used for a Window NAF multiplication.protected ECPoint[]
preCompNeg
Array holding the negations of the precomputedECPoint
s used for a Window NAF multiplication.protected ECPoint
twice
Holds anECPoint
representing twice(this).
-
Constructor Summary
Constructors Constructor Description WNafPreCompInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ECPoint[]
getPreComp()
ECPoint[]
getPreCompNeg()
ECPoint
getTwice()
void
setPreComp(ECPoint[] preComp)
void
setPreCompNeg(ECPoint[] preCompNeg)
void
setTwice(ECPoint twice)
-
-
-
Field Detail
-
preComp
protected ECPoint[] preComp
Array holding the precomputedECPoint
s used for a Window NAF multiplication.
-
preCompNeg
protected ECPoint[] preCompNeg
Array holding the negations of the precomputedECPoint
s used for a Window NAF multiplication.
-
twice
protected ECPoint twice
Holds anECPoint
representing twice(this). Used for the Window NAF multiplication to create or extend the precomputed values.
-
-