Home
last modified time | relevance | path

Searched refs:getRandom (Results 1 – 15 of 15) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/crypto/
DFips186_2PrfTest.java52 mFipsPrf.getRandom(new byte[0], 40); in testFips186_2Prf_Invalid_Seed()
61 byte[] actual = mFipsPrf.getRandom(seed, 40); in testFips186_2Prf()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/
DEapAuthenticator.java96 createNewRandomIfNull(randomnessFactory.getRandom())), in EapAuthenticator()
123 SecureRandom getRandom(); in getRandom() method
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/
DIkeSpiGenerator.java34 SecureRandom random = randomnessFactory.getRandom(); in IkeSpiGenerator()
DRandomnessFactory.java57 public SecureRandom getRandom() { in getRandom() method in RandomnessFactory
DIpSecSpiGenerator.java42 mRandom = randomnessFactory.getRandom(); in IpSecSpiGenerator()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeNoncePayload.java74 SecureRandom random = randomnessFactory.getRandom(); in IkeNoncePayload()
DIkeKePayload.java238 SecureRandom random = randomnessFactory.getRandom(); in createOutboundModpKePayload()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/crypto/
DFips186_2Prf.java45 public byte[] getRandom(byte[] seed, int outputLenBytes) { in getRandom() method in Fips186_2Prf
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/testmode/
DDeterministicSecureRandomTest.java79 .getRandom(); in testDeterministicSecureRandomInKePayload()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/
DTestUtils.java119 doReturn(null).when(rFactory).getRandom(); in createMockRandomFactory()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DEapSimAkaMethodStateMachineTest.java246 doReturn(keys).when(mockFips186_2Prf).getRandom(eq(MK), eq(PRF_OUTPUT_BYTES)); in testGenerateAndPersistKeys()
255 verify(mockFips186_2Prf).getRandom(eq(MK), eq(PRF_OUTPUT_BYTES)); in testGenerateAndPersistKeys()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapSimAkaMethodStateMachine.java176 byte[] prfResult = prf.getRandom(mk, outputBytes); in generateAndPersistKeys()
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java602 mRandom = deps.getRandom(); in NetworkMonitor()
3100 public Random getRandom() { in getRandom() method in NetworkMonitor.Dependencies
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java1553 SecureRandom random = ikeSession.mRandomFactory.getRandom(); in testEnableTestMode()
1566 SecureRandom random = ikeSession.mRandomFactory.getRandom(); in testDisableTestMode()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java467 when(mDependencies.getRandom()).thenReturn(mRandom); in setUp()