Lines Matching refs:local_r_key

69       __func__, p_cb->role, recv, p_cb->local_i_key, p_cb->local_r_key);  in smp_update_key_mask()
77 p_cb->local_r_key &= ~key_type; in smp_update_key_mask()
82 p_cb->local_r_key &= ~key_type; in smp_update_key_mask()
85 p_cb->local_r_key &= ~key_type; in smp_update_key_mask()
91 p_cb->local_i_key, p_cb->local_r_key); in smp_update_key_mask()
111 cb_data.io_req.resp_keys = p_cb->local_r_key; in smp_send_app_cback()
150 p_cb->local_r_key = cb_data.io_req.resp_keys; in smp_send_app_cback()
155 p_cb->local_r_key = 0; in smp_send_app_cback()
163 p_cb->loc_enc_size, p_cb->local_i_key, p_cb->local_r_key); in smp_send_app_cback()
189 p_cb->local_r_key &= ~SMP_SEC_KEY_TYPE_LK; in smp_send_app_cback()
200 p_cb->loc_auth_req, p_cb->local_i_key, p_cb->local_r_key); in smp_send_app_cback()
208 p_cb->local_r_key = cb_data.io_req.resp_keys; in smp_send_app_cback()
212 p_cb->local_r_key &= ~SMP_SEC_KEY_TYPE_LK; in smp_send_app_cback()
217 p_cb->loc_enc_size, p_cb->local_i_key, p_cb->local_r_key, in smp_send_app_cback()
280 p_cb->local_r_key &= p_cb->peer_r_key; in smp_send_pair_rsp()
465 p_cb->local_r_key = p_cb->local_i_key = SMP_SEC_DEFAULT_KEY; in smp_proc_sec_req()
562 p_cb->local_r_key = p_cb->peer_r_key; in smp_proc_pair_cmd()
569 p_cb->local_r_key &= p_cb->peer_r_key; in smp_proc_pair_cmd()
846 p_cb->local_r_key = p_cb->peer_r_key; in smp_br_process_pairing_command()
887 __func__, p_cb->local_i_key, p_cb->local_r_key); in smp_br_check_authorization_request()
891 p_cb->local_r_key &= ~SMP_SEC_KEY_TYPE_LK; in smp_br_check_authorization_request()
896 p_cb->local_r_key &= (SMP_SEC_KEY_TYPE_ID | SMP_SEC_KEY_TYPE_CSRK); in smp_br_check_authorization_request()
908 __func__, p_cb->local_i_key, p_cb->local_r_key); in smp_br_check_authorization_request()
912 (p_cb->local_i_key || p_cb->local_r_key)) { in smp_br_check_authorization_request()
916 if (p_cb->role == HCI_ROLE_CENTRAL && p_cb->local_r_key == 0) in smp_br_check_authorization_request()
932 p_cb->role, p_cb->local_r_key, p_cb->local_i_key); in smp_br_select_next_key()
935 (!p_cb->local_r_key && p_cb->role == HCI_ROLE_CENTRAL)) { in smp_br_select_next_key()
939 if (!p_cb->local_i_key && !p_cb->local_r_key) { in smp_br_select_next_key()
1103 p_cb->local_r_key = p_cb->peer_r_key; in smp_proc_compare()
1188 __func__, enc_enable, p_cb->local_i_key, p_cb->local_r_key); in smp_check_auth_req()
1193 p_cb->local_r_key |= SMP_SEC_KEY_TYPE_ENC; in smp_check_auth_req()
1197 !(p_cb->local_r_key & SMP_SEC_KEY_TYPE_LK)) { in smp_check_auth_req()
1199 p_cb->local_r_key &= ~SMP_SEC_KEY_TYPE_LK; in smp_check_auth_req()
1206 p_cb->local_r_key &= (SMP_SEC_KEY_TYPE_ID | SMP_SEC_KEY_TYPE_CSRK); in smp_check_auth_req()
1211 p_cb->local_r_key &= ~SMP_SEC_KEY_TYPE_LK; in smp_check_auth_req()
1215 __func__, p_cb->local_i_key, p_cb->local_r_key); in smp_check_auth_req()
1219 (p_cb->local_i_key || p_cb->local_r_key)) { in smp_check_auth_req()
1246 uint8_t key_to_dist = (p_cb->role == HCI_ROLE_PERIPHERAL) ? p_cb->local_r_key in smp_key_pick_key()
1268 p_cb->role, p_cb->local_r_key, p_cb->local_i_key); in smp_key_distribution()
1271 (!p_cb->local_r_key && p_cb->role == HCI_ROLE_CENTRAL)) { in smp_key_distribution()
1275 if (!p_cb->local_i_key && !p_cb->local_r_key) { in smp_key_distribution()
1479 p_cb->local_r_key &= p_cb->peer_r_key; in smp_br_send_pair_response()
1789 p_cb->local_r_key = p_cb->peer_r_key; in smp_match_dhkey_checks()