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)
Multiplies a
ECPoint.F2m
by k using the reduced τ-adic NAF (RTNAF)
method. |
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)
Multiplies a
ECPoint.F2m
by an element λ of Z[τ] using
the τ-adic NAF (TNAF) method. |
public ECPoint multiply(ECPoint point, java.math.BigInteger k, PreCompInfo preCompInfo)
ECPoint.F2m
by k using the reduced τ-adic NAF (RTNAF)
method.multiply in interface ECMultiplierp - 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)
ECPoint.F2m
by an element λ of Z[τ] using
the τ-adic NAF (TNAF) method.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 λ..λ * pCopyright © 1998-2014 Gamma Technologies. All Rights Reserved.