/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-x86/usr/include/linux/ |
etherdevice.h | 17 #include <linux/random.h>
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
JDKAlgorithmParameterGenerator.java | 36 protected SecureRandom random; field in class:JDKAlgorithmParameterGenerator 41 SecureRandom random) 44 this.random = random; 54 SecureRandom random) 65 this.random = random; 72 if (random != null) 74 pGen.init(strength, 20, random); 104 SecureRandom random) [all...] |
JCEKeyGenerator.java | 38 SecureRandom random) 45 SecureRandom random) 47 if (random != null) 49 engine.init(new KeyGenerationParameters(random, defaultKeySize)); 56 SecureRandom random) 61 if (random == null) { 62 random = new SecureRandom(); 65 engine.init(new KeyGenerationParameters(random, keySize));
|
JDKKeyPairGenerator.java | 64 public abstract void initialize(int strength, SecureRandom random); 89 SecureRandom random) 92 random, strength, defaultTests); 99 SecureRandom random) 110 random, rsaParams.getKeysize(), defaultTests); 135 SecureRandom random = new SecureRandom(); field in class:JDKKeyPairGenerator.DH 145 SecureRandom random) 148 this.random = random; 153 SecureRandom random) 212 SecureRandom random = new SecureRandom(); field in class:JDKKeyPairGenerator.DSA [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/params/ |
DSAKeyGenerationParameters.java | 13 SecureRandom random, 16 super(random, params.getP().bitLength() - 1);
|
ECKeyGenerationParameters.java | 14 SecureRandom random) 16 super(random, domainParams.getN().bitLength());
|
DHKeyGenerationParameters.java | 13 SecureRandom random, 16 super(random, getStrength(params));
|
/external/clang/test/Analysis/ |
security-syntax-checks-no-emit.c | 15 long random(void); 32 random(); // no-warning
|
/libcore/luni/src/main/java/java/security/ |
KeyPairGeneratorSpi.java | 49 * @param random 52 public abstract void initialize(int keysize, SecureRandom random); 60 * @param random 65 public void initialize(AlgorithmParameterSpec params, SecureRandom random)
|
/libcore/luni/src/main/java/java/security/interfaces/ |
DSAKeyPairGenerator.java | 34 * @param random 40 public void initialize(DSAParams params, SecureRandom random) 58 * @param random 65 public void initialize(int modlen, boolean genParams, SecureRandom random)
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
ServerHello.java | 38 * Random bytes 40 byte[] random = new byte[32]; field in class:ServerHello 68 sr.nextBytes(random); 69 random[0] = (byte) ((gmt_unix_time & 0xFF000000) >>> 24); 70 random[1] = (byte) ((gmt_unix_time & 0xFF0000) >>> 16); 71 random[2] = (byte) ((gmt_unix_time & 0xFF00) >>> 8); 72 random[3] = (byte) (gmt_unix_time & 0xFF); 90 Streams.readFully(in, random); 112 out.write(random); 121 * Returns server random [all...] |
ClientHello.java | 40 * Random bytes 42 final byte[] random = new byte[32]; field in class:ClientHello 70 sr.nextBytes(random); 71 random[0] = (byte) (gmt_unix_time & 0xFF000000 >>> 24); 72 random[1] = (byte) (gmt_unix_time & 0xFF0000 >>> 16); 73 random[2] = (byte) (gmt_unix_time & 0xFF00 >>> 8); 74 random[3] = (byte) (gmt_unix_time & 0xFF); 92 Streams.readFully(in, random); 157 Arrays.fill(random, 0, 32 - challenge_length, (byte)0); 158 System.arraycopy(in.read(challenge_length), 0, random, 32 - challenge_length, challenge_length) local 162 System.arraycopy(in.read(challenge_length), challenge_length - 32, random, 0, 32); local [all...] |
/external/apache-harmony/crypto/src/test/support/common/java/org/apache/harmony/crypto/tests/support/ |
MyKeyGeneratorSpi.java | 45 protected void engineInit(AlgorithmParameterSpec params, SecureRandom random) 53 protected void engineInit(int keysize, SecureRandom random) { 60 protected void engineInit(SecureRandom random) { 61 throw new IllegalArgumentException("Invalid random");
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/ |
MyKeyGeneratorSpi.java | 46 protected void engineInit(AlgorithmParameterSpec params, SecureRandom random) 54 protected void engineInit(int keysize, SecureRandom random) { 61 protected void engineInit(SecureRandom random) { 62 throw new IllegalArgumentException("Invalid random");
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
MyKeyPairGenerator1.java | 61 public void initialize(int keysize, SecureRandom random) { 65 if (random == null) { 66 throw new InvalidParameterException("Incorrect random"); 69 secureRandom = random; 81 public void initialize(AlgorithmParameterSpec param, SecureRandom random) 83 if (random == null) { 84 throw new InvalidParameterException("Incorrect random"); 90 secureRandom = random;
|
MyKeyPairGenerator2.java | 55 public void initialize(int keysize, SecureRandom random) { 60 secureRandom = random;
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
KeyGeneratorSpiTest.java | 48 protected void engineInit(SecureRandom random) { 49 super.engineInit(random); 53 protected void engineInit(AlgorithmParameterSpec params, SecureRandom random) 55 super.engineInit(params, random); 59 protected void engineInit(int keysize, SecureRandom random) { 60 super.engineInit(keysize, random);
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
MyKeyPairGenerator1.java | 62 public void initialize(int keysize, SecureRandom random) { 66 if (random == null) { 67 throw new InvalidParameterException("Incorrect random"); 70 secureRandom = random; 82 public void initialize(AlgorithmParameterSpec param, SecureRandom random) 84 if (random == null) { 85 throw new InvalidParameterException("Incorrect random"); 91 secureRandom = random;
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/interfaces/ |
DSAKeyPairGeneratorImpl.java | 46 public void initialize(DSAParams params, SecureRandom random) 48 if (random == null) { 49 throw new InvalidParameterException("Incorrect random"); 54 secureRandom = random; 59 public void initialize(int modlen, boolean genParams, SecureRandom random) 76 if (random == null) { 77 throw new InvalidParameterException("Incorrect random"); 82 secureRandom = random;
|
/libcore/luni/src/test/java/tests/security/interfaces/ |
DSAKeyPairGeneratorTest.java | 45 * #initialize(DSAParams params, SecureRandom random) 49 SecureRandom random = null; local 52 random = SecureRandom.getInstance("SHA1PRNG"); 58 dsa.initialize(dsaParams, random); 72 dsa.initialize(null, random); 88 SecureRandom random = null; local 91 random = SecureRandom.getInstance("SHA1PRNG"); 98 dsa.initialize(520, false, random); 112 dsa.initialize(invalidLen[i], true, random); 127 dsa.initialize(520, true, random); [all...] |
/external/skia/src/animator/ |
SkDisplayRandom.cpp | 22 SK_PROPERTY(random), 32 SK_MEMBER_DYNAMIC_PROPERTY(random, Float), 61 case SK_PROPERTY(random): { 62 SkScalar random = fRandom.nextUScalar1(); local 63 SkScalar relativeT = SkUnitCubicInterp(random, SK_Scalar1 - blend, 0, 0, SK_Scalar1 - blend);
|
/external/valgrind/main/memcheck/tests/ |
malloc2.c | 22 j = random() % N_TEST_ARR; 27 nbytes = 1 + random() % M_TEST_MALLOC; 28 if (random()%64 == 32)
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeySourceRandomScript.java | 20 import java.util.Random; 32 /** The list of MonkeySourceScript instances to be played in random order */ 35 /** The current source, set to the setup source and then a random script */ 38 /** The random number generator */ 39 private Random mRandom; 52 * @param random The random number generator. 55 long throttle, boolean randomizeThrottle, Random random, long profileWaitTime, 58 mSetupSource = new MonkeySourceScript(random, setupFileName, throttle [all...] |
MonkeyEventQueue.java | 20 import java.util.Random; 28 private Random mRandom; 32 public MonkeyEventQueue(Random random, long throttle, boolean randomizeThrottle) { 34 mRandom = random;
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
SecureRandom2Test.java | 161 int random = mySecureRandom.getNext(numBits); local 162 assertEquals(numBits, Integer.bitCount(random)); 165 random = mySecureRandom.getNext(numBits); 166 assertEquals(numBits, Integer.bitCount(random)); 169 random = mySecureRandom.getNext(numBits); 170 assertEquals(32, Integer.bitCount(random)); 173 random = mySecureRandom.getNext(numBits); 174 assertEquals(0, Integer.bitCount(random));
|