Searched refs:p_keys (Results 1 – 2 of 2) sorted by relevance
/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/btm/ |
D | btm_ble.c | 1275 void btm_sec_save_le_key(BD_ADDR bd_addr, tBTM_LE_KEY_TYPE key_type, tBTM_LE_KEY_VALUE *p_keys, in btm_sec_save_le_key() argument 1290 if ((p_rec = btm_find_dev (bd_addr)) != NULL && (p_keys || key_type == BTM_LE_KEY_LID)) { in btm_sec_save_le_key() 1295 memcpy(p_rec->ble.keys.pltk, p_keys->penc_key.ltk, BT_OCTET16_LEN); in btm_sec_save_le_key() 1296 memcpy(p_rec->ble.keys.rand, p_keys->penc_key.rand, BT_OCTET8_LEN); in btm_sec_save_le_key() 1297 p_rec->ble.keys.sec_level = p_keys->penc_key.sec_level; in btm_sec_save_le_key() 1298 p_rec->ble.keys.ediv = p_keys->penc_key.ediv; in btm_sec_save_le_key() 1299 p_rec->ble.keys.key_size = p_keys->penc_key.key_size; in btm_sec_save_le_key() 1302 if (p_keys->penc_key.sec_level == SMP_SEC_AUTHENTICATED) { in btm_sec_save_le_key() 1315 p_rec->ble.keys.irk[i] = p_keys->pid_key.irk[i]; in btm_sec_save_le_key() 1319 memcpy(p_rec->ble.static_addr, p_keys->pid_key.static_addr, BD_ADDR_LEN); in btm_sec_save_le_key() [all …]
|
/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/btm/include/ |
D | btm_ble_int.h | 440 void btm_sec_save_le_key(BD_ADDR bd_addr, tBTM_LE_KEY_TYPE key_type, tBTM_LE_KEY_VALUE *p_keys, BOO…
|