Home
last modified time | relevance | path

Searched refs:nextBytes (Results 1 – 25 of 93) sorted by relevance

1234

/external/rappor/client/javatest/com/google/android/rappor/
DHmacDrbgTest.java40 drbg.nextBytes(out1); in testHmacDrbgNistCase0()
42 drbg.nextBytes(out2); in testHmacDrbgNistCase0()
59 drbg.nextBytes(out1); in testHmacDrbgNistCase1()
61 drbg.nextBytes(out2); in testHmacDrbgNistCase1()
78 drbg.nextBytes(out1); in testHmacDrbgNistCase2()
80 drbg.nextBytes(out2); in testHmacDrbgNistCase2()
97 drbg.nextBytes(out1); in testHmacDrbgNistCase3()
99 drbg.nextBytes(out2); in testHmacDrbgNistCase3()
116 drbg.nextBytes(out1); in testHmacDrbgNistCase4()
118 drbg.nextBytes(out2); in testHmacDrbgNistCase4()
[all …]
/external/rappor/client/java/com/google/android/rappor/
DHmacDrbg.java207 new SecureRandom().nextBytes(result); in generateEntropyInput()
214 public byte[] nextBytes(int length) { in nextBytes() method in HmacDrbg
216 nextBytes(result); in nextBytes()
223 public void nextBytes(byte[] out) { in nextBytes() method in HmacDrbg
224 nextBytes(out, 0, out.length); in nextBytes()
230 public void nextBytes(byte[] out, int start, int count) { in nextBytes() method in HmacDrbg
/external/guava/guava/src/com/google/common/hash/
DHashing.java369 byte[] nextBytes = hashCode.asBytes(); in combineOrdered()
370 checkArgument(nextBytes.length == resultBytes.length, in combineOrdered()
372 for (int i = 0; i < nextBytes.length; i++) { in combineOrdered()
373 resultBytes[i] = (byte) (resultBytes[i] * 37 ^ nextBytes[i]); in combineOrdered()
394 byte[] nextBytes = hashCode.asBytes(); in combineUnordered()
395 checkArgument(nextBytes.length == resultBytes.length, in combineUnordered()
397 for (int i = 0; i < nextBytes.length; i++) { in combineUnordered()
398 resultBytes[i] += nextBytes[i]; in combineUnordered()
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/
DRandomAdaptor.java85 public void nextBytes(byte[] bytes) { in nextBytes() method in RandomAdaptor
86 randomGenerator.nextBytes(bytes); in nextBytes()
DRandomGenerator.java67 void nextBytes(byte[] bytes); in nextBytes() method
/external/conscrypt/common/src/main/java/org/conscrypt/
DKeyGeneratorImpl.java73 secureRandom.nextBytes(keyData); in doKeyGeneration()
138 secureRandom.nextBytes(keyData); in doKeyGeneration()
/external/skqp/fuzz/
DFuzz.h51 void next(T* t) { this->nextBytes(t, sizeof(T)); } in next()
86 void nextBytes(void* ptr, size_t size);
/external/skia/fuzz/
DFuzz.h51 void next(T* t) { this->nextBytes(t, sizeof(T)); } in next()
86 void nextBytes(void* ptr, size_t size);
DFuzz.cpp27 void Fuzz::nextBytes(void* n, size_t size) { in nextBytes() function in Fuzz
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DKeyGeneratorImpl.java76 secureRandom.nextBytes(keyData); in doKeyGeneration()
176 secureRandom.nextBytes(keyData); in doKeyGeneration()
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/internal/ws/
DWebSocketWriterTest.java172 random.nextBytes(maskKey1); in clientBinary()
174 random.nextBytes(maskKey2); in clientBinary()
335 new Random(0).nextBytes(junk); in binaryData()
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/system/impl/
DCoreImplTest.java90 random.nextBytes(bytes); in checkSendingMessage()
108 random.nextBytes(bytes); in checkSendingData()
151 random.nextBytes(bytes); in checkSharing()
319 random.nextBytes(bytes); in testDataPipeTwoPhaseSend()
349 random.nextBytes(bytes); in testDataPipeDiscard()
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
DGlRectDrawerTest.java106 random.nextBytes(rgbPlane.array()); in testRgbRendering()
145 random.nextBytes(yuvPlanes[i].array()); in testYuvRendering()
281 random.nextBytes(rgbPlane.array());
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
DCipherKeyGenerator.java34 random.nextBytes(key); in generateKey()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/
DCipherKeyGenerator.java36 random.nextBytes(key); in generateKey()
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/
DTestUtils.java23 RANDOM.nextBytes(bytes); in newRandomBuffer()
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/internal/ws/
DWebSocketWriter.java138 random.nextBytes(maskKey); in writeControlFrameSynchronized()
188 random.nextBytes(maskKey); in writeMessageFrameSynchronized()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DDESKeyGenerator.java40 random.nextBytes(newKey); in generateKey()
DDESedeKeyGenerator.java51 random.nextBytes(newKey); in generateKey()
/external/guava/guava-tests/test/com/google/common/hash/
DHashTestUtils.java158 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()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/generators/
DDESKeyGenerator.java44 random.nextBytes(newKey); in generateKey()
DDESedeKeyGenerator.java55 random.nextBytes(newKey); in generateKey()
/external/guava/guava-tests/benchmark/com/google/common/hash/
DHashFunctionBenchmark.java51 random.nextBytes(testBytes); in setUp()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/encodings/
DPKCS1Encoding.java231 random.nextBytes(block); // random fill in encodeBlock()
325 this.random.nextBytes(random); in decodeBlockOrRandom()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/encodings/
DPKCS1Encoding.java229 random.nextBytes(block); // random fill in encodeBlock()
323 this.random.nextBytes(random); in decodeBlockOrRandom()

1234