Home
last modified time | relevance | path

Searched refs:bignum (Results 1 – 2 of 2) sorted by relevance

/libcore/luni/src/main/java/java/math/
DBigInt.java34 private transient long bignum = 0; field in BigInt
42 return this.bignum != 0; in hasNativeBignum()
46 if (this.bignum == 0) { in makeValid()
47 this.bignum = NativeBN.BN_new(); in makeValid()
48 registry.registerNativeAllocation(this, this.bignum); in makeValid()
54 bi.bignum = NativeBN.BN_new(); in newBigInt()
55 registry.registerNativeAllocation(bi, bi.bignum); in newBigInt()
61 return NativeBN.BN_cmp(a.bignum, b.bignum); in cmp()
67 NativeBN.BN_copy(this.bignum, from.bignum); in putCopy()
79 NativeBN.putLongInt(this.bignum, val); in putLongInt()
[all …]
/libcore/ojluni/src/main/java/sun/security/util/
DObjectIdentifier.java167 BigInteger bignum = new BigInteger(comp); in ObjectIdentifier() local
169 checkFirstComponent(bignum); in ObjectIdentifier()
170 first = bignum.intValue(); in ObjectIdentifier()
173 checkSecondComponent(first, bignum); in ObjectIdentifier()
174 bignum = bignum.add(BigInteger.valueOf(40*first)); in ObjectIdentifier()
176 checkOtherComponent(count, bignum); in ObjectIdentifier()
178 pos += pack7Oid(bignum, tmp, pos); in ObjectIdentifier()