• Home
  • Raw
  • Download

Lines Matching refs:security_required

797       p_dev_rec->security_required = BTM_SEC_NONE;  in BTM_PINCodeReply()
933 p_dev_rec->security_required = BTM_SEC_OUT_AUTHENTICATE; in btm_sec_bond_by_transport()
1293 p_dev_rec->security_required |= in BTM_SetEncryption()
1301 p_dev_rec->security_required, p_dev_rec, p_callback); in BTM_SetEncryption()
1850 if ((p_dev_rec->security_required & mtm_check) /* needs MITM */ in btm_sec_is_upgrade_possible()
1940 uint16_t security_required; in btm_sec_l2cap_access_req() local
1978 security_required = btm_sec_set_serv_level4_flags( in btm_sec_l2cap_access_req()
1981 security_required = p_serv_rec->security_flags; in btm_sec_l2cap_access_req()
1986 __func__, security_required, is_originator, psm); in btm_sec_l2cap_access_req()
1988 if ((!is_originator) && (security_required & BTM_SEC_MODE4_LEVEL4)) { in btm_sec_l2cap_access_req()
2015 BTM_TRACE_EVENT("security_flags:x%x, sec_flags:x%x", security_required, in btm_sec_l2cap_access_req()
2028 if (((security_required & BTM_SEC_OUT_FLAGS) == 0) || in btm_sec_l2cap_access_req()
2029 ((((security_required & BTM_SEC_OUT_FLAGS) == in btm_sec_l2cap_access_req()
2032 ((((security_required & BTM_SEC_OUT_FLAGS) == in btm_sec_l2cap_access_req()
2035 ((((security_required & BTM_SEC_OUT_FLAGS) == BTM_SEC_OUT_FLAGS) && in btm_sec_l2cap_access_req()
2040 if (((security_required & BTM_SEC_IN_FLAGS) == 0) || in btm_sec_l2cap_access_req()
2041 (((security_required & BTM_SEC_IN_FLAGS) == in btm_sec_l2cap_access_req()
2044 (((security_required & BTM_SEC_IN_FLAGS) == in btm_sec_l2cap_access_req()
2047 (((security_required & BTM_SEC_IN_FLAGS) == BTM_SEC_IN_AUTHORIZE) && in btm_sec_l2cap_access_req()
2050 (((security_required & BTM_SEC_IN_FLAGS) == in btm_sec_l2cap_access_req()
2055 (((security_required & BTM_SEC_IN_FLAGS) == in btm_sec_l2cap_access_req()
2060 (((security_required & BTM_SEC_IN_FLAGS) == BTM_SEC_IN_FLAGS) && in btm_sec_l2cap_access_req()
2065 if (((security_required & BTM_SEC_IN_MIN_16_DIGIT_PIN) == 0) || in btm_sec_l2cap_access_req()
2066 (((security_required & BTM_SEC_IN_MIN_16_DIGIT_PIN) == in btm_sec_l2cap_access_req()
2074 if ((rc == BTM_SUCCESS) && (security_required & BTM_SEC_MODE4_LEVEL4) && in btm_sec_l2cap_access_req()
2100 security_required |= (BTM_SEC_OUT_AUTHENTICATE | BTM_SEC_OUT_ENCRYPT); in btm_sec_l2cap_access_req()
2107 security_required |= (BTM_SEC_IN_AUTHENTICATE | BTM_SEC_IN_ENCRYPT); in btm_sec_l2cap_access_req()
2122 p_dev_rec->sm4, p_dev_rec->sec_flags, security_required, in btm_sec_l2cap_access_req()
2125 old_security_required = p_dev_rec->security_required; in btm_sec_l2cap_access_req()
2127 p_dev_rec->security_required = security_required; in btm_sec_l2cap_access_req()
2141 p_dev_rec->security_required = old_security_required; in btm_sec_l2cap_access_req()
2165 p_dev_rec->security_required = old_security_required; in btm_sec_l2cap_access_req()
2215 if ((p_dev_rec->security_required & BTM_SEC_MODE4_LEVEL4) && in btm_sec_l2cap_access_req()
2236 p_dev_rec->security_required, p_dev_rec->p_cur_service->service_id); in btm_sec_l2cap_access_req()
2280 uint16_t security_required; in btm_sec_mx_access_request() local
2306 security_required = btm_sec_set_serv_level4_flags( in btm_sec_mx_access_request()
2309 security_required = p_serv_rec->security_flags; in btm_sec_mx_access_request()
2333 if (((security_required & BTM_SEC_OUT_FLAGS) == 0) || in btm_sec_mx_access_request()
2334 ((((security_required & BTM_SEC_OUT_FLAGS) == in btm_sec_mx_access_request()
2337 ((((security_required & BTM_SEC_OUT_FLAGS) == in btm_sec_mx_access_request()
2343 if (((security_required & BTM_SEC_IN_FLAGS) == 0) || in btm_sec_mx_access_request()
2344 ((((security_required & BTM_SEC_IN_FLAGS) == in btm_sec_mx_access_request()
2347 (((security_required & BTM_SEC_IN_FLAGS) == BTM_SEC_IN_AUTHORIZE) && in btm_sec_mx_access_request()
2350 (((security_required & BTM_SEC_IN_FLAGS) == in btm_sec_mx_access_request()
2355 (((security_required & BTM_SEC_IN_FLAGS) == in btm_sec_mx_access_request()
2360 ((((security_required & BTM_SEC_IN_FLAGS) == in btm_sec_mx_access_request()
2364 if (((security_required & BTM_SEC_IN_MIN_16_DIGIT_PIN) == 0) || in btm_sec_mx_access_request()
2365 (((security_required & BTM_SEC_IN_MIN_16_DIGIT_PIN) == in btm_sec_mx_access_request()
2372 if ((rc == BTM_SUCCESS) && (security_required & BTM_SEC_MODE4_LEVEL4) && in btm_sec_mx_access_request()
2416 if ((!is_originator) && ((security_required & BTM_SEC_MODE4_LEVEL4) || in btm_sec_mx_access_request()
2438 p_dev_rec->security_required = security_required; in btm_sec_mx_access_request()
2444 if ((p_dev_rec->security_required & BTM_SEC_MODE4_LEVEL4) && in btm_sec_mx_access_request()
2478 p_dev_rec->sec_flags, p_dev_rec->security_required, in btm_sec_mx_access_request()
2593 if (p_dev_rec != NULL) p_dev_rec->security_required = BTM_SEC_NONE; in btm_sec_bond_cancel_complete()
3045 if (!(p_dev_rec->security_required & BTM_SEC_OUT_AUTHENTICATE)) { in btm_sec_rmt_name_request_complete()
3057 p_dev_rec->security_required &= ~(BTM_SEC_OUT_AUTHENTICATE); in btm_sec_rmt_name_request_complete()
3818 p_dev_rec->security_required &= ~BTM_SEC_OUT_AUTHENTICATE; in btm_sec_auth_complete()
3869 p_dev_rec->security_required &= ~BTM_SEC_OUT_AUTHENTICATE; in btm_sec_auth_complete()
4269 p_dev_rec->security_required &= ~BTM_SEC_OUT_AUTHENTICATE; in btm_sec_connected()
4272 BTM_TRACE_DEBUG("security_required:%x ", p_dev_rec->security_required); in btm_sec_connected()
4298 p_dev_rec->security_required &= ~BTM_SEC_OUT_AUTHENTICATE; in btm_sec_connected()
4344 p_dev_rec->security_required &= ~BTM_SEC_OUT_AUTHENTICATE; in btm_sec_connected()
4498 << p_dev_rec->security_required; in btm_sec_disconnected()
4578 p_dev_rec->security_required = BTM_SEC_NONE; in btm_sec_disconnected()
4686 if (!(p_dev_rec->security_required & BTM_SEC_OUT_AUTHENTICATE) in btm_sec_link_key_notification()
5044 p_dev_rec->security_required, p_dev_rec->sec_flags, p_dev_rec->sec_state); in btm_sec_execute_procedure()
5063 (p_dev_rec->security_required & BTM_SEC_OUT_AUTHENTICATE)) || in btm_sec_execute_procedure()
5065 (p_dev_rec->security_required & BTM_SEC_IN_AUTHENTICATE)))) || in btm_sec_execute_procedure()
5068 (p_dev_rec->security_required & BTM_SEC_IN_MIN_16_DIGIT_PIN)))) && in btm_sec_execute_procedure()
5093 (p_dev_rec->security_required & BTM_SEC_IN_MIN_16_DIGIT_PIN)))) { in btm_sec_execute_procedure()
5107 (p_dev_rec->security_required & BTM_SEC_OUT_ENCRYPT)) || in btm_sec_execute_procedure()
5109 (p_dev_rec->security_required & BTM_SEC_IN_ENCRYPT))) && in btm_sec_execute_procedure()
5118 if ((p_dev_rec->security_required & BTM_SEC_MODE4_LEVEL4) && in btm_sec_execute_procedure()
5130 (p_dev_rec->security_required & BTM_SEC_OUT_AUTHORIZE)) || in btm_sec_execute_procedure()
5132 (p_dev_rec->security_required & BTM_SEC_IN_AUTHORIZE)))) { in btm_sec_execute_procedure()
5147 p_dev_rec->security_required &= in btm_sec_execute_procedure()