/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/ |
D | SHA1PRNG_SecureRandomTest.java | 113 sr.nextBytes(null); in testNextBytesbyteArray01() 147 sr.nextBytes(myBytes1); in testNextBytesbyteArray02() 148 sr2.nextBytes(myBytes2); in testNextBytesbyteArray02() 167 sr.nextBytes(bytes1[k]); in testNextBytesbyteArray02() 170 sr2.nextBytes(bytes2[k]); in testNextBytesbyteArray02() 210 sr1.nextBytes(myBytes1); in testNextBytesbyteArray03() 211 sr2.nextBytes(myBytes2); in testNextBytesbyteArray03() 217 sr1.nextBytes(myBytes1); in testNextBytesbyteArray03() 218 sr2.nextBytes(myBytes2); in testNextBytesbyteArray03() 260 sr1.nextBytes(new byte[0]); in testNextBytesbyteArray04() [all …]
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
D | SecureRandom_ImplTest.java | 75 sr.nextBytes(new byte[20]); in testNextBytes() 76 sr.nextBytes(new byte[1]); in testNextBytes() 80 sr.nextBytes(null); in testNextBytes() 83 sr.nextBytes(new byte[5]); in testNextBytes() 108 sr.nextBytes(new byte[100]); in testGetAlgorithm() 132 new SecureRandom(seed).nextBytes(new byte[20]); in testGetSeed() 138 new SecureRandom(seed).nextBytes(new byte[20]); in testGenerateSeed()
|
/external/guava/guava/src/com/google/common/hash/ |
D | Hashing.java | 368 byte[] nextBytes = hashCode.asBytes(); in combineOrdered() 369 checkArgument(nextBytes.length == resultBytes.length, in combineOrdered() 371 for (int i = 0; i < nextBytes.length; i++) { in combineOrdered() 372 resultBytes[i] = (byte) (resultBytes[i] * 37 ^ nextBytes[i]); in combineOrdered() 393 byte[] nextBytes = hashCode.asBytes(); in combineUnordered() 394 checkArgument(nextBytes.length == resultBytes.length, in combineUnordered() 396 for (int i = 0; i < nextBytes.length; i++) { in combineUnordered() 397 resultBytes[i] += nextBytes[i]; in combineUnordered()
|
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/internal/ws/ |
D | WebSocketWriterTest.java | 123 random.nextBytes(maskKey); in clientSendBinary() 148 random.nextBytes(maskKey1); in clientStreamBinary() 150 random.nextBytes(maskKey2); in clientStreamBinary() 152 random.nextBytes(maskKey3); in clientStreamBinary() 328 new Random(0).nextBytes(junk); in binaryData()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/ |
D | RandomAdaptor.java | 85 public void nextBytes(byte[] bytes) { in nextBytes() method in RandomAdaptor 86 randomGenerator.nextBytes(bytes); in nextBytes()
|
D | RandomGenerator.java | 67 void nextBytes(byte[] bytes); in nextBytes() method
|
D | AbstractRandomGenerator.java | 106 public void nextBytes(byte[] bytes) { in nextBytes() method in AbstractRandomGenerator
|
D | BitsStreamGenerator.java | 65 public void nextBytes(byte[] bytes) { in nextBytes() method in BitsStreamGenerator
|
/external/apache-harmony/crypto/src/test/impl/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | Cipher_Impl1Test.java | 60 sr.nextBytes(iv); in test_getIV() 90 sr.nextBytes(iv); in test_getParameters()
|
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/internal/ws/ |
D | WebSocketWriter.java | 137 random.nextBytes(maskKey); in writeControlFrame() 211 random.nextBytes(maskKey); in writeFrame() 281 random.nextBytes(maskKey); in close()
|
/external/jetty/src/java/org/eclipse/jetty/websocket/ |
D | RandomMaskGen.java | 43 _random.nextBytes(mask); in genMask()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ |
D | CipherKeyGenerator.java | 34 random.nextBytes(key); in generateKey()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/ |
D | DESKeyGenerator.java | 40 random.nextBytes(newKey); in generateKey()
|
D | DESedeKeyGenerator.java | 48 random.nextBytes(newKey); in generateKey()
|
D | DSAParametersGenerator.java | 138 random.nextBytes(seed); in generateParameters_FIPS186_2() 245 random.nextBytes(seed); in generateParameters_FIPS186_3()
|
/external/guava/guava-tests/benchmark/com/google/common/hash/ |
D | HashFunctionBenchmark.java | 51 random.nextBytes(testBytes); in setUp()
|
D | ChecksumBenchmark.java | 48 new Random(RANDOM_SEED).nextBytes(testBytes); in setUp()
|
D | MessageDigestAlgorithmBenchmark.java | 94 new Random(RANDOM_SEED).nextBytes(testBytes); in setUp()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/encodings/ |
D | PKCS1Encoding.java | 202 random.nextBytes(block); // random fill in encodeBlock() 295 this.random.nextBytes(random); in decodeBlockOrRandom()
|
/external/guava/guava-tests/test/com/google/common/hash/ |
D | HashTestUtils.java | 158 random.nextBytes(value); in PUT_BYTES() 167 random.nextBytes(value); in PUT_BYTES_INT_INT() 492 random.nextBytes(bytes); in assertHashBytesEquivalence() 538 random.nextBytes(bytes); in assertHashStringEquivalence()
|
D | AbstractByteHasherTest.java | 72 random.nextBytes(bytes); in testString()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/spdy/ |
D | HuffmanTest.java | 41 random.nextBytes(buf); in roundTripForRequestAndResponse()
|
/external/guava/guava-tests/benchmark/com/google/common/primitives/ |
D | UnsignedBytesBenchmark.java | 49 r.nextBytes(ba1); in setUp()
|
/external/apache-harmony/security/src/test/api/java.injected/java/security/ |
D | SecureRandomTest.java | 76 sr.nextBytes(b); in testNextBytes()
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
D | SecureRandom2Test.java | 115 new SecureRandom().nextBytes(bytes); in test_nextBytes$B()
|