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.java341 Proposal reqProposal = proposalList.get(i); in getNegotiatedProposalNumber() local
342 if (respProposal.isNegotiatedFrom(reqProposal.getSaProposal()) in getNegotiatedProposalNumber()
343 && reqProposal.getSaProposal().getProtocolId() in getNegotiatedProposalNumber()
345 return reqProposal.number; in getNegotiatedProposalNumber()
453 IkeProposal reqProposal = (IkeProposal) proposalPair.first; in getVerifiedNegotiatedIkeProposalPair() local
458 if (reqProposal.spiSize != SPI_NOT_INCLUDED in getVerifiedNegotiatedIkeProposalPair()
459 && reqProposal.getIkeSpiResource() == null) { in getVerifiedNegotiatedIkeProposalPair()
460 reqProposal.allocateResourceForRemoteIkeSpi(ikeSpiGenerator, remoteAddress); in getVerifiedNegotiatedIkeProposalPair()
468 return new Pair(reqProposal, respProposal); in getVerifiedNegotiatedIkeProposalPair()
470 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.java787 IkeProposal reqProposal = negotiatedProposalPair.first;
793 assertNull(reqProposal.getIkeSpiResource());
815 ChildProposal reqProposal = negotiatedProposalPair.first;
823 assertEquals(initSpi, reqProposal.getChildSpiResource().getSpi());
828 if (proposal != reqProposal) {
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DSaProposalTest.java400 SaProposal reqProposal = in testIsNegotiatedFromProposalWithIntegrityNone() local
413 assertTrue(respProposal.isNegotiatedFrom(reqProposal)); in testIsNegotiatedFromProposalWithIntegrityNone()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java4975 IkeProposal reqProposal = negotiatedProposals.first; in validateAndBuildIkeSa() local
4994 : reqProposal.getIkeSpiResource().getSpi(); in validateAndBuildIkeSa()
5001 reqProposal.getIkeSpiResource(), in validateAndBuildIkeSa()