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.java1363 ChildSaProposal saProposal = mSaProposal; in enterState() local
1365 saProposal = addDhGroupsFromChildSessionParamsIfAbsent(); in enterState()
1374 saProposal, in enterState()
1522 for (SaProposal saProposal : mChildSessionParams.getSaProposals()) { in addDhGroupsFromChildSessionParamsIfAbsent()
1523 if (!mSaProposal.isNegotiatedFromExceptDhGroup(saProposal)) continue; in addDhGroupsFromChildSessionParamsIfAbsent()
1524 dhGroupSet.addAll(Arrays.asList(saProposal.getDhGroupTransforms())); in addDhGroupsFromChildSessionParamsIfAbsent()
1585 ChildSaProposal saProposal = mSaProposal; in handleCreateChildRequest() local
1591 saProposal = mSaProposal.getCopyWithAdditionalDhTransform(reqKePayload.dhGroup); in handleCreateChildRequest()
1594 byte respProposalNumber = reqSaPayload.getNegotiatedProposalNumber(saProposal); in handleCreateChildRequest()
1602 saProposal, in handleCreateChildRequest()
[all …]
DIkeSessionStateMachine.java2944 .saProposal; in validateIkeInitResp()
3954 newCipher = IkeCipher.create(respProposal.saProposal.getEncryptionTransforms()[0]); in validateAndBuildIkeSa()
3958 respProposal.saProposal.getIntegrityTransforms()[0]); in validateAndBuildIkeSa()
3960 newPrf = IkeMacPrf.create(respProposal.saProposal.getPrfTransforms()[0]); in validateAndBuildIkeSa()
4761 IkeSaProposal saProposal, in getRekeyIkeSaResponsePayloads() argument
4770 int selectedDhGroup = saProposal.getDhGroupTransforms()[0].id; in getRekeyIkeSaResponsePayloads()
4775 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.java907 assertEquals(mChildSessionStateMachine.mSaProposal, proposal.saProposal); in verifyOutboundRekeySaPayload()
1827 ChildSaProposal saProposal = buildSaProposalWithDhGroup(SaProposal.DH_GROUP_2048_BIT_MODP); in testFirstChildLocalRekey() local
1830 .addSaProposal(saProposal) in testFirstChildLocalRekey()
1897 ChildSaProposal saProposal = buildSaProposalWithDhGroup(SaProposal.DH_GROUP_2048_BIT_MODP); in testRemoteRekeyWithKePayload() local
1900 .addSaProposal(saProposal) in testRemoteRekeyWithKePayload()
1916 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()