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.cc78 ecc::Point peer_publ_key, new_publ_key; in ComputeDHKey() local
86 ECC_PointMult(&new_publ_key, &peer_publ_key, (uint32_t*)private_key); in ComputeDHKey()
89 memcpy(dhkey.data(), new_publ_key.x, 32); in ComputeDHKey()
/system/bt/stack/smp/
Dsmp_keys.cc717 Point peer_publ_key, new_publ_key; in smp_compute_dhkey() local
726 ECC_PointMult(&new_publ_key, &peer_publ_key, (uint32_t*)private_key); in smp_compute_dhkey()
728 memcpy(p_cb->dhkey, new_publ_key.x, BT_OCTET32_LEN); in smp_compute_dhkey()