• Home
  • Raw
  • Download

Lines Matching refs:p_keys

1111                          tBTM_LE_KEY_VALUE* p_keys, bool pass_to_application) {  in btm_sec_save_le_key()  argument
1122 (p_keys || key_type == BTM_LE_KEY_LID)) { in btm_sec_save_le_key()
1127 p_rec->ble.keys.pltk = p_keys->penc_key.ltk; in btm_sec_save_le_key()
1128 memcpy(p_rec->ble.keys.rand, p_keys->penc_key.rand, BT_OCTET8_LEN); in btm_sec_save_le_key()
1129 p_rec->ble.keys.sec_level = p_keys->penc_key.sec_level; in btm_sec_save_le_key()
1130 p_rec->ble.keys.ediv = p_keys->penc_key.ediv; in btm_sec_save_le_key()
1131 p_rec->ble.keys.key_size = p_keys->penc_key.key_size; in btm_sec_save_le_key()
1134 if (p_keys->penc_key.sec_level == SMP_SEC_AUTHENTICATED) in btm_sec_save_le_key()
1144 p_rec->ble.keys.irk = p_keys->pid_key.irk; in btm_sec_save_le_key()
1146 p_keys->pid_key.identity_addr; in btm_sec_save_le_key()
1148 p_keys->pid_key.identity_addr_type; in btm_sec_save_le_key()
1154 p_keys->pid_key.identity_addr.ToString().c_str(), in btm_sec_save_le_key()
1155 p_keys->pid_key.identity_addr_type); in btm_sec_save_le_key()
1157 p_rec->bd_addr = p_keys->pid_key.identity_addr; in btm_sec_save_le_key()
1163 p_rec->ble.keys.pcsrk = p_keys->pcsrk_key.csrk; in btm_sec_save_le_key()
1164 p_rec->ble.keys.srk_sec_level = p_keys->pcsrk_key.sec_level; in btm_sec_save_le_key()
1165 p_rec->ble.keys.counter = p_keys->pcsrk_key.counter; in btm_sec_save_le_key()
1168 if (p_keys->pcsrk_key.sec_level == SMP_SEC_AUTHENTICATED) in btm_sec_save_le_key()
1181 p_rec->ble.keys.lltk = p_keys->lenc_key.ltk; in btm_sec_save_le_key()
1182 p_rec->ble.keys.div = p_keys->lenc_key.div; /* update DIV */ in btm_sec_save_le_key()
1183 p_rec->ble.keys.sec_level = p_keys->lenc_key.sec_level; in btm_sec_save_le_key()
1184 p_rec->ble.keys.key_size = p_keys->lenc_key.key_size; in btm_sec_save_le_key()
1195 p_rec->ble.keys.lcsrk = p_keys->lcsrk_key.csrk; in btm_sec_save_le_key()
1196 p_rec->ble.keys.div = p_keys->lcsrk_key.div; /* update DIV */ in btm_sec_save_le_key()
1197 p_rec->ble.keys.local_csrk_sec_level = p_keys->lcsrk_key.sec_level; in btm_sec_save_le_key()
1198 p_rec->ble.keys.local_counter = p_keys->lcsrk_key.counter; in btm_sec_save_le_key()
1223 cb_data.key.p_key_value = p_keys; in btm_sec_save_le_key()