Home
last modified time | relevance | path

Searched refs:remotePublicKey (Results 1 – 2 of 2) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeKePayloadTest.java186 byte[] remotePublicKey = TestUtils.hexStringToByteArray(PUBLIC_KEY_REMOTE); in testGetSharedkey()
187 byte[] sharedKeyBytes = IkeKePayload.getSharedKey(mPrivateKeySpec, remotePublicKey); in testGetSharedkey()
195 byte[] remotePublicKey = TestUtils.hexStringToByteArray(PRIME_1024_BIT_MODP_160_SUBGROUP); in testGetSharedkeyWithInvalidRemoteKey()
198 byte[] sharedKeyBytes = IkeKePayload.getSharedKey(mPrivateKeySpec, remotePublicKey); in testGetSharedkeyWithInvalidRemoteKey()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeKePayload.java251 public static byte[] getSharedKey(DHPrivateKeySpec privateKeySpec, byte[] remotePublicKey) in getSharedKey() argument
266 BigInteger publicKeyValue = BigIntegerUtils.unsignedByteArrayToBigInteger(remotePublicKey); in getSharedKey()