Lines Matching refs:devcb

189     tBTM_DEVCB *p_devcb = &btm_cb.devcb;  in BTM_BleLoadLocalKeys()
224 memcpy (ble_encr_key_value, btm_cb.devcb.ble_encryption_key_value, BT_OCTET16_LEN); in BTM_GetDeviceEncRoot()
242 memcpy (irk, btm_cb.devcb.id_keys.irk, BT_OCTET16_LEN); in BTM_GetDeviceIDRoot()
258 memcpy (dhk, btm_cb.devcb.id_keys.dhk, BT_OCTET16_LEN); in BTM_GetDeviceDHK()
712 btm_cb.devcb.p_le_test_cmd_cmpl_cb = p_cmd_cmpl_cback; in BTM_BleReceiverTest()
735 btm_cb.devcb.p_le_test_cmd_cmpl_cb = p_cmd_cmpl_cback; in BTM_BleTransmitterTest()
753 btm_cb.devcb.p_le_test_cmd_cmpl_cb = p_cmd_cmpl_cback; in BTM_BleTestEnd()
766 tBTM_CMPL_CB *p_cb = btm_cb.devcb.p_le_test_cmd_cmpl_cb; in btm_ble_test_command_complete()
768 btm_cb.devcb.p_le_test_cmd_cmpl_cb = NULL; in btm_ble_test_command_complete()
1677 if (btm_cb.devcb.keep_rfu_in_auth_req) in btm_ble_io_capabilities_req()
1680 btm_cb.devcb.keep_rfu_in_auth_req); in btm_ble_io_capabilities_req()
1682 btm_cb.devcb.keep_rfu_in_auth_req = FALSE; in btm_ble_io_capabilities_req()
2072 … if (!btm_cb.devcb.no_disc_if_pair_fail && p_data->cmplt.reason != SMP_CONN_TOUT) in btm_proc_smp_cback()
2414 p_locak_keys = (tBTM_BLE_LOCAL_KEYS *)&btm_cb.devcb.id_keys; in btm_notify_new_key()
2419 p_locak_keys = (tBTM_BLE_LOCAL_KEYS *)&btm_cb.devcb.ble_encryption_key_value; in btm_notify_new_key()
2447 memcpy(&btm_cb.devcb.ble_encryption_key_value[8], p->param_buf, BT_OCTET8_LEN); in btm_ble_process_er2()
2453 memset(&btm_cb.devcb.ble_encryption_key_value, 0, sizeof(BT_OCTET16)); in btm_ble_process_er2()
2473 memcpy(&btm_cb.devcb.ble_encryption_key_value[0], p->param_buf, BT_OCTET8_LEN); in btm_ble_process_er()
2477 memset(&btm_cb.devcb.ble_encryption_key_value, 0, sizeof(BT_OCTET16)); in btm_ble_process_er()
2502 memcpy(btm_cb.devcb.id_keys.irk, p->param_buf, BT_OCTET16_LEN); in btm_ble_process_irk()
2546 memcpy(btm_cb.devcb.id_keys.dhk, p->param_buf, BT_OCTET16_LEN); in btm_ble_process_dhk()
2550 if (!SMP_Encrypt(btm_cb.devcb.id_keys.ir, BT_OCTET16_LEN, &btm_ble_irk_pt, in btm_ble_process_dhk()
2554 memset(&btm_cb.devcb.id_keys, 0, sizeof(tBTM_BLE_LOCAL_ID_KEYS)); in btm_ble_process_dhk()
2564 memset(&btm_cb.devcb.id_keys, 0, sizeof(tBTM_BLE_LOCAL_ID_KEYS)); in btm_ble_process_dhk()
2591 memcpy(&btm_cb.devcb.id_keys.ir[8], p->param_buf, BT_OCTET8_LEN); in btm_ble_process_ir2()
2594 SMP_Encrypt(btm_cb.devcb.id_keys.ir, BT_OCTET16_LEN, &btm_ble_dhk_pt, in btm_ble_process_ir2()
2602 memset(&btm_cb.devcb.id_keys, 0, sizeof(tBTM_BLE_LOCAL_ID_KEYS)); in btm_ble_process_ir2()
2625 memcpy(btm_cb.devcb.id_keys.ir, p->param_buf, BT_OCTET8_LEN); in btm_ble_process_ir()
2630 memset(&btm_cb.devcb.id_keys, 0, sizeof(tBTM_BLE_LOCAL_ID_KEYS)); in btm_ble_process_ir()
2669 btm_cb.devcb.no_disc_if_pair_fail = disable_disc; in btm_ble_set_no_disc_if_pair_fail()
2684 btm_cb.devcb.enable_test_mac_val = enable; in btm_ble_set_test_mac_value()
2685 memcpy(btm_cb.devcb.test_mac, p_test_mac_val, BT_OCTET8_LEN); in btm_ble_set_test_mac_value()
2701 btm_cb.devcb.enable_test_local_sign_cntr = enable; in btm_ble_set_test_local_sign_cntr_value()
2702 btm_cb.devcb.test_local_sign_cntr = test_local_sign_cntr; in btm_ble_set_test_local_sign_cntr_value()
2745 btm_cb.devcb.keep_rfu_in_auth_req = keep_rfu; in btm_ble_set_keep_rfu_in_auth_req()