Searched refs:nextBytes (Results 1 – 23 of 23) sorted by relevance
51 secureRandom.nextBytes(randomBytesOne); in testDeterministicSecureRandomNonRepeating()52 secureRandom.nextBytes(randomBytesTwo); in testDeterministicSecureRandomNonRepeating()66 srOne.nextBytes(randomBytesOne); in testTwoDeterministicSecureRandomsAreDeterministic()67 srTwo.nextBytes(randomBytesTwo); in testTwoDeterministicSecureRandomsAreDeterministic()
148 }).when(mMockSecureRandom).nextBytes(eq(new byte[PEER_CHALLENGE.length])); in verifyEapMsChapV2Challenge()154 verify(mMockSecureRandom).nextBytes(any(byte[].class)); in verifyEapMsChapV2Challenge()
250 }).when(mMockSecureRandom).nextBytes(eq(new byte[NONCE.length])); in verifyEapSimStart()260 verify(mMockSecureRandom).nextBytes(any(byte[].class)); in verifyEapSimStart()
114 rand.nextBytes(response); in testSuccess_emptyRequest()130 rand.nextBytes(response); in testSuccess()
80 }).when(mMockSecureRandom).nextBytes(eq(new byte[MSCHAP_V2_PEER_CHALLENGE.length])); in testProcessChallenge()86 verify(mMockSecureRandom).nextBytes(any(byte[].class)); in testProcessChallenge()
295 sRandom.nextBytes(buffer); in run()374 sRandom.nextBytes(buffer); in run()
76 random.nextBytes(nonceData); in IkeNoncePayload()
352 new SecureRandom().nextBytes(padding); in calculatePadding()
99 public void nextBytes(byte[] bytes) { in nextBytes() method in DeterministicSecureRandom
135 new SecureRandom().nextBytes(iv); in generateIv()
2010 new Random().nextBytes(data);2053 new Random().nextBytes(data);2062 new Random().nextBytes(data);2071 new Random().nextBytes(data);2080 new Random().nextBytes(data);2089 new Random().nextBytes(data);
133 ThreadLocalRandom.current().nextBytes(array); in randomBytes()
167 new Random().nextBytes(payload); in makePayload()
125 new Random().nextBytes(encryptionKey); in testDecrypWithWrongKey()
77 rng.nextBytes(random); in generateRandomName()
131 SecureRandom.getInstanceStrong().nextBytes(data); in writeBytesToFile()
89 generator.nextBytes(rawBytes); in createCnonce()
184 .nextBytes(expectedData); in testLargeByteArrayProperty()
121 new Random().nextBytes(random); in createCollisionRecord()
171 mSecureRandom.nextBytes(nonce); in process()
264 mSecureRandom.nextBytes(peerChallenge); in process()
658 r.nextBytes(packet); in testRandomPackets()
2236 r.nextBytes(packet); in testRaParsing()2257 r.nextBytes(packet); in testRaProcessing()