Searched refs:priv_rand (Results 1 – 1 of 1) sorted by relevance
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/ |
D | crypto.c | 572 uint8_t priv_rand[16] = { 0x00, 0x00, 0x00, 0x00, 0x00, }; in bt_mesh_net_obfuscate() local 578 sys_put_be32(iv_index, &priv_rand[5]); in bt_mesh_net_obfuscate() 579 memcpy(&priv_rand[9], &pdu[7], 7); in bt_mesh_net_obfuscate() 581 BT_DBG("PrivacyRandom %s", bt_hex(priv_rand, 16)); in bt_mesh_net_obfuscate() 583 err = bt_mesh_encrypt_be(privacy_key, priv_rand, tmp); in bt_mesh_net_obfuscate()
|