Home
last modified time | relevance | path

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

/hal_espressif-2.7.6/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()
857 memcpy(&btc_dm_cb.ble_local_key_cb.id_keys.irk[0], in btc_dm_sec_cb_handler()
859 memcpy(&btc_dm_cb.ble_local_key_cb.id_keys.ir[0], in btc_dm_sec_cb_handler()
861 memcpy(&btc_dm_cb.ble_local_key_cb.id_keys.dhk[0], in btc_dm_sec_cb_handler()
863 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-2.7.6/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()
2484 p_locak_keys = (tBTM_BLE_LOCAL_KEYS *)&btm_cb.devcb.id_keys;
2565 memcpy(btm_cb.devcb.id_keys.irk, p->param_buf, BT_OCTET16_LEN);
2604 memcpy(btm_cb.devcb.id_keys.dhk, p->param_buf, BT_OCTET16_LEN);
2608 if (!SMP_Encrypt(btm_cb.devcb.id_keys.ir, BT_OCTET16_LEN, &btm_ble_irk_pt,
2611 memset(&btm_cb.devcb.id_keys, 0, sizeof(tBTM_BLE_LOCAL_ID_KEYS));
2617 memset(&btm_cb.devcb.id_keys, 0, sizeof(tBTM_BLE_LOCAL_ID_KEYS));
2641 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()
/hal_espressif-2.7.6/components/bt/host/bluedroid/btc/include/btc/
Dbtc_dm.h66 btc_dm_local_key_id_t id_keys; /* ID kyes */ member
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/btm/include/
Dbtm_int.h230 tBTM_BLE_LOCAL_ID_KEYS id_keys; /* local BLE ID keys */ member
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/include/stack/
Dbtm_api.h1754 tBTM_BLE_LOCAL_ID_KEYS id_keys; member