Home
last modified time | relevance | path

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

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayload.java339 Proposal reqProposal = proposalList.get(i); in getNegotiatedProposalNumber() local
340 if (respProposal.isNegotiatedFrom(reqProposal.getSaProposal()) in getNegotiatedProposalNumber()
341 && reqProposal.getSaProposal().getProtocolId() in getNegotiatedProposalNumber()
343 return reqProposal.number; in getNegotiatedProposalNumber()
385 IkeProposal reqProposal = (IkeProposal) proposalPair.first; in getVerifiedNegotiatedIkeProposalPair() local
390 if (reqProposal.spiSize != SPI_NOT_INCLUDED in getVerifiedNegotiatedIkeProposalPair()
391 && reqProposal.getIkeSpiResource() == null) { in getVerifiedNegotiatedIkeProposalPair()
392 reqProposal.allocateResourceForRemoteIkeSpi(ikeSpiGenerator, remoteAddress); in getVerifiedNegotiatedIkeProposalPair()
400 return new Pair(reqProposal, respProposal); in getVerifiedNegotiatedIkeProposalPair()
402 reqProposal.releaseSpiResourceIfExists(); in getVerifiedNegotiatedIkeProposalPair()
[all …]
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DSaProposal.java241 public boolean isNegotiatedFrom(SaProposal reqProposal) { in isNegotiatedFrom() argument
242 return this.mProtocolId == reqProposal.mProtocolId in isNegotiatedFrom()
243 && isTransformSelectedFrom(mEncryptionAlgorithms, reqProposal.mEncryptionAlgorithms) in isNegotiatedFrom()
245 mIntegrityAlgorithms, reqProposal.mIntegrityAlgorithms) in isNegotiatedFrom()
246 && isDhGroupTransformSelectedFrom(mDhGroups, reqProposal.mDhGroups); in isNegotiatedFrom()
DChildSaProposal.java105 public boolean isNegotiatedFrom(SaProposal reqProposal) { in isNegotiatedFrom() argument
106 return super.isNegotiatedFrom(reqProposal) in isNegotiatedFrom()
107 && isTransformSelectedFrom(mEsns, ((ChildSaProposal) reqProposal).mEsns); in isNegotiatedFrom()
DIkeSaProposal.java107 public boolean isNegotiatedFrom(SaProposal reqProposal) { in isNegotiatedFrom() argument
108 return super.isNegotiatedFrom(reqProposal) in isNegotiatedFrom()
111 ((IkeSaProposal) reqProposal).mPseudorandomFunctions); in isNegotiatedFrom()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayloadTest.java778 IkeProposal reqProposal = negotiatedProposalPair.first;
784 assertNull(reqProposal.getIkeSpiResource());
806 ChildProposal reqProposal = negotiatedProposalPair.first;
814 assertEquals(initSpi, reqProposal.getChildSpiResource().getSpi());
819 if (proposal != reqProposal) {
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DSaProposalTest.java339 SaProposal reqProposal = in testIsNegotiatedFromProposalWithIntegrityNone() local
352 assertTrue(respProposal.isNegotiatedFrom(reqProposal)); in testIsNegotiatedFromProposalWithIntegrityNone()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java3909 IkeProposal reqProposal = negotiatedProposals.first; in validateAndBuildIkeSa() local
3928 : reqProposal.getIkeSpiResource().getSpi(); in validateAndBuildIkeSa()
3935 reqProposal.getIkeSpiResource(), in validateAndBuildIkeSa()