• Home
  • Raw
  • Download

Lines Matching refs:role

109         __func__, p_cb->role, recv, p_cb->local_i_key, p_cb->local_r_key);  in smp_update_key_mask()
121 if (p_cb->role == HCI_ROLE_SLAVE) in smp_update_key_mask()
570 if (p_dev_rec && (p_cb->role == HCI_ROLE_SLAVE)) in smp_proc_pair_cmd()
593 if (p_cb->role == HCI_ROLE_SLAVE) in smp_proc_pair_cmd()
845 if (!p_dev_rec->new_encryption_key_is_p256 && p_cb->role == HCI_ROLE_SLAVE) in smp_br_process_pairing_command()
853 if (p_dev_rec && (p_cb->role == HCI_ROLE_SLAVE)) in smp_br_process_pairing_command()
877 if (p_cb->role == HCI_ROLE_SLAVE) in smp_br_process_pairing_command()
933 if (p_cb->role == HCI_ROLE_MASTER) in smp_br_check_authorization_request()
949 if (p_cb->role == HCI_ROLE_MASTER && p_cb->local_r_key == 0) in smp_br_check_authorization_request()
967 __func__, p_cb->role, p_cb->local_r_key, p_cb->local_i_key); in smp_br_select_next_key()
969 if (p_cb->role == HCI_ROLE_SLAVE|| in smp_br_select_next_key()
970 (!p_cb->local_r_key && p_cb->role == HCI_ROLE_MASTER)) in smp_br_select_next_key()
1108 if (p_cb->role == HCI_ROLE_SLAVE) in smp_proc_compare()
1223 if (p_cb->role == HCI_ROLE_MASTER) in smp_check_auth_req()
1254 else if (p_cb->role == HCI_ROLE_MASTER) in smp_check_auth_req()
1267 UINT8 key_to_dist = (p_cb->role == HCI_ROLE_SLAVE) ? p_cb->local_r_key : p_cb->local_i_key; in smp_key_pick_key()
1292 __func__, p_cb->role, p_cb->local_r_key, p_cb->local_i_key); in smp_key_distribution()
1294 if (p_cb->role == HCI_ROLE_SLAVE || in smp_key_distribution()
1295 (!p_cb->local_r_key && p_cb->role == HCI_ROLE_MASTER)) in smp_key_distribution()
1337 if (p_cb->role == HCI_ROLE_MASTER && in smp_decide_association_model()
1549 if (p_cb->role == HCI_ROLE_SLAVE) in smp_both_have_public_keys()
1618 if (p_cb->role == HCI_ROLE_SLAVE) in smp_process_local_nonce()
1644 if (p_cb->role == HCI_ROLE_MASTER) in smp_process_local_nonce()
1659 if (p_cb->role == HCI_ROLE_MASTER) in smp_process_local_nonce()
1699 if (p_cb->role == HCI_ROLE_MASTER) in smp_process_peer_nonce()
1734 if (p_cb->role == HCI_ROLE_SLAVE) in smp_process_peer_nonce()
1750 if (p_cb->role == HCI_ROLE_SLAVE) in smp_process_peer_nonce()
1791 if (p_cb->role == HCI_ROLE_SLAVE) in smp_match_dhkey_checks()
1847 if ((p_cb->role == HCI_ROLE_SLAVE) && in smp_wait_for_both_public_keys()