/external/bouncycastle/src/main/java/org/bouncycastle/crypto/paddings/ |
ZeroBytePadding.java | 16 * @param random - a SecureRandom if available. 18 public void init(SecureRandom random)
|
/external/bzip2/ |
spewG.c | 44 p = 25+random()%50;
|
/external/srtp/crypto/include/ |
kernel_compat.h | 54 #include <linux/random.h>
|
/external/webkit/Source/WebKit2/UIProcess/Launcher/qt/ |
ThreadLauncherQt.cpp | 67 int connectionIdentifier = random();
|
/libcore/luni/src/main/java/javax/crypto/ |
KeyAgreement.java | 42 private static final SecureRandom RANDOM = new SecureRandom(); 180 spiImpl.engineInit(key, RANDOM);//new SecureRandom()); 189 * @param random 195 public final void init(Key key, SecureRandom random) 197 spiImpl.engineInit(key, random); 217 spiImpl.engineInit(key, params, RANDOM);//new SecureRandom()); 228 * @param random 238 SecureRandom random) throws InvalidKeyException, 240 spiImpl.engineInit(key, params, random);
|
/external/bouncycastle/src/main/java/org/bouncycastle/openssl/ |
MiscPEMGenerator.java | 52 private SecureRandom random; field in class:MiscPEMGenerator 64 SecureRandom random, 70 this.random = random; 78 SecureRandom random, 85 this.random = random; 229 SecureRandom random) 234 return createPemObject(((KeyPair)obj).getPrivate(), algorithm, password, random); 306 random.nextBytes(iv) [all...] |
PEMWriter.java | 69 SecureRandom random) 74 super.writeObject(new MiscPEMGenerator(obj, algorithm, password, random, provider));
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/tech/ |
MifareUltralightTagTester.java | 24 import java.util.Random; 27 * {@link TagTester} for MIFARE Ultralight tags. It writes random bytes to the 50 Random random = new Random(); local 57 random.nextBytes(onePage);
|
/external/apache-harmony/crypto/src/test/support/common/java/org/apache/harmony/crypto/tests/support/ |
MyKeyAgreementSpi.java | 74 protected void engineInit(Key key, SecureRandom random) 81 SecureRandom random) throws InvalidKeyException,
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/generators/ |
DSAKeyPairGenerator.java | 46 private static BigInteger generatePrivateKey(BigInteger q, SecureRandom random) 48 // TODO Prefer this method? (change test cases that used fixed random) 49 // B.1.1 Key Pair Generation Using Extra Random Bits 50 // BigInteger c = new BigInteger(q.bitLength() + 64, random); 54 return BigIntegers.createRandomInRange(ONE, q.subtract(ONE), random);
|
/external/bouncycastle/src/main/java/org/bouncycastle/x509/ |
X509V1CertificateGenerator.java | 202 * @deprecated use generate(key, random, "BC") 206 SecureRandom random) 211 return generateX509Certificate(key, "BC", random); 242 SecureRandom random) 247 return generate(key, provider, random); 292 SecureRandom random) 300 signature = X509Util.calculateSignature(sigOID, signatureAlgorithm, key, random, tbsCert); 331 SecureRandom random) 339 signature = X509Util.calculateSignature(sigOID, signatureAlgorithm, provider, key, random, tbsCert);
|
/external/icu4c/test/intltest/ |
dtfmtrtts.h | 47 * Return a random uint32_t 50 // The portable IntlTest::random() function has sufficient 52 return ((uint32_t) (IntlTest::random() * (1<<16))) | 53 (((uint32_t) (IntlTest::random() * (1<<16))) << 16); 57 * Return a random double 0 <= x <= 1.0 65 * Return a random value from -range..+range (closed).
|
/frameworks/base/tests/CoreTests/android/core/ |
InetAddrTest.java | 23 import java.util.Random; 84 Random random = new Random(); local 87 int index = random.nextInt(HOSTS.length);
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/ |
MyKeyAgreementSpi.java | 75 protected void engineInit(Key key, SecureRandom random) 82 SecureRandom random) throws InvalidKeyException,
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/i686-linux/bits/ |
stdtr1c++.h | 49 #include <tr1/random>
|
/prebuilt/ndk/android-ndk-r5/sources/cxx-stl/gnu-libstdc++/libs/armeabi/include/bits/ |
stdtr1c++.h | 49 #include <tr1/random>
|
/prebuilt/ndk/android-ndk-r5/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/include/bits/ |
stdtr1c++.h | 49 #include <tr1/random>
|
/prebuilt/ndk/android-ndk-r6/sources/cxx-stl/gnu-libstdc++/libs/armeabi/include/bits/ |
stdtr1c++.h | 49 #include <tr1/random>
|
/prebuilt/ndk/android-ndk-r6/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/include/bits/ |
stdtr1c++.h | 49 #include <tr1/random>
|
/prebuilt/ndk/android-ndk-r6/sources/cxx-stl/gnu-libstdc++/libs/x86/include/bits/ |
stdtr1c++.h | 49 #include <tr1/random>
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/ |
PolicySerializationTestActivity.java | 40 import java.util.Random; 44 * clicks a button to generate a random policy and is then asked to reboot the device. When 119 Random random = new Random(); local 122 item.setRandomExpectedValue(random); 243 void setRandomExpectedValue(Random random); 278 public final void setRandomExpectedValue(Random random) { [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/backup/ |
BackupTestActivity.java | 49 import java.util.Random; 184 Random random = new Random(); local 185 generatePreferenceGroup1(random); 186 generatePreferenceGroup2(random); 188 generateTestFile(TEST_FILE_1, random); 189 generateTestFile(TEST_FILE_2, random); 196 private void generatePreferenceGroup1(Random random) { [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/encodings/ |
PKCS1Encoding.java | 32 private SecureRandom random; field in class:PKCS1Encoding 81 this.random = rParam.getRandom(); 86 this.random = new SecureRandom(); 164 random.nextBytes(block); // random fill 176 block[i] = (byte)random.nextInt();
|
/external/bluetooth/glib/glib/ |
grand.c | 119 * @seed: a value to initialize the random number generator. 121 * Creates a new random number generator initialized with @seed. 135 * @seed: an array of seeds to initialize the random number generator. 136 * @seed_length: an array of seeds to initialize the random number generator. 138 * Creates a new random number generator initialized with @seed. 155 * Creates a new random number generator initialized with a seed taken 238 * This way you can take a snapshot of the random number generator for 261 * @seed: a value to reinitialize the random number generator. 263 * Sets the seed for the random number generator #GRand to @seed. 307 * Initializes the random number generator by an array o 421 guint32 random; local [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
CipherSpiTest.java | 83 protected void engineInit(int opmode, Key key, SecureRandom random) 85 super.engineInit(opmode, key, random); 90 SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException { 91 super.engineInit(opmode, key, params, random); 96 SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException { 97 super.engineInit(opmode, key, params, random); 340 protected void engineInit(int opmode, Key key, SecureRandom random) 345 AlgorithmParameterSpec params, SecureRandom random) 350 SecureRandom random) throws InvalidKeyException,
|