| Modifier and Type | Field and Description |
|---|---|
| public static final ZTauElement[] | alpha0
The |
| public static final byte[][] | alpha0Tnaf
The |
| public static final ZTauElement[] | alpha1
The |
| public static final byte[][] | alpha1Tnaf
The |
| private static final BigInteger | |
| private static final BigInteger | |
| private static final BigInteger | |
| public static final byte | WIDTH
The window width of WTNAF. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static SimpleBigDecimal | Returns: The valueλ = s k / n computed to
c bits of accuracy.The parameter k, BigInteger k.The curve parameter s, BigInteger s0 or
s1.The Lucas Sequence element vm, byte Vm.The parameter a, int a of the elliptic curve.The bit length of the finite field
m, int Fm.The number of bits of accuracy, i.e. the scale of the returned
c)SimpleBigDecimal.Approximate division by |
| public static BigInteger[] | Returns: An array with 2 elements, containingUk-1
and Uk or Vk-1
and Vk.The parameter mu, int μ of the elliptic curve.The index of the second element of the Lucas Sequence to be
returned. k, boolean If set to true, computes doV)Vk-1 and
Vk, otherwise Uk-1 and
Uk.Calculates the Lucas Sequence elements |
| public static byte | Returns: μ of the elliptic curve.The elliptic curve from which to obtain curveμ.
The curve must be a Koblitz curve, i.e. a equals
0 or 1 and b equals
1.Returns the parameter |
| public static byte | |
| public static byte | |
| public static ECPoint. | Returns: The precomputation array forp.The p,ECPoint for which to do the precomputation.The parameter a)a of the elliptic curve.Does the precomputation for WTNAF multiplication. |
| protected static int | |
| public static BigInteger[] | getSi(ECCurve.
The elliptic curve for which to compute
curves0 and s1.Computes the auxiliary values |
| public static BigInteger[] | |
| public static BigInteger | Returns: the auxiliary valuetwThe parameter mu, int μ of the elliptic curve.The window width of the WTNAF. w)Computes the auxiliary value |
| public static ECPoint. | Returns: λ * pThe ECPoint.AbstractF2m to multiply. p,The the TNAF of u)λ..Multiplies a |
| public static ECPoint. | Returns: k * pThe ECPoint.AbstractF2m to multiply. p,The k)BigInteger by which to multiply p.Multiplies a |
| public static ECPoint. | Returns: λ * pThe ECPoint.AbstractF2m to multiply. p,The element lambda)λ of
Z[τ].Multiplies a |
| public static BigInteger | Returns: The norm ofλ.The parameter mu, ZTauElement μ of the elliptic curve.The element lambda)λ of
Z[τ].Computes the norm of an element |
| public static SimpleBigDecimal | Returns: The norm ofλ.The parameter mu, SimpleBigDecimal μ of the elliptic curve.The real part of the element u, SimpleBigDecimal λ of
R[τ].The v)τ-adic part of the element
λ of R[τ].Computes the norm of an element |
| public static ZTauElement | Returns: ρ := k partmod (τm - 1)/(τ - 1)The integer to be reduced. k, byte The parameter a, byte a of the elliptic curve.The parameter μ of the elliptic curve. mu, byte The precision (number of bits of accuracy) of the partial
modular reduction. c)Partial modular reduction modulo
|
| public static ZTauElement | Returns: The rounded element ofZ[τ].The component lambda0, SimpleBigDecimal λ0.The component lambda1, byte λ1.The parameter mu)μ of the elliptic curve. Must
equal 1 or -1.Rounds an element |
| public static ECPoint. | Returns: τ(p)The ECPoint.AbstractF2m to which pτ() is applied.Applies the operation |
| public static byte[] | Returns: Theτ-adic NAF of λ.The parameter mu, ZTauElement μ of the elliptic curve.The element lambda)λ of
Z[τ].Computes the |
| public static byte[] | Returns: The[τ]-adic window NAF of
λ.The parameter μ of the elliptic curve. mu, ZTauElement The element lambda, int λ of
Z[τ] of which to compute the
[τ]-adic NAF.The window width of the resulting WNAF. width, int The auxiliary value tw, ZTauElement[] tw.The alpha)αu's for the window width.Computes the |
| alpha0 | back to summary |
|---|---|
| public static final ZTauElement[] alpha0 The | |
| alpha0Tnaf | back to summary |
|---|---|
| public static final byte[][] alpha0Tnaf The | |
| alpha1 | back to summary |
|---|---|
| public static final ZTauElement[] alpha1 The | |
| alpha1Tnaf | back to summary |
|---|---|
| public static final byte[][] alpha1Tnaf The | |
| MINUS_ONE | back to summary |
|---|---|
| private static final BigInteger MINUS_ONE | |
| MINUS_THREE | back to summary |
|---|---|
| private static final BigInteger MINUS_THREE | |
| MINUS_TWO | back to summary |
|---|---|
| private static final BigInteger MINUS_TWO | |
| WIDTH | back to summary |
|---|---|
| public static final byte WIDTH The window width of WTNAF. The standard value of 4 is slightly less
than optimal for running time, but keeps space requirements for
precomputation low. For typical curves, a value of 5 or 6 results in
a better running time. When changing this value, the
| |
| Tnaf | back to summary |
|---|---|
| pack-priv Tnaf() | |
| approximateDivisionByN | back to summary |
|---|---|
| public static SimpleBigDecimal approximateDivisionByN(BigInteger k, BigInteger s, BigInteger vm, byte a, int m, int c) Approximate division by
| |
| getLucas | back to summary |
|---|---|
| public static BigInteger[] getLucas(byte mu, int k, boolean doV) Calculates the Lucas Sequence elements
| |
| getMu | back to summary |
|---|---|
| public static byte getMu(ECCurve. Returns the parameter
| |
| getMu | back to summary |
|---|---|
| public static byte getMu(ECFieldElement curveA) | |
| getMu | back to summary |
|---|---|
| public static byte getMu(int curveA) | |
| getPreComp | back to summary |
|---|---|
| public static ECPoint. Does the precomputation for WTNAF multiplication.
| |
| getShiftsForCofactor | back to summary |
|---|---|
| protected static int getShiftsForCofactor(BigInteger h) | |
| getSi | back to summary |
|---|---|
| public static BigInteger[] getSi(ECCurve. Computes the auxiliary values
| |
| getSi | back to summary |
|---|---|
| public static BigInteger[] getSi(int fieldSize, int curveA, BigInteger cofactor) | |
| getTw | back to summary |
|---|---|
| public static BigInteger getTw(byte mu, int w) Computes the auxiliary value
| |
| multiplyFromTnaf | back to summary |
|---|---|
| public static ECPoint. Multiplies a
| |
| multiplyRTnaf | back to summary |
|---|---|
| public static ECPoint. Multiplies a
| |
| multiplyTnaf | back to summary |
|---|---|
| public static ECPoint. Multiplies a
| |
| norm | back to summary |
|---|---|
| public static BigInteger norm(final byte mu, ZTauElement lambda) Computes the norm of an element
| |
| norm | back to summary |
|---|---|
| public static SimpleBigDecimal norm(final byte mu, SimpleBigDecimal u, SimpleBigDecimal v) Computes the norm of an element
| |
| partModReduction | back to summary |
|---|---|
| public static ZTauElement partModReduction(ECCurve. Partial modular reduction modulo
| |
| round | back to summary |
|---|---|
| public static ZTauElement round(SimpleBigDecimal lambda0, SimpleBigDecimal lambda1, byte mu) Rounds an element
| |
| tau | back to summary |
|---|---|
| public static ECPoint. Applies the operation
| |
| tauAdicNaf | back to summary |
|---|---|
| public static byte[] tauAdicNaf(byte mu, ZTauElement lambda) Computes the
| |
| tauAdicWNaf | back to summary |
|---|---|
| public static byte[] tauAdicWNaf(byte mu, ZTauElement lambda, int width, int tw, ZTauElement[] alpha) Computes the
| |