Searched refs:p_keys (Results 1 – 2 of 2) sorted by relevance
/system/bt/stack/btm/ |
D | btm_ble.c | 1015 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 1030 if ((p_rec = btm_find_dev (bd_addr)) != NULL && (p_keys || key_type== BTM_LE_KEY_LID)) in btm_sec_save_le_key() 1037 memcpy(p_rec->ble.keys.pltk, p_keys->penc_key.ltk, BT_OCTET16_LEN); in btm_sec_save_le_key() 1038 memcpy(p_rec->ble.keys.rand, p_keys->penc_key.rand, BT_OCTET8_LEN); in btm_sec_save_le_key() 1039 p_rec->ble.keys.sec_level = p_keys->penc_key.sec_level; in btm_sec_save_le_key() 1040 p_rec->ble.keys.ediv = p_keys->penc_key.ediv; in btm_sec_save_le_key() 1041 p_rec->ble.keys.key_size = p_keys->penc_key.key_size; in btm_sec_save_le_key() 1044 if (p_keys->penc_key.sec_level == SMP_SEC_AUTHENTICATED) in btm_sec_save_le_key() 1057 p_rec->ble.keys.irk[i] = p_keys->pid_key.irk[i]; in btm_sec_save_le_key() 1061 memcpy(p_rec->ble.static_addr, p_keys->pid_key.static_addr, BD_ADDR_LEN); in btm_sec_save_le_key() [all …]
|
D | btm_ble_int.h | 402 …ve_le_key(BD_ADDR bd_addr, tBTM_LE_KEY_TYPE key_type, tBTM_LE_KEY_VALUE *p_keys, BOOLEAN pass_to_a…
|