Home
last modified time | relevance | path

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

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayload.java144 IkeSaProposal saProposal, in IkeSaPayload() argument
154 saProposal, in IkeSaPayload()
212 ChildSaProposal saProposal, in IkeSaPayload() argument
220 proposalNumber /* number */, saProposal, ipSecSpiGenerator, localAddress)); in IkeSaPayload()
280 IkeSaProposal saProposal, in createRekeyIkeSaResponsePayload() argument
288 saProposal, in createRekeyIkeSaResponsePayload()
322 ChildSaProposal saProposal, in createChildSaResponsePayload() argument
326 return new IkeSaPayload(respProposalNumber, saProposal, ipSecSpiGenerator, localAddress); in createChildSaResponsePayload()
647 IkeSaProposal saProposal = in readFrom() local
654 return new IkeProposal(number, spiSize, spi, saProposal, hasUnrecognizedTransform); in readFrom()
[all …]
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DChildSaProposal.java111 public boolean isNegotiatedFromExceptDhGroup(SaProposal saProposal) { in isNegotiatedFromExceptDhGroup() argument
112 return getProtocolId() == saProposal.getProtocolId() in isNegotiatedFromExceptDhGroup()
114 getEncryptionTransforms(), saProposal.getEncryptionTransforms()) in isNegotiatedFromExceptDhGroup()
116 getIntegrityTransforms(), saProposal.getIntegrityTransforms()) in isNegotiatedFromExceptDhGroup()
117 && isTransformSelectedFrom(mEsns, ((ChildSaProposal) saProposal).mEsns); in isNegotiatedFromExceptDhGroup()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachine.java1291 ChildSaProposal saProposal = mSaProposal; in enterState() local
1293 saProposal = addDhGroupsFromChildSessionParamsIfAbsent(); in enterState()
1302 saProposal, in enterState()
1438 for (SaProposal saProposal : mChildSessionParams.getSaProposals()) { in addDhGroupsFromChildSessionParamsIfAbsent()
1439 if (!mSaProposal.isNegotiatedFromExceptDhGroup(saProposal)) continue; in addDhGroupsFromChildSessionParamsIfAbsent()
1440 dhGroupSet.addAll(Arrays.asList(saProposal.getDhGroupTransforms())); in addDhGroupsFromChildSessionParamsIfAbsent()
1501 ChildSaProposal saProposal = mSaProposal; in handleCreateChildRequest() local
1507 saProposal = mSaProposal.getCopyWithAdditionalDhTransform(reqKePayload.dhGroup); in handleCreateChildRequest()
1510 byte respProposalNumber = reqSaPayload.getNegotiatedProposalNumber(saProposal); in handleCreateChildRequest()
1518 saProposal, in handleCreateChildRequest()
[all …]
DIkeSessionStateMachine.java2906 .saProposal; in validateIkeInitResp()
3916 newCipher = IkeCipher.create(respProposal.saProposal.getEncryptionTransforms()[0]); in validateAndBuildIkeSa()
3920 respProposal.saProposal.getIntegrityTransforms()[0]); in validateAndBuildIkeSa()
3922 newPrf = IkeMacPrf.create(respProposal.saProposal.getPrfTransforms()[0]); in validateAndBuildIkeSa()
4723 IkeSaProposal saProposal, in getRekeyIkeSaResponsePayloads() argument
4732 int selectedDhGroup = saProposal.getDhGroupTransforms()[0].id; in getRekeyIkeSaResponsePayloads()
4737 respProposalNumber, saProposal, ikeSpiGenerator, localAddr), in getRekeyIkeSaResponsePayloads()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayloadTest.java707 assertEquals(mIkeSaProposalOne, proposal.saProposal);
724 assertEquals(mTwoIkeSaProposalsArray[i], proposal.saProposal);
746 assertEquals(mTwoChildSaProposalsArray[i], proposal.saProposal);
957 DhGroupTransform unsupportedDh = proposal.saProposal.getDhGroupTransforms()[0];
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachineTest.java880 assertEquals(mChildSessionStateMachine.mSaProposal, proposal.saProposal); in verifyOutboundRekeySaPayload()
1679 ChildSaProposal saProposal = buildSaProposalWithDhGroup(SaProposal.DH_GROUP_2048_BIT_MODP); in testFirstChildLocalRekey() local
1682 .addSaProposal(saProposal) in testFirstChildLocalRekey()
1749 ChildSaProposal saProposal = buildSaProposalWithDhGroup(SaProposal.DH_GROUP_2048_BIT_MODP); in testRemoteRekeyWithKePayload() local
1752 .addSaProposal(saProposal) in testRemoteRekeyWithKePayload()
1768 new ChildSaProposal[] {saProposal}, mIpSecSpiGenerator, LOCAL_ADDRESS); in testRemoteRekeyWithKePayload()
DIkeSessionStateMachineTest.java853 ChildSaProposal saProposal = in buildChildSessionParams() local
861 .addSaProposal(saProposal) in buildChildSessionParams()
3062 assertEquals(mIkeSessionStateMachine.mSaProposal, proposal.saProposal); in testRekeyIkeLocalCreateSendsRequest()