Uses of Class
org.gudy.bouncycastle.math.ec.SimpleBigDecimal
Packages that use SimpleBigDecimal
-
Uses of SimpleBigDecimal in org.gudy.bouncycastle.math.ec
Methods in org.gudy.bouncycastle.math.ec that return SimpleBigDecimalModifier and TypeMethodDescriptionSimpleBigDecimal.add
(BigInteger b) SimpleBigDecimal.add
(SimpleBigDecimal b) SimpleBigDecimal.adjustScale
(int newScale) static SimpleBigDecimal
Tnaf.approximateDivisionByN
(BigInteger k, BigInteger s, BigInteger vm, byte a, int m, int c) Approximate division byn
.SimpleBigDecimal.divide
(BigInteger b) SimpleBigDecimal.divide
(SimpleBigDecimal b) static SimpleBigDecimal
SimpleBigDecimal.getInstance
(BigInteger value, int scale) Returns aSimpleBigDecimal
representing the same numerical value asvalue
.SimpleBigDecimal.multiply
(BigInteger b) SimpleBigDecimal.multiply
(SimpleBigDecimal b) 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.shiftLeft
(int n) SimpleBigDecimal.subtract
(BigInteger b) SimpleBigDecimal.subtract
(SimpleBigDecimal b) Methods in org.gudy.bouncycastle.math.ec with parameters of type SimpleBigDecimalModifier and TypeMethodDescriptionSimpleBigDecimal.add
(SimpleBigDecimal b) private void
SimpleBigDecimal.checkScale
(SimpleBigDecimal b) int
SimpleBigDecimal.compareTo
(SimpleBigDecimal val) SimpleBigDecimal.divide
(SimpleBigDecimal b) 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.subtract
(SimpleBigDecimal b) Constructors in org.gudy.bouncycastle.math.ec with parameters of type SimpleBigDecimal