Home
last modified time | relevance | path

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

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DSaRecord.java282 IkeSecurityParameterIndex initSpi = ikeSaRecordConfig.initSpi; in makeIkeSaRecord() local
291 .putLong(initSpi.getSpi()) in makeIkeSaRecord()
316 initSpi, in makeIkeSaRecord()
434 childSaRecordConfig.initSpi /*destination SPI*/, in makeChildSaRecord()
441 int initSpi = childSaRecordConfig.initSpi.getSpi(); in makeChildSaRecord() local
445 int inSpi = isLocalInit ? initSpi : respSpi; in makeChildSaRecord()
446 int outSpi = isLocalInit ? respSpi : initSpi; in makeChildSaRecord()
586 public final SecurityParameterIndex initSpi; field in SaRecord.ChildSaRecordConfig
602 SecurityParameterIndex initSpi, in ChildSaRecordConfig() argument
615 this.initSpi = initSpi; in ChildSaRecordConfig()
[all …]
DChildSessionStateMachine.java740 createChildResult.initSpi, in validateAndBuildChild()
780 createChildResult.initSpi.close(); in validateAndBuildChild()
1431 createChildResult.initSpi, in processStateMessage()
1467 createChildResult.initSpi.close(); in processStateMessage()
1637 createChildResult.initSpi, in handleCreateChildRequest()
1649 createChildResult.initSpi.getSpi())); in handleCreateChildRequest()
1684 createChildResult.initSpi.close(); in handleCreateChildRequest()
2486 public final SecurityParameterIndex initSpi; field in ChildSessionStateMachine.CreateChildResult
2495 SecurityParameterIndex initSpi, in CreateChildResult() argument
2502 this.initSpi = initSpi; in CreateChildResult()
[all …]
DIkeSessionStateMachine.java2801 long initSpi = mLocalIkeSpiResource.getSpi(); in buildIkeInitReq() local
2811 initSpi, in buildIkeInitReq()
2838 initSpi, in buildIkeInitReq()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeHeaderTest.java81 long initSpi = Long.parseUnsignedLong(IKE_INITIATOR_SPI, 16); in testDecodeIkeHeader() local
82 assertEquals(initSpi, header.ikeInitiatorSpi); in testDecodeIkeHeader()
DIkeSaPayloadTest.java812 int initSpi = isLocalInit ? CHILD_SPI_LOCAL_ONE : CHILD_SPI_REMOTE;
814 assertEquals(initSpi, reqProposal.getChildSpiResource().getSpi());
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachineTest.java401 int initSpi, in verifyChildSaRecordConfig() argument
405 assertEquals(initSpi, childSaRecordConfig.initSpi.getSpi()); in verifyChildSaRecordConfig()
DIkeSessionStateMachineTest.java595 long initSpi, in makeDummyIkeMessageForTest() argument
609 initSpi, respSpi, firstPayloadType, eType, isResp, fromikeInit, messageId); in makeDummyIkeMessageForTest()
639 private static IkeSaRecord makeDummyIkeSaRecord(long initSpi, long respSpi, boolean isLocalInit) in makeDummyIkeSaRecord() argument
645 IKE_SPI_GENERATOR.allocateSpi(initAddress, initSpi), in makeDummyIkeSaRecord()
1281 config.initSpi.close(); in captureAndReleaseIkeSpiResource()
3492 assertEquals(IKE_REKEY_SA_INITIATOR_SPI, recordConfigCaptor.getValue().initSpi.getSpi()); in testRekeyIkeRemoteCreate()