Home
last modified time | relevance | path

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

/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/bluedroid_host/
Dmesh_bearer_adapt.c1889 Point peer_pub_key = {0}; in bt_mesh_dh_key_gen() local
1895 memcpy(peer_pub_key.x, remote_pk, BT_OCTET32_LEN); in bt_mesh_dh_key_gen()
1896 memcpy(peer_pub_key.y, &remote_pk[BT_OCTET32_LEN], BT_OCTET32_LEN); in bt_mesh_dh_key_gen()
1898 BT_DBG("remote public key x = %s", bt_hex(peer_pub_key.x, BT_OCTET32_LEN)); in bt_mesh_dh_key_gen()
1899 BT_DBG("remote public key y = %s", bt_hex(peer_pub_key.y, BT_OCTET32_LEN)); in bt_mesh_dh_key_gen()
1901 ECC_PointMult(&new_pub_key, &peer_pub_key, (DWORD *)private_key, KEY_LENGTH_DWORDS_P256); in bt_mesh_dh_key_gen()