HomeSort by relevance Sort by last modified time
    Searched refs:nextBytes (Results 1 - 25 of 277) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/rappor/client/javatest/com/google/android/rappor/
HmacDrbgTest.java 40 drbg.nextBytes(out1);
42 drbg.nextBytes(out2);
59 drbg.nextBytes(out1);
61 drbg.nextBytes(out2);
78 drbg.nextBytes(out1);
80 drbg.nextBytes(out2);
97 drbg.nextBytes(out1);
99 drbg.nextBytes(out2);
116 drbg.nextBytes(out1);
118 drbg.nextBytes(out2)
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/
OldSHA1PRNGSecureRandomTest.java 100 * test against the "void nextBytes(byte[])" method; it checks out that the
105 sr.nextBytes(null);
106 fail("unexpected: nextBytes(null) :: No NullPointerException");
112 * test against the "void nextBytes(byte[])" method; it checks out that
114 * the same sequencies of bytes as results of their "nextBytes(byte[])"
135 sr.nextBytes(myBytes1);
136 sr2.nextBytes(myBytes2);
155 sr.nextBytes(bytes1[k]);
158 sr2.nextBytes(bytes2[k]);
173 * test against the "void nextBytes(byte[])" method; it checks out tha
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/random/
RandomGenerator.java 67 void nextBytes(byte[] bytes);
RandomAdaptor.java 85 public void nextBytes(byte[] bytes) {
86 randomGenerator.nextBytes(bytes);
AbstractRandomGenerator.java 106 public void nextBytes(byte[] bytes) {
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
CipherKeyGenerator.java 34 random.nextBytes(key);
  /external/rappor/client/java/com/google/android/rappor/
HmacDrbg.java 207 new SecureRandom().nextBytes(result);
214 public byte[] nextBytes(int length) {
216 nextBytes(result);
223 public void nextBytes(byte[] out) {
224 nextBytes(out, 0, out.length);
230 public void nextBytes(byte[] out, int start, int count) {
  /libcore/luni/src/test/java/libcore/java/security/
SecureRandomTest.java 77 sr.nextBytes(out1);
78 sr.nextBytes(out2);
86 sr.nextBytes(out1);
87 sr.nextBytes(out2);
91 sr.nextBytes(out1);
92 sr.nextBytes(out2);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DESKeyGenerator.java 40 random.nextBytes(newKey);
DESedeKeyGenerator.java 51 random.nextBytes(newKey);
  /external/libmojo/mojo/android/javatests/src/org/chromium/mojo/
TestUtils.java 24 RANDOM.nextBytes(bytes);
  /cts/tests/tests/keystore/src/android/keystore/cts/
CountingSecureRandom.java 52 public synchronized void nextBytes(byte[] bytes) {
56 mDelegate.nextBytes(bytes);
  /external/guava/guava/src/com/google/common/hash/
Hashing.java 369 byte[] nextBytes = hashCode.asBytes();
370 checkArgument(nextBytes.length == resultBytes.length,
372 for (int i = 0; i < nextBytes.length; i++) {
373 resultBytes[i] = (byte) (resultBytes[i] * 37 ^ nextBytes[i]);
394 byte[] nextBytes = hashCode.asBytes();
395 checkArgument(nextBytes.length == resultBytes.length,
397 for (int i = 0; i < nextBytes.length; i++) {
398 resultBytes[i] += nextBytes[i];
  /development/samples/BrokenKeyDerivation/src/com/example/android/brokenkeyderivation/
InsecureSHA1PRNGKeyDerivator.java 42 derivator.nextBytes(key);
66 // to use to form byte array returning by the "nextBytes(byte[])" method
75 // COUNTER_BASE - initial value to set to "counter" before computing "nextBytes(..)";
124 private transient byte[] nextBytes;
126 // index of used bytes in "nextBytes" array
194 // - upon getting "nextBytes(byte[])" invoked, single or first in row,
211 nextBytes = new byte[DIGEST_LENGTH];
251 if (state == NEXT_BYTES) { // first setSeed after NextBytes; restoring hash
278 protected synchronized void nextBytes(byte[] bytes) {
352 System.arraycopy(nextBytes, nextBIndex, bytes, nextByteToReturn, n)
    [all...]
  /cts/tests/tests/security/src/android/security/cts/activity/
SecureRandomService.java 52 sr.nextBytes(randomBytes);
  /external/guava/guava-tests/benchmark/com/google/common/hash/
HashFunctionBenchmark.java 51 random.nextBytes(testBytes);
ChecksumBenchmark.java 48 new Random(RANDOM_SEED).nextBytes(testBytes);
  /frameworks/base/core/tests/coretests/src/com/android/internal/os/
KernelCpuProcReaderTest.java 98 mRand.nextBytes(data);
121 mRand.nextBytes(data);
136 mRand.nextBytes(data);
151 mRand.nextBytes(data);
164 mRand.nextBytes(data);
178 mRand.nextBytes(data);
  /external/conscrypt/common/src/main/java/org/conscrypt/
KeyGeneratorImpl.java 75 secureRandom.nextBytes(keyData);
140 secureRandom.nextBytes(keyData);
  /frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/
TestEnrollmentActivity.java 64 mRandom.nextBytes(data);
109 mRandom.nextBytes(data);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/tech/
MifareUltralightTagTester.java 57 random.nextBytes(onePage);
  /cts/tests/backup/app/src/android/backup/app/
MainActivity.java 68 new Random().nextBytes(bytes);
  /external/guava/guava-tests/benchmark/com/google/common/primitives/
UnsignedBytesBenchmark.java 49 r.nextBytes(ba1);
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
HuffmanTest.java 41 random.nextBytes(buf);
  /external/protobuf/java/core/src/test/java/com/google/protobuf/
ByteBufferWriterTest.java 68 new Random().nextBytes(bytes);

Completed in 1146 milliseconds

1 2 3 4 5 6 7 8 91011>>