Package | Description |
---|---|
org.spongycastle.math.ec |
Math support for Elliptic Curve.
|
Modifier and Type | Method and Description |
---|---|
SimpleBigDecimal |
SimpleBigDecimal.add(java.math.BigInteger b) |
SimpleBigDecimal |
SimpleBigDecimal.add(SimpleBigDecimal b) |
SimpleBigDecimal |
SimpleBigDecimal.adjustScale(int newScale) |
static SimpleBigDecimal |
Tnaf.approximateDivisionByN(java.math.BigInteger k,
java.math.BigInteger s,
java.math.BigInteger vm,
byte a,
int m,
int c)
Approximate division by
n . |
SimpleBigDecimal |
SimpleBigDecimal.divide(java.math.BigInteger b) |
SimpleBigDecimal |
SimpleBigDecimal.divide(SimpleBigDecimal b) |
static SimpleBigDecimal |
SimpleBigDecimal.getInstance(java.math.BigInteger value,
int scale)
Returns a
SimpleBigDecimal representing the same numerical
value as value . |
SimpleBigDecimal |
SimpleBigDecimal.multiply(java.math.BigInteger b) |
SimpleBigDecimal |
SimpleBigDecimal.multiply(SimpleBigDecimal b) |
SimpleBigDecimal |
SimpleBigDecimal.negate() |
static SimpleBigDecimal |
Tnaf.norm(byte mu,
SimpleBigDecimal u,
SimpleBigDecimal v)
Computes the norm of an element
λ of
R[τ] , where λ = u + vτ
and u and u are real numbers (elements of
R ). |
SimpleBigDecimal |
SimpleBigDecimal.shiftLeft(int n) |
SimpleBigDecimal |
SimpleBigDecimal.subtract(java.math.BigInteger b) |
SimpleBigDecimal |
SimpleBigDecimal.subtract(SimpleBigDecimal b) |
Modifier and Type | Method and Description |
---|---|
SimpleBigDecimal |
SimpleBigDecimal.add(SimpleBigDecimal b) |
private void |
SimpleBigDecimal.checkScale(SimpleBigDecimal b) |
int |
SimpleBigDecimal.compareTo(SimpleBigDecimal val) |
SimpleBigDecimal |
SimpleBigDecimal.divide(SimpleBigDecimal b) |
SimpleBigDecimal |
SimpleBigDecimal.multiply(SimpleBigDecimal b) |
static SimpleBigDecimal |
Tnaf.norm(byte mu,
SimpleBigDecimal u,
SimpleBigDecimal v)
Computes the norm of an element
λ of
R[τ] , where λ = u + vτ
and u and u are real numbers (elements of
R ). |
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. |
SimpleBigDecimal |
SimpleBigDecimal.subtract(SimpleBigDecimal b) |
Constructor and Description |
---|
SimpleBigDecimal(SimpleBigDecimal limBigDec) |