Home
last modified time | relevance | path

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

/system/bt/gd/security/
Decdh_keys.cc77 ecc::Point peer_publ_key, new_publ_key; in ComputeDHKey() local
85 ECC_PointMult(&new_publ_key, &peer_publ_key, (uint32_t*)private_key); in ComputeDHKey()
88 memcpy(dhkey.data(), new_publ_key.x, 32); in ComputeDHKey()
/system/bt/stack/smp/
Dsmp_keys.cc721 Point peer_publ_key, new_publ_key; in smp_compute_dhkey() local
730 ECC_PointMult(&new_publ_key, &peer_publ_key, (uint32_t*)private_key); in smp_compute_dhkey()
732 memcpy(p_cb->dhkey, new_publ_key.x, BT_OCTET32_LEN); in smp_compute_dhkey()