Searched refs:bt_mesh_private_key (Results 1 – 2 of 2) sorted by relevance
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/nimble_host/ |
D | mesh_bearer_adapt.c | 68 static uint8_t bt_mesh_private_key[32]; variable 1800 bt_mesh_rand(bt_mesh_private_key, sizeof(bt_mesh_private_key)); in bt_mesh_adapt_init() 1805 memcpy(bt_mesh_private_key, pri_key, 32); in bt_mesh_set_private_key() 1824 if (bt_mesh_rand(bt_mesh_private_key, 32)) { in bt_mesh_pub_key_get() 1835 memcpy(bt_mesh_private_key, pri_key, 32); in bt_mesh_pub_key_get() 1888 BT_DBG("private key = %s", bt_hex(bt_mesh_private_key, 32)); in bt_mesh_dh_key_gen() 1890 …ble_sm_alg_gen_dhkey((uint8_t *)&remote_pk[0], (uint8_t *)&remote_pk[32], bt_mesh_private_key, dhk… in bt_mesh_dh_key_gen()
|
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/bluedroid_host/ |
D | mesh_bearer_adapt.c | 51 static BT_OCTET32 bt_mesh_private_key; variable 1829 bt_mesh_rand(bt_mesh_private_key, sizeof(bt_mesh_private_key)); in bt_mesh_adapt_init() 1834 memcpy(bt_mesh_private_key, pri_key, 32); in bt_mesh_set_private_key() 1860 memcpy(private_key, bt_mesh_private_key, BT_OCTET32_LEN); in bt_mesh_pub_key_get() 1892 BT_DBG("private key = %s", bt_hex(bt_mesh_private_key, BT_OCTET32_LEN)); in bt_mesh_dh_key_gen() 1894 memcpy(private_key, bt_mesh_private_key, BT_OCTET32_LEN); in bt_mesh_dh_key_gen()
|