Home
last modified time | relevance | path

Searched refs:IkeKePayload (Results 1 – 10 of 10) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeKePayloadTest.java106 IkeKePayload payload = new IkeKePayload(CRITICAL_BIT, inputPacket); in testDecodeIkeKePayload()
130 IkeKePayload payload = new IkeKePayload(CRITICAL_BIT, inputPacket); in testDecodeIkeKePayloadWithUnrecognizedDh()
144 IkeKePayload payload = new IkeKePayload(CRITICAL_BIT, inputPacket); in testDecodeIkeKePayloadWithInvalidKeData()
153 IkeKePayload payload = new IkeKePayload(CRITICAL_BIT, inputPacket); in testEncodeIkeKePayload()
165 IkeKePayload payload = in testGetIkeKePayload()
166 IkeKePayload.createOutboundKePayload( in testGetIkeKePayload()
193 IkeKePayload.getSharedKey( in testGetSharedKey1024Modp()
235 IkeKePayload.getSharedKey( in testGetSharedKey1536Modp()
250 IkeKePayload.getSharedKey( in testGetSharedkeyWithInvalidRemoteKey()
260 IkeKePayload payload = in testGetIkeCurveKePayload()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/testmode/
DDeterministicSecureRandomTest.java27 import com.android.internal.net.ipsec.test.ike.message.IkeKePayload;
81 IkeKePayload kePayloadOne = in testDeterministicSecureRandomInKePayload()
82 IkeKePayload.createOutboundKePayload(DH_GROUP_2048_BIT_MODP, rFactory); in testDeterministicSecureRandomInKePayload()
83 IkeKePayload kePayloadTwo = in testDeterministicSecureRandomInKePayload()
84 IkeKePayload.createOutboundKePayload(DH_GROUP_2048_BIT_MODP, rFactory); in testDeterministicSecureRandomInKePayload()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeKePayload.java71 public final class IkeKePayload extends IkePayload { class
161 public IkeKePayload(boolean critical, byte[] payloadBody) throws IkeProtocolException { in IkeKePayload() method in IkeKePayload
190 private IkeKePayload(int dhGroup, byte[] keyExchangeData, PrivateKey localPrivateKey) { in IkeKePayload() method in IkeKePayload
211 public static IkeKePayload createOutboundKePayload( in createOutboundKePayload()
227 private static IkeKePayload createOutboundModpKePayload( in createOutboundModpKePayload()
252 return new IkeKePayload(dh, keyExchangeData, localPrivateKey); in createOutboundModpKePayload()
260 private static IkeKePayload createOutboundCurveKePayload( in createOutboundCurveKePayload()
277 return new IkeKePayload(dh, keyExchangeData, privateKey); in createOutboundCurveKePayload()
DIkePayloadFactory.java66 return new IkeKePayload(isCritical, payloadBody); in decodeIkePayload()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DSaRecord.java34 import com.android.internal.net.ipsec.ike.message.IkeKePayload;
253 IkeKePayload keLocalPayload = in getSharedKey()
255 IkePayload.PAYLOAD_TYPE_KE, IkeKePayload.class); in getSharedKey()
256 IkeKePayload keRemotePayload = in getSharedKey()
258 IkePayload.PAYLOAD_TYPE_KE, IkeKePayload.class); in getSharedKey()
260 return IkeKePayload.getSharedKey( in getSharedKey()
366 IkeKePayload keInitPayload = in getChildSharedKey()
368 IkePayload.PAYLOAD_TYPE_KE, IkeKePayload.class, reqPayloads); in getChildSharedKey()
374 IkeKePayload keRespPayload = in getChildSharedKey()
376 IkePayload.PAYLOAD_TYPE_KE, IkeKePayload.class, respPayloads); in getChildSharedKey()
[all …]
DChildSessionStateMachine.java87 import com.android.internal.net.ipsec.ike.message.IkeKePayload;
1845 IkeKePayload reqKePayload = in handleCreateChildRequest()
1847 PAYLOAD_TYPE_KE, IkeKePayload.class, reqPayloads); in handleCreateChildRequest()
2357 IkeKePayload.createOutboundKePayload(dhGroups[0].id, randomFactory)); in getChildCreatePayloads()
2735 IkeKePayload kePayload = in validateKePayloads()
2737 PAYLOAD_TYPE_KE, IkeKePayload.class, inboundPayloads); in validateKePayloads()
DIkeSessionStateMachine.java162 import com.android.internal.net.ipsec.ike.message.IkeKePayload;
2565 IkeKePayload reqKePayload = in handleRequestIkeMessage()
2567 IkePayload.PAYLOAD_TYPE_KE, IkeKePayload.class); in handleRequestIkeMessage()
3551 IkeKePayload respKePayload = null; in validateIkeInitResp()
3568 respKePayload = (IkeKePayload) payload; in validateIkeInitResp()
3653 IkeKePayload reqKePayload = in validateIkeInitResp()
3654 reqMsg.getPayloadForType(IkePayload.PAYLOAD_TYPE_KE, IkeKePayload.class); in validateIkeInitResp()
4879 IkeKePayload reqKePayload = in validateIkeRekeyResp()
4880 reqMsg.getPayloadForType(IkePayload.PAYLOAD_TYPE_KE, IkeKePayload.class); in validateIkeRekeyResp()
4881 IkeKePayload respKePayload = in validateIkeRekeyResp()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DSaRecordTest.java53 import com.android.internal.net.ipsec.test.ike.message.IkeKePayload;
338 IkeKePayload localKePayload = in verifyChildKeyExchange()
339 IkeKePayload.createOutboundKePayload( in verifyChildKeyExchange()
349 IkeKePayload remoteKePayload = in verifyChildKeyExchange()
350 new IkeKePayload( in verifyChildKeyExchange()
DChildSessionStateMachineTest.java120 import com.android.internal.net.ipsec.test.ike.message.IkeKePayload;
628 PAYLOAD_TYPE_KE, IkeKePayload.class, outboundPayloads)); in verifyOutboundCreatePayloadTypes()
2072 IkeKePayload.createOutboundKePayload( in testValidateExpectKeExistCase()
2121 IkeKePayload.createOutboundKePayload( in testThrowWhenKeHasMismatchedDhGroup()
2147 IkeKePayload.createOutboundKePayload( in testThrowForUnexpectedKe()
2224 PAYLOAD_TYPE_KE, IkeKePayload.class, reqPayloadList)); in verifyOutboundRekeyKePayload()
2298 IkeKePayload.createOutboundKePayload(expectedDh, createMockRandomFactory())); in verifyRemoteRekeyWithKePayload()
2383 IkeKePayload.createOutboundKePayload( in testRemoteRekeyWithInvalidKePayload()
2409 IkeKePayload.createOutboundKePayload( in testRejectRemoteRekeyWithoutDhGroupInProposal()
DIkeSessionStateMachineTest.java190 import com.android.internal.net.ipsec.test.ike.message.IkeKePayload;
1721 IkeKePayload kePayload = in verifyOutboundKePayload()
1722 reqMsg.getPayloadForType(IkePayload.PAYLOAD_TYPE_KE, IkeKePayload.class); in verifyOutboundKePayload()
4031 IkeKePayload kePayload = in testRekeyIkeLocalCreateSendsRequest()
4032 rekeyMsg.getPayloadForType(IkePayload.PAYLOAD_TYPE_KE, IkeKePayload.class); in testRekeyIkeLocalCreateSendsRequest()
4485 rekeyCreateResp.getPayloadForType(IkePayload.PAYLOAD_TYPE_KE, IkeKePayload.class)); in testRekeyIkeRemoteCreate()