Home
last modified time | relevance | path

Searched refs:ikeSaRecordConfig (Results 1 – 3 of 3) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DSaRecord.java202 IkeSaRecordConfig ikeSaRecordConfig) in makeFirstIkeSaRecord() argument
217 ikeSaRecordConfig.prf.generateSKeySeed(nonceInit, nonceResp, sharedDhKey); in makeFirstIkeSaRecord()
219 return makeIkeSaRecord(sKeySeed, nonceInit, nonceResp, ikeSaRecordConfig); in makeFirstIkeSaRecord()
228 IkeSaRecordConfig ikeSaRecordConfig) in makeRekeyedIkeSaRecord() argument
241 IkeMessage localMsg = ikeSaRecordConfig.isLocalInit ? rekeyRequest : rekeyResponse; in makeRekeyedIkeSaRecord()
242 IkeMessage remoteMsg = ikeSaRecordConfig.isLocalInit ? rekeyResponse : rekeyRequest; in makeRekeyedIkeSaRecord()
249 return makeIkeSaRecord(sKeySeed, nonceInit, nonceResp, ikeSaRecordConfig); in makeRekeyedIkeSaRecord()
276 IkeSaRecordConfig ikeSaRecordConfig) { in makeIkeSaRecord() argument
282 IkeSecurityParameterIndex initSpi = ikeSaRecordConfig.initSpi; in makeIkeSaRecord()
283 IkeSecurityParameterIndex respSpi = ikeSaRecordConfig.respSpi; in makeIkeSaRecord()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DSaRecordTest.java181 IkeSaRecordConfig ikeSaRecordConfig = in testMakeIkeSaRecord() local
198 mSaRecordHelper.makeIkeSaRecord(sKeySeed, nonceInit, nonceResp, ikeSaRecordConfig); in testMakeIkeSaRecord()
DIkeSessionStateMachineTest.java1431 IkeSaRecordConfig ikeSaRecordConfig = mIkeSaRecordConfigCaptor.getValue(); in disableTestCreateIkeLocalIkeInit() local
1432 assertEquals(KEY_LEN_IKE_PRF, ikeSaRecordConfig.prf.getKeyLength()); in disableTestCreateIkeLocalIkeInit()
1433 assertEquals(KEY_LEN_IKE_INTE, ikeSaRecordConfig.integrityKeyLength); in disableTestCreateIkeLocalIkeInit()
1434 assertEquals(KEY_LEN_IKE_ENCR, ikeSaRecordConfig.encryptionKeyLength); in disableTestCreateIkeLocalIkeInit()
1435 assertNotNull(ikeSaRecordConfig.saLifetimeAlarmScheduler); in disableTestCreateIkeLocalIkeInit()