Home
last modified time | relevance | path

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

/system/bt/stack/btm/
Dbtm_ble.cc183 memcpy(&p_devcb->id_keys, &p_key->id_keys, in BTM_BleLoadLocalKeys()
230 memcpy(irk, btm_cb.devcb.id_keys.irk, BT_OCTET16_LEN); in BTM_GetDeviceIDRoot()
245 memcpy(dhk, btm_cb.devcb.id_keys.dhk, BT_OCTET16_LEN); in BTM_GetDeviceDHK()
2417 p_local_keys = (tBTM_BLE_LOCAL_KEYS*)&btm_cb.devcb.id_keys; in btm_notify_new_key()
2448 memcpy(btm_cb.devcb.id_keys.irk, p->param_buf, BT_OCTET16_LEN); in btm_ble_process_irk()
2491 memcpy(btm_cb.devcb.id_keys.dhk, p->param_buf, BT_OCTET16_LEN); in btm_ble_process_dhk()
2495 if (!SMP_Encrypt(btm_cb.devcb.id_keys.ir, BT_OCTET16_LEN, &btm_ble_irk_pt, in btm_ble_process_dhk()
2498 memset(&btm_cb.devcb.id_keys, 0, sizeof(tBTM_BLE_LOCAL_ID_KEYS)); in btm_ble_process_dhk()
2504 memset(&btm_cb.devcb.id_keys, 0, sizeof(tBTM_BLE_LOCAL_ID_KEYS)); in btm_ble_process_dhk()
2523 memcpy(btm_cb.devcb.id_keys.ir, rand, BT_OCTET8_LEN); in btm_ble_reset_id()
[all …]
Dbtm_ble_addr.cc97 if (!SMP_Encrypt(btm_cb.devcb.id_keys.irk, BT_OCTET16_LEN, rand, 3, in btm_gen_resolve_paddr_low()
Dbtm_int_types.h172 tBTM_BLE_LOCAL_ID_KEYS id_keys; /* local BLE ID keys */ member
Dbtm_ble_privacy.cc732 uint8_t* local_irk = btm_cb.devcb.id_keys.irk; in btm_ble_resolving_list_load_dev()
Dbtm_sec.cc240 if (memcmp(btm_cb.devcb.id_keys.ir, &temp_value, sizeof(BT_OCTET16)) == 0) { in BTM_SecRegister()
/system/bt/btif/src/
Dbtif_dm.cc138 btif_dm_local_key_id_t id_keys; /* ID kyes */ member
1812 memcpy(&ble_local_key_cb.id_keys.irk[0], &p_data->ble_id_keys.irk[0], in btif_dm_upstreams_evt()
1814 memcpy(&ble_local_key_cb.id_keys.ir[0], &p_data->ble_id_keys.ir[0], in btif_dm_upstreams_evt()
1816 memcpy(&ble_local_key_cb.id_keys.dhk[0], &p_data->ble_id_keys.dhk[0], in btif_dm_upstreams_evt()
1818 btif_storage_add_ble_local_key((char*)&ble_local_key_cb.id_keys.irk[0], in btif_dm_upstreams_evt()
1820 btif_storage_add_ble_local_key((char*)&ble_local_key_cb.id_keys.ir[0], in btif_dm_upstreams_evt()
1822 btif_storage_add_ble_local_key((char*)&ble_local_key_cb.id_keys.dhk[0], in btif_dm_upstreams_evt()
2892 (char*)&ble_local_key_cb.id_keys.ir[0], in btif_dm_load_ble_local_keys()
2895 (char*)&ble_local_key_cb.id_keys.irk[0], in btif_dm_load_ble_local_keys()
2898 (char*)&ble_local_key_cb.id_keys.dhk[0], in btif_dm_load_ble_local_keys()
[all …]
/system/bt/stack/include/
Dbtm_api_types.h1712 tBTM_BLE_LOCAL_ID_KEYS id_keys; member