Home
last modified time | relevance | path

Searched refs:secureRandom (Results 1 – 7 of 7) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/testmode/
DDeterministicSecureRandomTest.java41 DeterministicSecureRandom secureRandom = new DeterministicSecureRandom(); in testDeterministicSecureRandomNonRepeating() local
45 secureRandom.generateSeed(BYTE_ARRAY_LEN), in testDeterministicSecureRandomNonRepeating()
46 secureRandom.generateSeed(BYTE_ARRAY_LEN))); in testDeterministicSecureRandomNonRepeating()
47 assertNotEquals(secureRandom.nextLong(), secureRandom.nextLong()); in testDeterministicSecureRandomNonRepeating()
51 secureRandom.nextBytes(randomBytesOne); in testDeterministicSecureRandomNonRepeating()
52 secureRandom.nextBytes(randomBytesTwo); in testDeterministicSecureRandomNonRepeating()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/crypto/
DTlsSession.java116 TlsSession(X509Certificate serverCaCert, SecureRandom secureRandom) in TlsSession() argument
118 mSecureRandom = secureRandom; in TlsSession()
121 mSslContext.init(null, mTrustManagers, secureRandom); in TlsSession()
135 SecureRandom secureRandom) { in TlsSession() argument
138 mSecureRandom = secureRandom; in TlsSession()
DTlsSessionFactory.java37 public TlsSession newInstance(X509Certificate serverCaCert, SecureRandom secureRandom) in newInstance() argument
39 return new TlsSession(serverCaCert, secureRandom); in newInstance()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapSimMethodStateMachine.java100 SecureRandom secureRandom) { in EapSimMethodStateMachine() argument
105 secureRandom, in EapSimMethodStateMachine() local
114 SecureRandom secureRandom, in EapSimMethodStateMachine() argument
125 this.mSecureRandom = secureRandom; in EapSimMethodStateMachine()
DEapTtlsMethodStateMachine.java103 SecureRandom secureRandom) { in EapTtlsMethodStateMachine() argument
107 secureRandom, in EapTtlsMethodStateMachine()
117 SecureRandom secureRandom, in EapTtlsMethodStateMachine() argument
124 mSecureRandom = secureRandom; in EapTtlsMethodStateMachine()
DEapMsChapV2MethodStateMachine.java197 EapMsChapV2Config eapMsChapV2Config, SecureRandom secureRandom) { in EapMsChapV2MethodStateMachine() argument
198 this(eapMsChapV2Config, secureRandom, new EapMsChapV2TypeDataDecoder()); in EapMsChapV2MethodStateMachine()
204 SecureRandom secureRandom, in EapMsChapV2MethodStateMachine() argument
207 this.mSecureRandom = secureRandom; in EapMsChapV2MethodStateMachine()
DEapStateMachine.java84 @NonNull SecureRandom secureRandom) { in EapStateMachine() argument
87 this.mSecureRandom = secureRandom; in EapStateMachine()