Package | Description |
---|---|
org.spongycastle.math.ec |
Math support for Elliptic Curve.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
WNafPreCompInfo
Class holding precomputation data for the WNAF (Window Non-Adjacent Form)
algorithm.
|
(package private) class |
WTauNafPreCompInfo
Class holding precomputation data for the WTNAF (Window
τ -adic Non-Adjacent Form) algorithm. |
Modifier and Type | Field and Description |
---|---|
protected PreCompInfo |
ECPoint.preCompInfo |
Modifier and Type | Method and Description |
---|---|
ECPoint |
FpNafMultiplier.multiply(ECPoint p,
java.math.BigInteger k,
PreCompInfo preCompInfo)
D.3.2 pg 101
|
ECPoint |
ECMultiplier.multiply(ECPoint p,
java.math.BigInteger k,
PreCompInfo preCompInfo)
Multiplies the
ECPoint p by k , i.e. |
ECPoint |
WTauNafMultiplier.multiply(ECPoint point,
java.math.BigInteger k,
PreCompInfo preCompInfo)
|
ECPoint |
WNafMultiplier.multiply(ECPoint p,
java.math.BigInteger k,
PreCompInfo preCompInfo)
Multiplies
this by an integer k using the
Window NAF method. |
ECPoint |
ReferenceMultiplier.multiply(ECPoint p,
java.math.BigInteger k,
PreCompInfo preCompInfo)
Simple shift-and-add multiplication.
|
private static ECPoint.F2m |
WTauNafMultiplier.multiplyFromWTnaf(ECPoint.F2m p,
byte[] u,
PreCompInfo preCompInfo)
Multiplies a
ECPoint.F2m
by an element λ of Z[τ]
using the window τ -adic NAF (TNAF) method, given the
WTNAF of λ . |
private ECPoint.F2m |
WTauNafMultiplier.multiplyWTnaf(ECPoint.F2m p,
ZTauElement lambda,
PreCompInfo preCompInfo,
byte a,
byte mu)
|
(package private) void |
ECPoint.setPreCompInfo(PreCompInfo preCompInfo)
Sets the
PreCompInfo . |