Home
last modified time | relevance | path

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

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeKePayload.java365 KeyAgreement keyAgreement; in getCurveSharedKey() local
368 keyAgreement = in getCurveSharedKey()
376 keyAgreement.init(privateKey); in getCurveSharedKey()
400 keyAgreement.doPhase(publicKey, true /* Last phase */); in getCurveSharedKey()
401 return keyAgreement.generateSecret(); in getCurveSharedKey()
/packages/services/Car/service/src/com/android/car/bluetooth/
DFastPairGattServer.java773 KeyAgreement keyAgreement = KeyAgreement.getInstance("ECDH"); in calculateAntiSpoofing() local
774 keyAgreement.init(privateKey); in calculateAntiSpoofing()
775 keyAgreement.doPhase(publicKey, true); in calculateAntiSpoofing()
776 byte[] sharedSecret = keyAgreement.generateSecret(); in calculateAntiSpoofing()