Searched refs:ble_key (Results 1 – 3 of 3) sorted by relevance
286 dst_dm_sec->ble_key.p_key_value = osi_malloc(sizeof(tBTM_LE_KEY_VALUE)); in btif_dm_data_copy()287 assert(src_dm_sec->ble_key.p_key_value); in btif_dm_data_copy()288 …memcpy(dst_dm_sec->ble_key.p_key_value, src_dm_sec->ble_key.p_key_value, sizeof(tBTM_LE_KEY_VALUE)… in btif_dm_data_copy()295 osi_free_and_reset((void **)&dm_sec->ble_key.p_key_value); in btif_dm_data_free()1851 BTIF_TRACE_DEBUG("BTA_DM_BLE_KEY_EVT key_type=0x%02x ", p_data->ble_key.key_type); in btif_dm_upstreams_evt()1859 bond_state_changed(BT_STATUS_SUCCESS, (bt_bdaddr_t*)p_data->ble_key.bd_addr, in btif_dm_upstreams_evt()1862 else if (memcmp (pairing_cb.bd_addr, p_data->ble_key.bd_addr, BD_ADDR_LEN)!=0) in btif_dm_upstreams_evt()1864 BTIF_TRACE_ERROR("BD mismatch discard BLE key_type=%d ",p_data->ble_key.key_type); in btif_dm_upstreams_evt()1868 switch (p_data->ble_key.key_type) in btif_dm_upstreams_evt()1873 pairing_cb.ble.penc_key = p_data->ble_key.p_key_value->penc_key; in btif_dm_upstreams_evt()[all …]
893 tBTA_DM_BLE_KEY ble_key; /* BLE SMP keys used when pairing */ member
4392 bdcpy(sec_event.ble_key.bd_addr, bda); in bta_dm_ble_smp_cback()4393 sec_event.ble_key.key_type = p_data->key.key_type; in bta_dm_ble_smp_cback()4394 sec_event.ble_key.p_key_value = p_data->key.p_key_value; in bta_dm_ble_smp_cback()