|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectkz.gamma.hardware.crypto.software.ec.WTauNafMultiplier
class WTauNafMultiplier
Class implementing the WTNAF (Window
τ-adic Non-Adjacent Form) algorithm.
| Constructor Summary | |
|---|---|
WTauNafMultiplier()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
WTauNafMultiplier()
| Method Detail |
|---|
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 λ..
λ * p
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||