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.java338 public byte getNegotiatedProposalNumber(SaProposal respProposal) in getNegotiatedProposalNumber() argument
342 if (respProposal.isNegotiatedFrom(reqProposal.getSaProposal()) in getNegotiatedProposalNumber()
344 == respProposal.getProtocolId()) { in getNegotiatedProposalNumber()
454 IkeProposal respProposal = (IkeProposal) proposalPair.second; in getVerifiedNegotiatedIkeProposalPair() local
463 if (respProposal.spiSize != SPI_NOT_INCLUDED in getVerifiedNegotiatedIkeProposalPair()
464 && respProposal.getIkeSpiResource() == null) { in getVerifiedNegotiatedIkeProposalPair()
465 respProposal.allocateResourceForRemoteIkeSpi(ikeSpiGenerator, remoteAddress); in getVerifiedNegotiatedIkeProposalPair()
468 return new Pair(reqProposal, respProposal); in getVerifiedNegotiatedIkeProposalPair()
471 respProposal.releaseSpiResourceIfExists(); in getVerifiedNegotiatedIkeProposalPair()
518 ChildProposal respProposal = (ChildProposal) proposalPair.second; in getVerifiedNegotiatedChildProposalPair() local
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayloadTest.java788 IkeProposal respProposal = negotiatedProposalPair.second;
790 assertEquals(respPayload.proposalList.get(0).getSaProposal(), respProposal.getSaProposal());
794 assertNull(respProposal.getIkeSpiResource());
816 ChildProposal respProposal = negotiatedProposalPair.second;
819 assertEquals(respPayload.proposalList.get(0).getSaProposal(), respProposal.getSaProposal());
824 assertEquals(respSpi, respProposal.getChildSpiResource().getSpi());
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DSaProposalTest.java392 SaProposal respProposal = in testIsNegotiatedFromProposalWithIntegrityNone() local
413 assertTrue(respProposal.isNegotiatedFrom(reqProposal)); in testIsNegotiatedFromProposalWithIntegrityNone()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java4976 IkeProposal respProposal = negotiatedProposals.second; in validateAndBuildIkeSa() local
4982 newCipher = IkeCipher.create(respProposal.saProposal.getEncryptionTransforms()[0]); in validateAndBuildIkeSa()
4986 respProposal.saProposal.getIntegrityTransforms()[0]); in validateAndBuildIkeSa()
4988 newPrf = IkeMacPrf.create(respProposal.saProposal.getPrfTransforms()[0]); in validateAndBuildIkeSa()
4993 ? respProposal.getIkeSpiResource().getSpi() in validateAndBuildIkeSa()
5002 respProposal.getIkeSpiResource(), in validateAndBuildIkeSa()