Searched refs:remote_public_key (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Bluetooth/system/gd/security/ |
D | ecdh_keys.cc | 78 …int8_t, 32> ComputeDHKey(std::array<uint8_t, 32> my_private_key, EcdhPublicKey remote_public_key) { in ComputeDHKey() argument 82 memcpy(peer_publ_key.x, remote_public_key.x.data(), 32); in ComputeDHKey() 83 memcpy(peer_publ_key.y, remote_public_key.y.data(), 32); in ComputeDHKey()
|
D | pairing_handler_le_secure_connections.cc | 60 EcdhPublicKey remote_public_key; in ExchangePublicKeys() local 62 remote_public_key.x = ppkv.GetPublicKeyX(); in ExchangePublicKeys() 63 remote_public_key.y = ppkv.GetPublicKeyY(); in ExchangePublicKeys() 66 if (public_key.x == remote_public_key.x) { in ExchangePublicKeys() 72 if (!ValidateECDHPoint(remote_public_key)) { in ExchangePublicKeys() 89 std::array<uint8_t, 32> dhkey = ComputeDHKey(private_key, remote_public_key); in ExchangePublicKeys() 91 const EcdhPublicKey& PKa = IAmCentral(i) ? public_key : remote_public_key; in ExchangePublicKeys() 92 const EcdhPublicKey& PKb = IAmCentral(i) ? remote_public_key : public_key; in ExchangePublicKeys()
|
D | ecdh_keys.h | 38 …uint8_t, 32> ComputeDHKey(std::array<uint8_t, 32> my_private_key, EcdhPublicKey remote_public_key);
|