HomeSort by relevance Sort by last modified time
    Searched refs:BigInteger (Results 376 - 400 of 621) sorted by null

<<11121314151617181920>>

  /development/samples/Vault/src/com/example/android/vault/
SecretKeyWrapper.java 23 import java.math.BigInteger;
80 .setSerialNumber(BigInteger.ONE)
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/
ValidationParams.java 3 import java.math.BigInteger;
90 public BigInteger getPgenCounter()
X9FieldID.java 3 import java.math.BigInteger;
29 public X9FieldID(BigInteger primeP)
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
PublicKeyFactory.java 5 import java.math.BigInteger;
193 BigInteger y = dhPublicKey.getY();
197 BigInteger p = dhParams.getP();
198 BigInteger g = dhParams.getG();
199 BigInteger q = dhParams.getQ();
201 BigInteger j = null;
212 BigInteger pgenCounter = dhValidationParms.getPgenCounter();
232 BigInteger lVal = params.getL();
477 ECCurve curve = new ECCurve.F2m(field.getM(), field.getK1(), field.getK2(), field.getK3(), binary.getA(), new BigInteger(1, b_bytes));
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
FixedPointUtil.java 3 import java.math.BigInteger;
11 BigInteger order = c.getOrder();
WNafL2RMultiplier.java 3 import java.math.BigInteger;
18 protected ECPoint multiplyPositive(ECPoint p, BigInteger k)
  /external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x9/
ValidationParams.java 4 import java.math.BigInteger;
92 public BigInteger getPgenCounter()
  /external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ec/
FixedPointUtil.java 4 import java.math.BigInteger;
15 BigInteger order = c.getOrder();
WNafL2RMultiplier.java 4 import java.math.BigInteger;
20 protected ECPoint multiplyPositive(ECPoint p, BigInteger k)
  /external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/tlswire/handshake/
HelloExtension.java 21 import java.math.BigInteger;
102 return "HelloExtension{type: " + name + ", data: " + new BigInteger(1, data).toString(16)
  /external/conscrypt/testing/src/main/java/org/conscrypt/tlswire/handshake/
HelloExtension.java 20 import java.math.BigInteger;
100 return "HelloExtension{type: " + name + ", data: " + new BigInteger(1, data).toString(16)
  /cts/tests/tests/location/src/android/location/cts/asn1/base/
Asn1Tag.java 21 import java.math.BigInteger;
55 public static final BigInteger MAX_INTEGER_VALUE = BigInteger.valueOf(Integer.MAX_VALUE);
141 byte[] lengthBytes = BigInteger.valueOf(valueLength).toByteArray();
171 BigInteger bi = new BigInteger(val);
  /external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/
JCEDHPrivateKey.java 7 import java.math.BigInteger;
37 BigInteger x;
150 public BigInteger getX()
159 x = (BigInteger)in.readObject();
161 this.dhSpec = new DHParameterSpec((BigInteger)in.readObject(), (BigInteger)in.readObject(), in.readInt());
  /external/conscrypt/common/src/main/java/org/conscrypt/
OpenSSLECPrivateKey.java 22 import java.math.BigInteger;
61 final BigInteger privKey = ecKeySpec.getS();
145 final BigInteger privKey = ecPrivateKey.getS();
174 public BigInteger getS() {
178 private BigInteger getPrivateKey() {
179 return new BigInteger(NativeCrypto.EC_KEY_get_private_key(key.getNativeRef()));
  /external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
OpenSSLECPrivateKey.java 23 import java.math.BigInteger;
62 final BigInteger privKey = ecKeySpec.getS();
146 final BigInteger privKey = ecPrivateKey.getS();
175 public BigInteger getS() {
179 private BigInteger getPrivateKey() {
180 return new BigInteger(NativeCrypto.EC_KEY_get_private_key(key.getNativeRef()));
  /external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/dh/
BCDHPublicKey.java 7 import java.math.BigInteger;
37 private BigInteger y;
68 BigInteger y,
182 public BigInteger getY()
207 if (l.getValue().compareTo(BigInteger.valueOf(p.getValue().bitLength())) > 0)
243 this.dhSpec = new DHParameterSpec((BigInteger)in.readObject(), (BigInteger)in.readObject(), in.readInt());
  /external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DecimalQuantity_DualStorageBCD.java 7 import java.math.BigInteger;
52 public DecimalQuantity_DualStorageBCD(BigInteger input) {
75 } else if (number instanceof BigInteger) {
76 setToBigInteger((BigInteger) number);
215 protected void readBigIntegerToBcd(BigInteger n) {
220 BigInteger[] temp = n.divideAndRemainder(BigInteger.TEN);
232 // Converting to a string here is faster than doing BigInteger/BigDecimal arithmetic.
  /external/icu/android_icu4j/src/main/java/android/icu/text/
DigitList_Android.java 12 import java.math.BigInteger;
167 * Return a <code>BigInteger</code> representing the value stored in this
172 * @return the value of this object as a <code>BigInteger</code>
174 public BigInteger getBigInteger(boolean isPositive) {
175 if (isZero()) return BigInteger.valueOf(0);
189 return new BigInteger(stringRep.toString());
212 return new BigInteger(new String(text));
278 BigInteger unscaledVal = new BigInteger(significantDigits.toString());
603 * Set the digit list to a representation of the given BigInteger value
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DecimalQuantity_DualStorageBCD.java 6 import java.math.BigInteger;
50 public DecimalQuantity_DualStorageBCD(BigInteger input) {
73 } else if (number instanceof BigInteger) {
74 setToBigInteger((BigInteger) number);
213 protected void readBigIntegerToBcd(BigInteger n) {
218 BigInteger[] temp = n.divideAndRemainder(BigInteger.TEN);
230 // Converting to a string here is faster than doing BigInteger/BigDecimal arithmetic.
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DigitList_Android.java 11 import java.math.BigInteger;
165 * Return a <code>BigInteger</code> representing the value stored in this
170 * @return the value of this object as a <code>BigInteger</code>
172 public BigInteger getBigInteger(boolean isPositive) {
173 if (isZero()) return BigInteger.valueOf(0);
187 return new BigInteger(stringRep.toString());
210 return new BigInteger(new String(text));
276 BigInteger unscaledVal = new BigInteger(significantDigits.toString());
601 * Set the digit list to a representation of the given BigInteger value
    [all...]
  /external/protobuf/java/util/src/main/java/com/google/protobuf/util/
TimeUtil.java 36 import java.math.BigInteger;
455 private static final BigInteger NANOS_PER_SECOND_BIG_INTEGER =
456 new BigInteger(String.valueOf(NANOS_PER_SECOND));
458 private static BigInteger toBigInteger(Duration duration) {
464 private static BigInteger toBigInteger(long value) {
465 return new BigInteger(String.valueOf(value));
468 private static Duration createDurationFromBigInteger(BigInteger value) {
470 new BigInteger(String.valueOf(NANOS_PER_SECOND))).longValue();
472 new BigInteger(String.valueOf(NANOS_PER_SECOND))).intValue();
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
BCDHPrivateKey.java 6 import java.math.BigInteger;
38 private BigInteger x;
179 public BigInteger getX()
244 this.dhSpec = new DHParameterSpec((BigInteger)in.readObject(), (BigInteger)in.readObject(), in.readInt());
  /external/crcalc/tests/src/com/hp/creals/
CRTest.java 49 import java.math.BigInteger;
108 BigInteger million = BigInteger.valueOf(1000*1000);
109 BigInteger thousand = BigInteger.valueOf(1000);
  /external/guava/guava/src/com/google/common/math/
DoubleMath.java 40 import java.math.BigInteger;
169 * Returns the {@code BigInteger} value that is equal to {@code x} rounded with the specified
181 public static BigInteger roundToBigInteger(double x, RoundingMode mode) {
184 return BigInteger.valueOf((long) x);
188 BigInteger result = BigInteger.valueOf(significand).shiftLeft(exponent - SIGNIFICAND_BITS);
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/impl/number/
DecimalQuantity_ByteArrayBCD.java 7 import java.math.BigInteger;
42 public DecimalQuantity_ByteArrayBCD(BigInteger input) {
144 protected void readBigIntegerToBcd(BigInteger n) {
148 BigInteger[] temp = n.divideAndRemainder(BigInteger.TEN);
159 // Converting to a string here is faster than doing BigInteger/BigDecimal arithmetic.

Completed in 738 milliseconds

<<11121314151617181920>>