/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeKePayloadTest.java | 106 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/ |
D | DeterministicSecureRandomTest.java | 27 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/ |
D | IkeKePayload.java | 71 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()
|
D | IkePayloadFactory.java | 66 return new IkeKePayload(isCritical, payloadBody); in decodeIkePayload()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ |
D | SaRecord.java | 34 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 …]
|
D | ChildSessionStateMachine.java | 87 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()
|
D | IkeSessionStateMachine.java | 162 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/ |
D | SaRecordTest.java | 53 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()
|
D | ChildSessionStateMachineTest.java | 120 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()
|
D | IkeSessionStateMachineTest.java | 190 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()
|