Home
last modified time | relevance | path

Searched refs:SecureRandom (Results 1 – 25 of 188) sorted by relevance

12345678

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DDSAParameterGenerationParameters.java3 import java.security.SecureRandom;
14 private final SecureRandom random;
28 SecureRandom random) in DSAParameterGenerationParameters()
46 SecureRandom random, in DSAParameterGenerationParameters()
71 public SecureRandom getRandom() in getRandom()
DParametersWithRandom.java3 import java.security.SecureRandom;
11 private SecureRandom random;
16 SecureRandom random) in ParametersWithRandom()
28 public SecureRandom getRandom() in getRandom()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/params/
DDSAParameterGenerationParameters.java4 import java.security.SecureRandom;
18 private final SecureRandom random;
32 SecureRandom random) in DSAParameterGenerationParameters()
50 SecureRandom random, in DSAParameterGenerationParameters()
75 public SecureRandom getRandom() in getRandom()
DParametersWithRandom.java4 import java.security.SecureRandom;
15 private SecureRandom random;
20 SecureRandom random) in ParametersWithRandom()
32 public SecureRandom getRandom() in getRandom()
/external/conscrypt/common/src/main/java/org/conscrypt/
DKeyGeneratorImpl.java20 import java.security.SecureRandom;
34 protected SecureRandom secureRandom;
49 protected void engineInit(SecureRandom secureRandom) { in engineInit()
54 protected void engineInit(AlgorithmParameterSpec params, SecureRandom secureRandom) in engineInit()
65 protected void engineInit(int keySize, SecureRandom secureRandom) { in engineInit()
80 secureRandom = new SecureRandom(); in engineGenerateKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
DKeyGenerationParameters.java3 import java.security.SecureRandom;
10 private SecureRandom random;
21 SecureRandom random, in KeyGenerationParameters()
34 public SecureRandom getRandom() in getRandom()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/
DKeyGenerationParameters.java4 import java.security.SecureRandom;
12 private SecureRandom random;
23 SecureRandom random, in KeyGenerationParameters()
36 public SecureRandom getRandom() in getRandom()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DKeyGeneratorImpl.java21 import java.security.SecureRandom;
37 protected SecureRandom secureRandom;
52 protected void engineInit(SecureRandom secureRandom) { in engineInit()
57 protected void engineInit(AlgorithmParameterSpec params, SecureRandom secureRandom) in engineInit()
68 protected void engineInit(int keySize, SecureRandom secureRandom) { in engineInit()
83 secureRandom = new SecureRandom(); in engineGenerateKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DKeyPairGeneratorSpi.java6 import java.security.SecureRandom;
44 SecureRandom random) in initialize()
49 …(random != null) ? random : new SecureRandom(), strength, PrimeCertaintyCalculator.getDefaultCerta… in initialize()
56 SecureRandom random) in initialize()
69 …(random != null) ? random : new SecureRandom(), rsaParams.getKeysize(), PrimeCertaintyCalculator.g… in initialize()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DKeyPairGeneratorSpi.java7 import java.security.SecureRandom;
48 SecureRandom random) in initialize()
53 …(random != null) ? random : new SecureRandom(), strength, PrimeCertaintyCalculator.getDefaultCerta… in initialize()
60 SecureRandom random) in initialize()
73 …(random != null) ? random : new SecureRandom(), rsaParams.getKeysize(), PrimeCertaintyCalculator.g… in initialize()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/
DDSASigner.java4 import java.security.SecureRandom;
26 private SecureRandom random;
50 SecureRandom providedRandom = null; in init()
170 protected SecureRandom initSecureRandom(boolean needed, SecureRandom provided) in initSecureRandom()
175 private BigInteger getRandomizer(BigInteger q, SecureRandom provided) in getRandomizer()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DKeyPairGeneratorSpi.java6 import java.security.SecureRandom;
40 SecureRandom random = CryptoServicesRegistrar.getSecureRandom();
50 SecureRandom random) in initialize()
59 random = new SecureRandom(); in initialize()
81 SecureRandom random) in initialize()
92 random = new SecureRandom(); in initialize()
DAlgorithmParameterGeneratorSpi.java6 import java.security.SecureRandom;
21 protected SecureRandom random;
31 SecureRandom random) in engineInit()
54 SecureRandom random) in engineInit()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
DKeyPairGeneratorSpi.java7 import java.security.SecureRandom;
51 SecureRandom random = CryptoServicesRegistrar.getSecureRandom();
88 SecureRandom random) in initialize()
117 SecureRandom random) in initialize()
167 initialize(strength, new SecureRandom()); in generateKeyPair()
197 protected ECKeyGenerationParameters createKeyGenParamsBC(ECParameterSpec p, SecureRandom r) in createKeyGenParamsBC()
202 …KeyGenerationParameters createKeyGenParamsJCE(java.security.spec.ECParameterSpec p, SecureRandom r) in createKeyGenParamsJCE()
248 protected void initializeNamedCurve(String curveName, SecureRandom random) in initializeNamedCurve()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseKeyGenerator.java5 import java.security.SecureRandom;
38 SecureRandom random) in engineInit()
45 SecureRandom random) in engineInit()
56 SecureRandom random) in engineInit()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/signers/
DDSASigner.java5 import java.security.SecureRandom;
28 private SecureRandom random;
52 SecureRandom providedRandom = null; in init()
172 protected SecureRandom initSecureRandom(boolean needed, SecureRandom provided) in initSecureRandom()
177 private BigInteger getRandomizer(BigInteger q, SecureRandom provided) in getRandomizer()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DKeyPairGeneratorSpi.java7 import java.security.SecureRandom;
44 SecureRandom random = CryptoServicesRegistrar.getSecureRandom();
54 SecureRandom random) in initialize()
63 random = new SecureRandom(); in initialize()
85 SecureRandom random) in initialize()
96 random = new SecureRandom(); in initialize()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
DBigIntegers.java4 import java.security.SecureRandom;
80 SecureRandom random) in createRandomInRange()
139 public static BigInteger createRandomBigInteger(int bitLength, SecureRandom random) in createRandomBigInteger()
151 public static BigInteger createRandomPrime(int bitLength, int certainty, SecureRandom random) in createRandomPrime()
183 private static byte[] createRandom(int bitLength, SecureRandom random) in createRandom()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/
DBigIntegers.java5 import java.security.SecureRandom;
82 SecureRandom random) in createRandomInRange()
141 public static BigInteger createRandomBigInteger(int bitLength, SecureRandom random) in createRandomBigInteger()
153 public static BigInteger createRandomPrime(int bitLength, int certainty, SecureRandom random) in createRandomPrime()
185 private static byte[] createRandom(int bitLength, SecureRandom random) in createRandom()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseKeyGenerator.java6 import java.security.SecureRandom;
42 SecureRandom random) in engineInit()
49 SecureRandom random) in engineInit()
60 SecureRandom random) in engineInit()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/ec/
DKeyPairGeneratorSpi.java8 import java.security.SecureRandom;
58 SecureRandom random = CryptoServicesRegistrar.getSecureRandom();
95 SecureRandom random) in initialize()
124 SecureRandom random) in initialize()
174 initialize(strength, new SecureRandom()); in generateKeyPair()
204 protected ECKeyGenerationParameters createKeyGenParamsBC(ECParameterSpec p, SecureRandom r) in createKeyGenParamsBC()
209 …KeyGenerationParameters createKeyGenParamsJCE(java.security.spec.ECParameterSpec p, SecureRandom r) in createKeyGenParamsJCE()
255 protected void initializeNamedCurve(String curveName, SecureRandom random) in initializeNamedCurve()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
DAlgorithmParameterGeneratorSpi.java5 import java.security.SecureRandom;
20 protected SecureRandom random;
27 SecureRandom random) in engineInit()
35 SecureRandom random) in engineInit()
DKeyPairGeneratorSpi.java5 import java.security.SecureRandom;
33 SecureRandom random = CryptoServicesRegistrar.getSecureRandom();
43 SecureRandom random) in initialize()
52 SecureRandom random) in initialize()
74 private DHKeyGenerationParameters convertParams(SecureRandom random, DHParameterSpec dhParams) in convertParams()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/dh/
DAlgorithmParameterGeneratorSpi.java6 import java.security.SecureRandom;
24 protected SecureRandom random;
31 SecureRandom random) in engineInit()
39 SecureRandom random) in engineInit()
DKeyPairGeneratorSpi.java6 import java.security.SecureRandom;
37 SecureRandom random = CryptoServicesRegistrar.getSecureRandom();
47 SecureRandom random) in initialize()
56 SecureRandom random) in initialize()
78 private DHKeyGenerationParameters convertParams(SecureRandom random, DHParameterSpec dhParams) in convertParams()

12345678