| Package | Description |
|---|---|
| kz.gamma.hsm.crypto.software.ec |
| Modifier and Type | Field and Description |
|---|---|
static ZTauElement[] |
Tnaf.alpha0
The
αu's for a=0 as an array
of ZTauElements. |
static ZTauElement[] |
Tnaf.alpha1
The
αu's for a=1 as an array
of ZTauElements. |
| Modifier and Type | Method and Description |
|---|---|
static ZTauElement |
Tnaf.partModReduction(java.math.BigInteger k,
int m,
byte a,
java.math.BigInteger[] s,
byte mu,
byte c)
Partial modular reduction modulo
(τm - 1)/(τ - 1). |
static ZTauElement |
Tnaf.round(SimpleBigDecimal lambda0,
SimpleBigDecimal lambda1,
byte mu)
Rounds an element
λ of R[τ]
to an element of Z[τ], such that their difference
has minimal norm. |
| Modifier and Type | Method and Description |
|---|---|
static ECPoint.F2m |
Tnaf.multiplyTnaf(ECPoint.F2m p,
ZTauElement lambda)
Multiplies a
ECPoint.F2m
by an element λ of Z[τ]
using the τ-adic NAF (TNAF) method. |
private ECPoint.F2m |
WTauNafMultiplier.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. |
static java.math.BigInteger |
Tnaf.norm(byte mu,
ZTauElement lambda)
Computes the norm of an element
λ of
Z[τ]. |
static byte[] |
Tnaf.tauAdicNaf(byte mu,
ZTauElement lambda)
Computes the
τ-adic NAF (non-adjacent form) of an
element λ of Z[τ]. |
static byte[] |
Tnaf.tauAdicWNaf(byte mu,
ZTauElement lambda,
byte width,
java.math.BigInteger pow2w,
java.math.BigInteger tw,
ZTauElement[] alpha)
Computes the
[τ]-adic window NAF of an element
λ of Z[τ]. |
static byte[] |
Tnaf.tauAdicWNaf(byte mu,
ZTauElement lambda,
byte width,
java.math.BigInteger pow2w,
java.math.BigInteger tw,
ZTauElement[] alpha)
Computes the
[τ]-adic window NAF of an element
λ of Z[τ]. |
Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.