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.java340 Proposal reqProposal = proposalList.get(i); in getNegotiatedProposalNumber() local
341 if (respProposal.isNegotiatedFrom(reqProposal.getSaProposal()) in getNegotiatedProposalNumber()
342 && reqProposal.getSaProposal().getProtocolId() in getNegotiatedProposalNumber()
344 return reqProposal.number; in getNegotiatedProposalNumber()
386 IkeProposal reqProposal = (IkeProposal) proposalPair.first; in getVerifiedNegotiatedIkeProposalPair() local
391 if (reqProposal.spiSize != SPI_NOT_INCLUDED in getVerifiedNegotiatedIkeProposalPair()
392 && reqProposal.getIkeSpiResource() == null) { in getVerifiedNegotiatedIkeProposalPair()
393 reqProposal.allocateResourceForRemoteIkeSpi(ikeSpiGenerator, remoteAddress); in getVerifiedNegotiatedIkeProposalPair()
401 return new Pair(reqProposal, respProposal); in getVerifiedNegotiatedIkeProposalPair()
403 reqProposal.releaseSpiResourceIfExists(); in getVerifiedNegotiatedIkeProposalPair()
[all …]
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DSaProposal.java335 public boolean isNegotiatedFrom(SaProposal reqProposal) { in isNegotiatedFrom() argument
336 return this.mProtocolId == reqProposal.mProtocolId in isNegotiatedFrom()
337 && isTransformSelectedFrom(mEncryptionAlgorithms, reqProposal.mEncryptionAlgorithms) in isNegotiatedFrom()
339 mIntegrityAlgorithms, reqProposal.mIntegrityAlgorithms) in isNegotiatedFrom()
340 && isDhGroupTransformSelectedFrom(mDhGroups, reqProposal.mDhGroups); in isNegotiatedFrom()
DIkeSaProposal.java206 public boolean isNegotiatedFrom(SaProposal reqProposal) { in isNegotiatedFrom() argument
207 return super.isNegotiatedFrom(reqProposal) in isNegotiatedFrom()
210 ((IkeSaProposal) reqProposal).mPseudorandomFunctions); in isNegotiatedFrom()
DChildSaProposal.java250 public boolean isNegotiatedFrom(SaProposal reqProposal) { in isNegotiatedFrom() argument
251 return super.isNegotiatedFrom(reqProposal) in isNegotiatedFrom()
252 && isTransformSelectedFrom(mEsns, ((ChildSaProposal) reqProposal).mEsns); 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.java394 SaProposal reqProposal = in testIsNegotiatedFromProposalWithIntegrityNone() local
407 assertTrue(respProposal.isNegotiatedFrom(reqProposal)); in testIsNegotiatedFromProposalWithIntegrityNone()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java4493 IkeProposal reqProposal = negotiatedProposals.first; in validateAndBuildIkeSa() local
4512 : reqProposal.getIkeSpiResource().getSpi(); in validateAndBuildIkeSa()
4519 reqProposal.getIkeSpiResource(), in validateAndBuildIkeSa()