Lines Matching refs:local_i_key
72 __func__, p_cb->role, recv, p_cb->local_i_key, p_cb->local_r_key); in smp_update_key_mask()
79 p_cb->local_i_key &= ~key_type; in smp_update_key_mask()
83 p_cb->local_i_key &= ~key_type; in smp_update_key_mask()
90 p_cb->local_i_key &= ~key_type; in smp_update_key_mask()
94 p_cb->local_i_key, p_cb->local_r_key); in smp_update_key_mask()
113 cb_data.io_req.init_keys = p_cb->local_i_key; in smp_send_app_cback()
154 p_cb->local_i_key = cb_data.io_req.init_keys; in smp_send_app_cback()
159 p_cb->local_i_key = 0; in smp_send_app_cback()
168 p_cb->loc_enc_size, p_cb->local_i_key, p_cb->local_r_key); in smp_send_app_cback()
184 p_cb->local_i_key &= ~SMP_SEC_KEY_TYPE_LK; in smp_send_app_cback()
194 p_cb->loc_auth_req, p_cb->local_i_key, p_cb->local_r_key); in smp_send_app_cback()
201 p_cb->local_i_key = cb_data.io_req.init_keys; in smp_send_app_cback()
205 p_cb->local_i_key &= ~SMP_SEC_KEY_TYPE_LK; in smp_send_app_cback()
211 p_cb->loc_enc_size, p_cb->local_i_key, p_cb->local_r_key, in smp_send_app_cback()
268 p_cb->local_i_key &= p_cb->peer_i_key; in smp_send_pair_rsp()
455 p_cb->local_r_key = p_cb->local_i_key = SMP_SEC_DEFAULT_KEY; in smp_proc_sec_req()
551 p_cb->local_i_key = p_cb->peer_i_key; in smp_proc_pair_cmd()
558 p_cb->local_i_key &= p_cb->peer_i_key; in smp_proc_pair_cmd()
823 p_cb->local_i_key = p_cb->peer_i_key; in smp_br_process_pairing_command()
865 __func__, p_cb->local_i_key, p_cb->local_r_key); in smp_br_check_authorization_request()
868 p_cb->local_i_key &= ~SMP_SEC_KEY_TYPE_LK; in smp_br_check_authorization_request()
886 __func__, p_cb->local_i_key, p_cb->local_r_key); in smp_br_check_authorization_request()
890 (p_cb->local_i_key || p_cb->local_r_key)) { in smp_br_check_authorization_request()
910 p_cb->role, p_cb->local_r_key, p_cb->local_i_key); in smp_br_select_next_key()
917 if (!p_cb->local_i_key && !p_cb->local_r_key) { in smp_br_select_next_key()
1080 p_cb->local_i_key = p_cb->peer_i_key; in smp_proc_compare()
1166 __func__, enc_enable, p_cb->local_i_key, p_cb->local_r_key); in smp_check_auth_req()
1170 p_cb->local_i_key |= SMP_SEC_KEY_TYPE_ENC; in smp_check_auth_req()
1174 if (!(p_cb->local_i_key & SMP_SEC_KEY_TYPE_LK) || in smp_check_auth_req()
1176 p_cb->local_i_key &= ~SMP_SEC_KEY_TYPE_LK; in smp_check_auth_req()
1188 p_cb->local_i_key &= ~SMP_SEC_KEY_TYPE_LK; in smp_check_auth_req()
1193 __func__, p_cb->local_i_key, p_cb->local_r_key); in smp_check_auth_req()
1197 (p_cb->local_i_key || p_cb->local_r_key)) { in smp_check_auth_req()
1224 (p_cb->role == HCI_ROLE_SLAVE) ? p_cb->local_r_key : p_cb->local_i_key; in smp_key_pick_key()
1245 p_cb->role, p_cb->local_r_key, p_cb->local_i_key); in smp_key_distribution()
1252 if (!p_cb->local_i_key && !p_cb->local_r_key) { in smp_key_distribution()
1428 p_cb->local_i_key &= p_cb->peer_i_key; in smp_br_send_pair_response()
1727 p_cb->local_i_key = p_cb->peer_i_key; in smp_match_dhkey_checks()