class WTauNafMultiplier extends java.lang.Object implements ECMultiplier
τ
-adic Non-Adjacent Form) algorithm.Constructor and Description |
---|
WTauNafMultiplier() |
Modifier and Type | Method and Description |
---|---|
ECPoint |
multiply(ECPoint point,
java.math.BigInteger k,
PreCompInfo preCompInfo)
|
private static ECPoint.F2m |
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 |
multiplyWTnaf(ECPoint.F2m p,
ZTauElement lambda,
PreCompInfo preCompInfo,
byte a,
byte mu)
|
public ECPoint multiply(ECPoint point, java.math.BigInteger k, PreCompInfo preCompInfo)
multiply
in interface ECMultiplier
p
- The ECPoint.F2m to multiply.k
- The integer by which to multiply k
.p
multiplied by k
.private ECPoint.F2m multiplyWTnaf(ECPoint.F2m p, ZTauElement lambda, PreCompInfo preCompInfo, byte a, byte mu)
p
- The ECPoint.F2m to multiply.lambda
- The element λ
of
Z[τ]
of which to compute the
[τ]
-adic NAF.p
multiplied by λ
.private static ECPoint.F2m multiplyFromWTnaf(ECPoint.F2m p, byte[] u, PreCompInfo preCompInfo)
ECPoint.F2m
by an element λ
of Z[τ]
using the window τ
-adic NAF (TNAF) method, given the
WTNAF of λ
.p
- The ECPoint.F2m to multiply.u
- The the WTNAF of λ
..λ * p