• Home
  • Raw
  • Download

Lines Matching refs:security_required

897             p_dev_rec->security_required = BTM_SEC_NONE;  in BTM_PINCodeReply()
1029 p_dev_rec->security_required = BTM_SEC_OUT_AUTHENTICATE; in btm_sec_bond_by_transport()
1418 p_dev_rec->security_required |= (BTM_SEC_IN_AUTHENTICATE | BTM_SEC_IN_ENCRYPT); in BTM_SetEncryption()
1423 p_dev_rec->security_required); in BTM_SetEncryption()
2019 if ((p_dev_rec->security_required & mtm_check) /* needs MITM */ in btm_sec_is_upgrade_possible()
2109 UINT16 security_required; in btm_sec_l2cap_access_req() local
2157 security_required = btm_sec_set_serv_level4_flags (p_serv_rec->ucd_security_flags, in btm_sec_l2cap_access_req()
2162 security_required = p_serv_rec->ucd_security_flags; in btm_sec_l2cap_access_req()
2168 if (((security_required & BTM_SEC_OUT_FLAGS) == 0) || in btm_sec_l2cap_access_req()
2169 …((((security_required & BTM_SEC_OUT_FLAGS) == BTM_SEC_OUT_AUTHENTICATE) && (p_dev_rec->sec_flags &… in btm_sec_l2cap_access_req()
2170 …((((security_required & BTM_SEC_OUT_FLAGS) == (BTM_SEC_OUT_AUTHENTICATE | BTM_SEC_OUT_ENCRYPT)) &&… in btm_sec_l2cap_access_req()
2171 …((((security_required & BTM_SEC_OUT_FLAGS) == BTM_SEC_OUT_FLAGS) && (p_dev_rec->sec_flags & BTM_SE… in btm_sec_l2cap_access_req()
2178 if (((security_required & BTM_SEC_IN_FLAGS) == 0) || in btm_sec_l2cap_access_req()
2179 …((((security_required & BTM_SEC_IN_FLAGS) == BTM_SEC_IN_AUTHENTICATE) && (p_dev_rec->sec_flags & B… in btm_sec_l2cap_access_req()
2180 …((((security_required & BTM_SEC_IN_FLAGS) == (BTM_SEC_IN_AUTHENTICATE | BTM_SEC_IN_ENCRYPT)) && (p… in btm_sec_l2cap_access_req()
2181 …((((security_required & BTM_SEC_IN_FLAGS) == BTM_SEC_IN_FLAGS) && (p_dev_rec->sec_flags & BTM_SEC_… in btm_sec_l2cap_access_req()
2184 if (((security_required & BTM_SEC_IN_MIN_16_DIGIT_PIN) == 0) || in btm_sec_l2cap_access_req()
2185 … (((security_required & BTM_SEC_IN_MIN_16_DIGIT_PIN) == BTM_SEC_IN_MIN_16_DIGIT_PIN) && in btm_sec_l2cap_access_req()
2192 if ((rc == BTM_SUCCESS) && (security_required & BTM_SEC_MODE4_LEVEL4) && in btm_sec_l2cap_access_req()
2211 security_required = btm_sec_set_serv_level4_flags (p_serv_rec->security_flags, in btm_sec_l2cap_access_req()
2216 security_required = p_serv_rec->security_flags; in btm_sec_l2cap_access_req()
2221 __FUNCTION__, security_required, is_originator, psm); in btm_sec_l2cap_access_req()
2223 if ((!is_originator) && (security_required & BTM_SEC_MODE4_LEVEL4)) in btm_sec_l2cap_access_req()
2247 … BTM_TRACE_EVENT ("security_flags:x%x, sec_flags:x%x", security_required, p_dev_rec->sec_flags); in btm_sec_l2cap_access_req()
2260 if (((security_required & BTM_SEC_OUT_FLAGS) == 0) || in btm_sec_l2cap_access_req()
2261 …((((security_required & BTM_SEC_OUT_FLAGS) == BTM_SEC_OUT_AUTHENTICATE) && btm_dev_authenticated(p… in btm_sec_l2cap_access_req()
2262 …((((security_required & BTM_SEC_OUT_FLAGS) == (BTM_SEC_OUT_AUTHENTICATE | BTM_SEC_OUT_ENCRYPT)) &&… in btm_sec_l2cap_access_req()
2263 …((((security_required & BTM_SEC_OUT_FLAGS) == BTM_SEC_OUT_FLAGS) && btm_dev_authorized(p_dev_rec) … in btm_sec_l2cap_access_req()
2270 if (((security_required & BTM_SEC_IN_FLAGS) == 0) || in btm_sec_l2cap_access_req()
2271 …(((security_required & BTM_SEC_IN_FLAGS) == BTM_SEC_IN_AUTHENTICATE) && btm_dev_authenticated(p_de… in btm_sec_l2cap_access_req()
2272 …(((security_required & BTM_SEC_IN_FLAGS) == (BTM_SEC_IN_AUTHENTICATE | BTM_SEC_IN_ENCRYPT)) && btm… in btm_sec_l2cap_access_req()
2273 …(((security_required & BTM_SEC_IN_FLAGS) == BTM_SEC_IN_AUTHORIZE) && (btm_dev_authorized(p_dev_rec… in btm_sec_l2cap_access_req()
2274 …(((security_required & BTM_SEC_IN_FLAGS) == (BTM_SEC_IN_AUTHENTICATE | BTM_SEC_IN_AUTHORIZE)) && (… in btm_sec_l2cap_access_req()
2275 …(((security_required & BTM_SEC_IN_FLAGS) == (BTM_SEC_IN_ENCRYPT | BTM_SEC_IN_AUTHORIZE)) && ((btm_… in btm_sec_l2cap_access_req()
2276 …(((security_required & BTM_SEC_IN_FLAGS) == BTM_SEC_IN_FLAGS) && btm_dev_encrypted(p_dev_rec) && … in btm_sec_l2cap_access_req()
2279 if (((security_required & BTM_SEC_IN_MIN_16_DIGIT_PIN) == 0) || in btm_sec_l2cap_access_req()
2280 …(((security_required & BTM_SEC_IN_MIN_16_DIGIT_PIN) == BTM_SEC_IN_MIN_16_DIGIT_PIN) && btm_dev_16_… in btm_sec_l2cap_access_req()
2286 if ((rc == BTM_SUCCESS) && (security_required & BTM_SEC_MODE4_LEVEL4) && in btm_sec_l2cap_access_req()
2317 security_required |= (BTM_SEC_OUT_AUTHENTICATE | BTM_SEC_OUT_ENCRYPT); in btm_sec_l2cap_access_req()
2324 security_required |= (BTM_SEC_IN_AUTHENTICATE | BTM_SEC_IN_ENCRYPT); in btm_sec_l2cap_access_req()
2339 p_dev_rec->sm4, p_dev_rec->sec_flags, security_required, chk_acp_auth_done); in btm_sec_l2cap_access_req()
2341 old_security_required = p_dev_rec->security_required; in btm_sec_l2cap_access_req()
2343 p_dev_rec->security_required = security_required; in btm_sec_l2cap_access_req()
2368 p_dev_rec->security_required = old_security_required; in btm_sec_l2cap_access_req()
2389 p_dev_rec->security_required = old_security_required; in btm_sec_l2cap_access_req()
2435 if ((p_dev_rec->security_required & BTM_SEC_MODE4_LEVEL4) && in btm_sec_l2cap_access_req()
2456 p_dev_rec->security_required, p_dev_rec->p_cur_service->service_id); in btm_sec_l2cap_access_req()
2497 UINT16 security_required; in btm_sec_mx_access_request() local
2520 security_required = btm_sec_set_serv_level4_flags (p_serv_rec->security_flags, in btm_sec_mx_access_request()
2525 security_required = p_serv_rec->security_flags; in btm_sec_mx_access_request()
2548 if (((security_required & BTM_SEC_OUT_FLAGS) == 0) || in btm_sec_mx_access_request()
2549 …((((security_required & BTM_SEC_OUT_FLAGS) == BTM_SEC_OUT_AUTHENTICATE) && btm_dev_authenticated(p… in btm_sec_mx_access_request()
2550 …((((security_required & BTM_SEC_OUT_FLAGS) == (BTM_SEC_OUT_AUTHENTICATE | BTM_SEC_OUT_ENCRYPT)) &&… in btm_sec_mx_access_request()
2558 if (((security_required & BTM_SEC_IN_FLAGS) == 0) || in btm_sec_mx_access_request()
2559 …((((security_required & BTM_SEC_IN_FLAGS) == BTM_SEC_IN_AUTHENTICATE) && btm_dev_authenticated(p_d… in btm_sec_mx_access_request()
2560 …(((security_required & BTM_SEC_IN_FLAGS) == BTM_SEC_IN_AUTHORIZE) && (btm_dev_authorized(p_dev_rec… in btm_sec_mx_access_request()
2561 …(((security_required & BTM_SEC_IN_FLAGS) == (BTM_SEC_IN_AUTHORIZE | BTM_SEC_IN_AUTHENTICATE)) && (… in btm_sec_mx_access_request()
2562 …(((security_required & BTM_SEC_IN_FLAGS) == (BTM_SEC_IN_AUTHORIZE | BTM_SEC_IN_ENCRYPT)) && ((btm_… in btm_sec_mx_access_request()
2563 …((((security_required & BTM_SEC_IN_FLAGS) == (BTM_SEC_IN_AUTHENTICATE | BTM_SEC_IN_ENCRYPT)) && bt… in btm_sec_mx_access_request()
2567 if (((security_required & BTM_SEC_IN_MIN_16_DIGIT_PIN) == 0) || in btm_sec_mx_access_request()
2568 …(((security_required & BTM_SEC_IN_MIN_16_DIGIT_PIN) == BTM_SEC_IN_MIN_16_DIGIT_PIN) && btm_dev_16_… in btm_sec_mx_access_request()
2573 if ((rc == BTM_SUCCESS) && (security_required & BTM_SEC_MODE4_LEVEL4) && in btm_sec_mx_access_request()
2620 if ((!is_originator) && ((security_required & BTM_SEC_MODE4_LEVEL4) || in btm_sec_mx_access_request()
2641 p_dev_rec->security_required = security_required; in btm_sec_mx_access_request()
2649 if ((p_dev_rec->security_required & BTM_SEC_MODE4_LEVEL4) && in btm_sec_mx_access_request()
2682 p_dev_rec->security_required, p_dev_rec->p_cur_service->service_id); in btm_sec_mx_access_request()
2802 p_dev_rec->security_required = BTM_SEC_NONE; in btm_sec_bond_cancel_complete()
3252 if (!(p_dev_rec->security_required & BTM_SEC_OUT_AUTHENTICATE)) in btm_sec_rmt_name_request_complete()
3267 p_dev_rec->security_required &= ~(BTM_SEC_OUT_AUTHENTICATE); in btm_sec_rmt_name_request_complete()
4024 p_dev_rec->security_required &= ~BTM_SEC_OUT_AUTHENTICATE; in btm_sec_auth_complete()
4085 p_dev_rec->security_required &= ~BTM_SEC_OUT_AUTHENTICATE; in btm_sec_auth_complete()
4543 p_dev_rec->security_required &= ~BTM_SEC_OUT_AUTHENTICATE; in btm_sec_connected()
4545 BTM_TRACE_DEBUG ("security_required:%x ", p_dev_rec->security_required ); in btm_sec_connected()
4573 p_dev_rec->security_required &= ~BTM_SEC_OUT_AUTHENTICATE; in btm_sec_connected()
4613 p_dev_rec->security_required &= ~BTM_SEC_OUT_AUTHENTICATE; in btm_sec_connected()
4763 …" remote_name:%s", __func__, p_dev_rec->security_required, btm_pair_state_descr(btm_cb.pairing_st… in btm_sec_disconnected()
4820 p_dev_rec->security_required = BTM_SEC_NONE; in btm_sec_disconnected()
4943 if (!(p_dev_rec->security_required & BTM_SEC_OUT_AUTHENTICATE) in btm_sec_link_key_notification()
5334 p_dev_rec->security_required, p_dev_rec->sec_flags, p_dev_rec->sec_state); in btm_sec_execute_procedure()
5355 && (( p_dev_rec->is_originator && (p_dev_rec->security_required & BTM_SEC_OUT_AUTHENTICATE)) in btm_sec_execute_procedure()
5356 … || (!p_dev_rec->is_originator && (p_dev_rec->security_required & BTM_SEC_IN_AUTHENTICATE)))) in btm_sec_execute_procedure()
5359 && (p_dev_rec->security_required & BTM_SEC_IN_MIN_16_DIGIT_PIN)))) in btm_sec_execute_procedure()
5390 && (!p_dev_rec->is_originator && (p_dev_rec->security_required in btm_sec_execute_procedure()
5406 && (( p_dev_rec->is_originator && (p_dev_rec->security_required & BTM_SEC_OUT_ENCRYPT)) in btm_sec_execute_procedure()
5407 || (!p_dev_rec->is_originator && (p_dev_rec->security_required & BTM_SEC_IN_ENCRYPT))) in btm_sec_execute_procedure()
5425 if ((p_dev_rec->security_required & BTM_SEC_MODE4_LEVEL4) && in btm_sec_execute_procedure()
5436 && (( p_dev_rec->is_originator && (p_dev_rec->security_required & BTM_SEC_OUT_AUTHORIZE)) in btm_sec_execute_procedure()
5437 … || (!p_dev_rec->is_originator && (p_dev_rec->security_required & BTM_SEC_IN_AUTHORIZE)))) in btm_sec_execute_procedure()
5454 p_dev_rec->security_required &= ~(BTM_SEC_OUT_AUTHORIZE | BTM_SEC_IN_AUTHORIZE | in btm_sec_execute_procedure()