Searched refs:getRandomBytes (Results 1 - 2 of 2) sorted by relevance

/libcore/luni/src/test/java/tests/security/
H A DSecureRandomTest.java56 byte[] testRandom1 = getRandomBytes(secureRandom1);
57 byte[] testRandom2 = getRandomBytes(secureRandom2);
64 private byte[] getRandomBytes(SecureRandom random) { method in class:SecureRandomTest
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
H A DSHA1PRNG_SecureRandomImpl.java256 myRandom.engineSetSeed(getRandomBytes(DIGEST_LENGTH));
300 updateSeed(getRandomBytes(DIGEST_LENGTH));
547 private static byte[] getRandomBytes(int byteCount) { method in class:SHA1PRNG_SecureRandomImpl

Completed in 103 milliseconds