Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/core/
Dbtc_dm.c146 …btc_storage_get_ble_local_key(BTC_LE_LOCAL_KEY_IR,(char*)&btc_dm_cb.ble_local_key_cb.id_keys.ir[0], in btc_dm_load_ble_local_keys()
148 …_storage_get_ble_local_key(BTC_LE_LOCAL_KEY_IRK, (char*)&btc_dm_cb.ble_local_key_cb.id_keys.irk[0], in btc_dm_load_ble_local_keys()
150 …c_storage_get_ble_local_key(BTC_LE_LOCAL_KEY_DHK,(char*)&btc_dm_cb.ble_local_key_cb.id_keys.dhk[0], in btc_dm_load_ble_local_keys()
166 memcpy(&p_id_keys->ir[0], &btc_dm_cb.ble_local_key_cb.id_keys.ir[0], sizeof(BT_OCTET16)); in btc_dm_get_ble_local_keys()
167 memcpy(&p_id_keys->irk[0], &btc_dm_cb.ble_local_key_cb.id_keys.irk[0], sizeof(BT_OCTET16)); in btc_dm_get_ble_local_keys()
168 memcpy(&p_id_keys->dhk[0], &btc_dm_cb.ble_local_key_cb.id_keys.dhk[0], sizeof(BT_OCTET16)); in btc_dm_get_ble_local_keys()
858 memcpy(&btc_dm_cb.ble_local_key_cb.id_keys.irk[0], in btc_dm_sec_cb_handler()
860 memcpy(&btc_dm_cb.ble_local_key_cb.id_keys.ir[0], in btc_dm_sec_cb_handler()
862 memcpy(&btc_dm_cb.ble_local_key_cb.id_keys.dhk[0], in btc_dm_sec_cb_handler()
864 btc_storage_add_ble_local_key( (char *)&btc_dm_cb.ble_local_key_cb.id_keys.irk[0], in btc_dm_sec_cb_handler()
[all …]
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/btm/
Dbtm_ble.c211 memcpy(&p_devcb->id_keys, &p_key->id_keys, sizeof(tBTM_BLE_LOCAL_ID_KEYS)); in BTM_BleLoadLocalKeys()
257 memcpy (irk, btm_cb.devcb.id_keys.irk, BT_OCTET16_LEN); in BTM_GetDeviceIDRoot()
273 memcpy (dhk, btm_cb.devcb.id_keys.dhk, BT_OCTET16_LEN); in BTM_GetDeviceDHK()
2485 p_locak_keys = (tBTM_BLE_LOCAL_KEYS *)&btm_cb.devcb.id_keys;
2566 memcpy(btm_cb.devcb.id_keys.irk, p->param_buf, BT_OCTET16_LEN);
2605 memcpy(btm_cb.devcb.id_keys.dhk, p->param_buf, BT_OCTET16_LEN);
2609 if (!SMP_Encrypt(btm_cb.devcb.id_keys.ir, BT_OCTET16_LEN, &btm_ble_irk_pt,
2612 memset(&btm_cb.devcb.id_keys, 0, sizeof(tBTM_BLE_LOCAL_ID_KEYS));
2618 memset(&btm_cb.devcb.id_keys, 0, sizeof(tBTM_BLE_LOCAL_ID_KEYS));
2642 memcpy(&btm_cb.devcb.id_keys.ir[8], p->param_buf, BT_OCTET8_LEN);
[all …]
Dbtm_ble_addr.c130 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_privacy.c785 UINT8 *local_irk = btm_cb.devcb.id_keys.irk; in btm_ble_resolving_list_load_dev()
Dbtm_ble_multi_adv.c409 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_sec.c240 if (memcmp(btm_cb.devcb.id_keys.ir, &temp_value, sizeof(BT_OCTET16)) == 0) { in BTM_SecRegister()
247 btsnd_hcic_ble_add_device_resolving_list (0, peer_addr, peer_irk, btm_cb.devcb.id_keys.irk); in BTM_SecRegister()
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/include/btc/
Dbtc_dm.h66 btc_dm_local_key_id_t id_keys; /* ID kyes */ member
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/btm/include/
Dbtm_int.h235 tBTM_BLE_LOCAL_ID_KEYS id_keys; /* local BLE ID keys */ member
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/include/stack/
Dbtm_api.h1758 tBTM_BLE_LOCAL_ID_KEYS id_keys; member