Home
last modified time | relevance | path

Searched refs:respProposal (Results 1 – 4 of 4) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayload.java336 public byte getNegotiatedProposalNumber(SaProposal respProposal) in getNegotiatedProposalNumber() argument
340 if (respProposal.isNegotiatedFrom(reqProposal.getSaProposal()) in getNegotiatedProposalNumber()
342 == respProposal.getProtocolId()) { in getNegotiatedProposalNumber()
386 IkeProposal respProposal = (IkeProposal) proposalPair.second; in getVerifiedNegotiatedIkeProposalPair() local
395 if (respProposal.spiSize != SPI_NOT_INCLUDED in getVerifiedNegotiatedIkeProposalPair()
396 && respProposal.getIkeSpiResource() == null) { in getVerifiedNegotiatedIkeProposalPair()
397 respProposal.allocateResourceForRemoteIkeSpi(ikeSpiGenerator, remoteAddress); in getVerifiedNegotiatedIkeProposalPair()
400 return new Pair(reqProposal, respProposal); in getVerifiedNegotiatedIkeProposalPair()
403 respProposal.releaseSpiResourceIfExists(); in getVerifiedNegotiatedIkeProposalPair()
450 ChildProposal respProposal = (ChildProposal) proposalPair.second; in getVerifiedNegotiatedChildProposalPair() local
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayloadTest.java779 IkeProposal respProposal = negotiatedProposalPair.second;
781 assertEquals(respPayload.proposalList.get(0).getSaProposal(), respProposal.getSaProposal());
785 assertNull(respProposal.getIkeSpiResource());
807 ChildProposal respProposal = negotiatedProposalPair.second;
810 assertEquals(respPayload.proposalList.get(0).getSaProposal(), respProposal.getSaProposal());
815 assertEquals(respSpi, respProposal.getChildSpiResource().getSpi());
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DSaProposalTest.java331 SaProposal respProposal = in testIsNegotiatedFromProposalWithIntegrityNone() local
352 assertTrue(respProposal.isNegotiatedFrom(reqProposal)); in testIsNegotiatedFromProposalWithIntegrityNone()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java3948 IkeProposal respProposal = negotiatedProposals.second; in validateAndBuildIkeSa() local
3954 newCipher = IkeCipher.create(respProposal.saProposal.getEncryptionTransforms()[0]); in validateAndBuildIkeSa()
3958 respProposal.saProposal.getIntegrityTransforms()[0]); in validateAndBuildIkeSa()
3960 newPrf = IkeMacPrf.create(respProposal.saProposal.getPrfTransforms()[0]); in validateAndBuildIkeSa()
3965 ? respProposal.getIkeSpiResource().getSpi() in validateAndBuildIkeSa()
3974 respProposal.getIkeSpiResource(), in validateAndBuildIkeSa()