Home
last modified time | relevance | path

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

/system/bt/stack/btm/
Dbtm_ble.c216 memcpy(&p_devcb->id_keys, &p_key->id_keys, sizeof(tBTM_BLE_LOCAL_ID_KEYS)); in BTM_BleLoadLocalKeys()
262 memcpy (irk, btm_cb.devcb.id_keys.irk, BT_OCTET16_LEN); in BTM_GetDeviceIDRoot()
278 memcpy (dhk, btm_cb.devcb.id_keys.dhk, BT_OCTET16_LEN); in BTM_GetDeviceDHK()
2334 p_locak_keys = (tBTM_BLE_LOCAL_KEYS *)&btm_cb.devcb.id_keys; in btm_notify_new_key()
2422 memcpy(btm_cb.devcb.id_keys.irk, p->param_buf, BT_OCTET16_LEN); in btm_ble_process_irk()
2466 memcpy(btm_cb.devcb.id_keys.dhk, p->param_buf, BT_OCTET16_LEN); in btm_ble_process_dhk()
2470 if (!SMP_Encrypt(btm_cb.devcb.id_keys.ir, BT_OCTET16_LEN, &btm_ble_irk_pt, in btm_ble_process_dhk()
2474 memset(&btm_cb.devcb.id_keys, 0, sizeof(tBTM_BLE_LOCAL_ID_KEYS)); in btm_ble_process_dhk()
2484 memset(&btm_cb.devcb.id_keys, 0, sizeof(tBTM_BLE_LOCAL_ID_KEYS)); in btm_ble_process_dhk()
2511 memcpy(&btm_cb.devcb.id_keys.ir[8], p->param_buf, BT_OCTET8_LEN); in btm_ble_process_ir2()
[all …]
Dbtm_ble_addr.c108 if (!SMP_Encrypt(btm_cb.devcb.id_keys.irk, BT_OCTET16_LEN, p->param_buf, 3, &output)) in btm_gen_resolve_paddr_low()
Dbtm_ble_multi_adv.c419 if (!SMP_Encrypt(btm_cb.devcb.id_keys.irk, BT_OCTET16_LEN, p->param_buf, 3, &output)) in btm_ble_multi_adv_gen_rpa_cmpl()
Dbtm_ble_privacy.c793 UINT8 *local_irk = btm_cb.devcb.id_keys.irk; in btm_ble_resolving_list_load_dev()
Dbtm_int.h177 tBTM_BLE_LOCAL_ID_KEYS id_keys; /* local BLE ID keys */ member
Dbtm_sec.c247 if (memcmp(btm_cb.devcb.id_keys.ir, &temp_value, sizeof(BT_OCTET16)) == 0) in BTM_SecRegister()
/system/bt/btif/src/
Dbtif_dm.c134 btif_dm_local_key_id_t id_keys; /* ID kyes */ member
1874 memcpy(&ble_local_key_cb.id_keys.irk[0], in btif_dm_upstreams_evt()
1876 memcpy(&ble_local_key_cb.id_keys.ir[0], in btif_dm_upstreams_evt()
1878 memcpy(&ble_local_key_cb.id_keys.dhk[0], in btif_dm_upstreams_evt()
1880 btif_storage_add_ble_local_key( (char *)&ble_local_key_cb.id_keys.irk[0], in btif_dm_upstreams_evt()
1883 btif_storage_add_ble_local_key( (char *)&ble_local_key_cb.id_keys.ir[0], in btif_dm_upstreams_evt()
1886 btif_storage_add_ble_local_key( (char *)&ble_local_key_cb.id_keys.dhk[0], in btif_dm_upstreams_evt()
2958 …if ((btif_storage_get_ble_local_key(BTIF_DM_LE_LOCAL_KEY_IR,(char*)&ble_local_key_cb.id_keys.ir[0], in btif_dm_load_ble_local_keys()
2960 … (btif_storage_get_ble_local_key(BTIF_DM_LE_LOCAL_KEY_IRK, (char*)&ble_local_key_cb.id_keys.irk[0], in btif_dm_load_ble_local_keys()
2962 … (btif_storage_get_ble_local_key(BTIF_DM_LE_LOCAL_KEY_DHK,(char*)&ble_local_key_cb.id_keys.dhk[0], in btif_dm_load_ble_local_keys()
[all …]
/system/bt/stack/include/
Dbtm_api.h1728 tBTM_BLE_LOCAL_ID_KEYS id_keys; member