Home
last modified time | relevance | path

Searched refs:getSharedKey (Results 1 – 3 of 3) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DSaRecord.java215 byte[] sharedDhKey = getSharedKey(initRequest, initResponse); in makeFirstIkeSaRecord()
244 byte[] sharedDhKey = getSharedKey(localMsg, remoteMsg); in makeRekeyedIkeSaRecord()
252 private byte[] getSharedKey(IkeMessage keLocalMessage, IkeMessage keRemoteMessage) in getSharedKey() method in SaRecord.SaRecordHelper
261 return IkeKePayload.getSharedKey( in getSharedKey()
365 IkeKePayload.getSharedKey( in makeChildSaRecord()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeKePayloadTest.java187 byte[] sharedKeyBytes = IkeKePayload.getSharedKey(mPrivateKeySpec, remotePublicKey); in testGetSharedkey()
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() method in IkeKePayload