Uses of Class
org.gudy.bouncycastle.math.ec.SimpleBigDecimal
-
Packages that use SimpleBigDecimal Package Description org.gudy.bouncycastle.math.ec -
-
Uses of SimpleBigDecimal in org.gudy.bouncycastle.math.ec
Methods in org.gudy.bouncycastle.math.ec that return SimpleBigDecimal Modifier and Type Method 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 byn
.SimpleBigDecimal
SimpleBigDecimal. divide(java.math.BigInteger b)
SimpleBigDecimal
SimpleBigDecimal. divide(SimpleBigDecimal b)
static SimpleBigDecimal
SimpleBigDecimal. getInstance(java.math.BigInteger value, int scale)
Returns aSimpleBigDecimal
representing the same numerical value asvalue
.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λ
ofR[τ]
, whereλ = u + vτ
andu
andu
are real numbers (elements ofR
).SimpleBigDecimal
SimpleBigDecimal. shiftLeft(int n)
SimpleBigDecimal
SimpleBigDecimal. subtract(java.math.BigInteger b)
SimpleBigDecimal
SimpleBigDecimal. subtract(SimpleBigDecimal b)
Methods in org.gudy.bouncycastle.math.ec with parameters of type SimpleBigDecimal Modifier and Type Method 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λ
ofR[τ]
, whereλ = u + vτ
andu
andu
are real numbers (elements ofR
).static ZTauElement
Tnaf. round(SimpleBigDecimal lambda0, SimpleBigDecimal lambda1, byte mu)
Rounds an elementλ
ofR[τ]
to an element ofZ[τ]
, such that their difference has minimal norm.SimpleBigDecimal
SimpleBigDecimal. subtract(SimpleBigDecimal b)
Constructors in org.gudy.bouncycastle.math.ec with parameters of type SimpleBigDecimal Constructor Description SimpleBigDecimal(SimpleBigDecimal limBigDec)
-