Searched refs:BT_SECURITY_HIGH (Results 1 – 10 of 10) sorted by relevance
172 return BT_SECURITY_HIGH; in smp_ltk_sec_level()
628 return BT_SECURITY_HIGH; in authreq_to_seclevel()638 case BT_SECURITY_HIGH: in seclevel_to_authreq()909 if (hcon->pending_sec_level < BT_SECURITY_HIGH) in tk_request()910 hcon->pending_sec_level = BT_SECURITY_HIGH; in tk_request()1299 authenticated = hcon->sec_level == BT_SECURITY_HIGH; in smp_distribute_keys()1827 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_req()1987 else if (conn->hcon->pending_sec_level > BT_SECURITY_HIGH) in smp_cmd_pairing_rsp()1988 conn->hcon->pending_sec_level = BT_SECURITY_HIGH; in smp_cmd_pairing_rsp()1991 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_rsp()2542 authenticated = (hcon->sec_level == BT_SECURITY_HIGH); in smp_cmd_initiator_ident()
504 case BT_SECURITY_HIGH: in l2cap_sock_getsockopt_old()818 chan->sec_level = BT_SECURITY_HIGH; in l2cap_sock_setsockopt_old()
2520 if (sec_level <= BT_SECURITY_HIGH) in hci_conn_security()2577 if (sec_level != BT_SECURITY_HIGH && sec_level != BT_SECURITY_FIPS) in hci_conn_check_secure()2581 if (conn->sec_level == BT_SECURITY_HIGH || in hci_conn_check_secure()
865 case BT_SECURITY_HIGH: in l2cap_get_auth_type()879 if (chan->sec_level == BT_SECURITY_HIGH || in l2cap_get_auth_type()890 if (chan->sec_level == BT_SECURITY_HIGH || in l2cap_get_auth_type()900 case BT_SECURITY_HIGH: in l2cap_get_auth_type()7446 } else if (chan->sec_level == BT_SECURITY_HIGH || in l2cap_check_encryption()
2389 conn->pending_sec_level != BT_SECURITY_HIGH && in hci_outgoing_auth_needed()4626 if (conn->pending_sec_level == BT_SECURITY_HIGH) in hci_pin_code_request_evt()4653 conn->pending_sec_level = BT_SECURITY_HIGH; in conn_set_key()4662 conn->pending_sec_level = BT_SECURITY_HIGH; in conn_set_key()4705 (conn->pending_sec_level == BT_SECURITY_HIGH || in hci_link_key_request_evt()
3445 if (conn->pending_sec_level == BT_SECURITY_HIGH && cp->pin_len != 16) { in pin_code_reply()
647 rfcomm_pi(sk)->sec_level = BT_SECURITY_HIGH; in rfcomm_sock_setsockopt_old()692 if (sec.level > BT_SECURITY_HIGH) { in rfcomm_sock_setsockopt()752 case BT_SECURITY_HIGH: in rfcomm_sock_getsockopt_old()
220 case BT_SECURITY_HIGH: in rfcomm_check_security()2163 } else if (d->sec_level == BT_SECURITY_HIGH || in rfcomm_security_cfm()
76 #define BT_SECURITY_HIGH 3 macro