Searched refs:BigIntegers (Results 1 – 12 of 12) sorted by relevance
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/sec/ |
D | ECPrivateKeyStructure.java | 18 import org.bouncycastle.util.BigIntegers; 38 byte[] bytes = BigIntegers.asUnsignedByteArray(key); in ECPrivateKeyStructure() 60 byte[] bytes = BigIntegers.asUnsignedByteArray(key); in ECPrivateKeyStructure()
|
D | ECPrivateKey.java | 18 import org.bouncycastle.util.BigIntegers; 69 byte[] bytes = BigIntegers.asUnsignedByteArray((orderBitLength + 7) / 8, key); in ECPrivateKey() 114 byte[] bytes = BigIntegers.asUnsignedByteArray((orderBitLength + 7) / 8, key); in ECPrivateKey()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/ |
D | DHKeyGeneratorHelper.java | 8 import org.bouncycastle.util.BigIntegers; 55 BigInteger x = BigIntegers.createRandomInRange(min, max, random); in calculatePrivate()
|
D | DHParametersHelper.java | 10 import org.bouncycastle.util.BigIntegers; 104 BigInteger h = BigIntegers.createRandomInRange(TWO, pMinusTwo, random); in selectGenerator()
|
D | DSAKeyPairGenerator.java | 14 import org.bouncycastle.util.BigIntegers; 57 BigInteger x = BigIntegers.createRandomInRange(ONE, q.subtract(ONE), random); in generatePrivateKey()
|
D | DSAParametersGenerator.java | 15 import org.bouncycastle.util.BigIntegers; 213 BigInteger h = BigIntegers.createRandomInRange(TWO, pSub2, r); in calculateGenerator_FIPS186_2()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
D | RSABlindedEngine.java | 12 import org.bouncycastle.util.BigIntegers; 106 BigInteger r = BigIntegers.createRandomInRange(ONE, m.subtract(ONE), random); in processBlock()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
D | ECCurve.java | 11 import org.bouncycastle.util.BigIntegers; 390 BigInteger X = BigIntegers.fromUnsignedByteArray(encoded, 1, expectedLength); in decodePoint() 407 BigInteger X = BigIntegers.fromUnsignedByteArray(encoded, 1, expectedLength); in decodePoint() 408 … BigInteger Y = BigIntegers.fromUnsignedByteArray(encoded, 1 + expectedLength, expectedLength); in decodePoint() 421 BigInteger X = BigIntegers.fromUnsignedByteArray(encoded, 1, expectedLength); in decodePoint() 422 … BigInteger Y = BigIntegers.fromUnsignedByteArray(encoded, 1 + expectedLength, expectedLength); in decodePoint()
|
D | ECFieldElement.java | 9 import org.bouncycastle.util.BigIntegers; 84 return BigIntegers.asUnsignedByteArray((getFieldSize() + 7) / 8, toBigInteger()); in getEncoded()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ |
D | Primes.java | 8 import org.bouncycastle.util.BigIntegers; 181 BigInteger b = BigIntegers.createRandomInRange(TWO, wSubTwo, random); in enhancedMRProbablePrimeTest() 307 BigInteger b = BigIntegers.createRandomInRange(TWO, wSubTwo, random); in isMRProbablePrime()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/ |
D | BigIntegers.java | 9 public final class BigIntegers class
|
/external/bouncycastle/patches/ |
D | bcprov.patch | 897 import org.bouncycastle.util.BigIntegers;
|