Home
last modified time | relevance | path

Searched refs:BigIntegers (Results 1 – 12 of 12) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/sec/
DECPrivateKeyStructure.java18 import org.bouncycastle.util.BigIntegers;
38 byte[] bytes = BigIntegers.asUnsignedByteArray(key); in ECPrivateKeyStructure()
60 byte[] bytes = BigIntegers.asUnsignedByteArray(key); in ECPrivateKeyStructure()
DECPrivateKey.java18 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/
DDHKeyGeneratorHelper.java8 import org.bouncycastle.util.BigIntegers;
55 BigInteger x = BigIntegers.createRandomInRange(min, max, random); in calculatePrivate()
DDHParametersHelper.java10 import org.bouncycastle.util.BigIntegers;
104 BigInteger h = BigIntegers.createRandomInRange(TWO, pMinusTwo, random); in selectGenerator()
DDSAKeyPairGenerator.java14 import org.bouncycastle.util.BigIntegers;
57 BigInteger x = BigIntegers.createRandomInRange(ONE, q.subtract(ONE), random); in generatePrivateKey()
DDSAParametersGenerator.java15 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/
DRSABlindedEngine.java12 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/
DECCurve.java11 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()
DECFieldElement.java9 import org.bouncycastle.util.BigIntegers;
84 return BigIntegers.asUnsignedByteArray((getFieldSize() + 7) / 8, toBigInteger()); in getEncoded()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/
DPrimes.java8 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/
DBigIntegers.java9 public final class BigIntegers class
/external/bouncycastle/patches/
Dbcprov.patch897 import org.bouncycastle.util.BigIntegers;