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