Searched refs:BT_SECURITY_HIGH (Results 1 – 10 of 10) sorted by relevance
170 return BT_SECURITY_HIGH; in smp_ltk_sec_level()
623 return BT_SECURITY_HIGH; in authreq_to_seclevel()633 case BT_SECURITY_HIGH: in seclevel_to_authreq()892 if (hcon->pending_sec_level < BT_SECURITY_HIGH) in tk_request()893 hcon->pending_sec_level = BT_SECURITY_HIGH; in tk_request()1010 if (hcon->pending_sec_level == BT_SECURITY_HIGH) in smp_random()1277 authenticated = hcon->sec_level == BT_SECURITY_HIGH; in smp_distribute_keys()1793 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_req()1947 else if (conn->hcon->pending_sec_level > BT_SECURITY_HIGH) in smp_cmd_pairing_rsp()1948 conn->hcon->pending_sec_level = BT_SECURITY_HIGH; in smp_cmd_pairing_rsp()1951 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_rsp()[all …]
1042 sec_level == BT_SECURITY_HIGH) in hci_conn_security()1086 if (sec_level != BT_SECURITY_HIGH && sec_level != BT_SECURITY_FIPS) in hci_conn_check_secure()1090 if (conn->sec_level == BT_SECURITY_HIGH || in hci_conn_check_secure()
443 case BT_SECURITY_HIGH: in l2cap_sock_getsockopt_old()720 chan->sec_level = BT_SECURITY_HIGH; in l2cap_sock_setsockopt_old()781 sec.level > BT_SECURITY_HIGH) { in l2cap_sock_setsockopt()
1648 conn->pending_sec_level != BT_SECURITY_HIGH && in hci_outgoing_auth_needed()3390 if (conn->pending_sec_level == BT_SECURITY_HIGH) in hci_pin_code_request_evt()3417 conn->pending_sec_level = BT_SECURITY_HIGH; in conn_set_key()3426 conn->pending_sec_level = BT_SECURITY_HIGH; in conn_set_key()3470 (conn->pending_sec_level == BT_SECURITY_HIGH || in hci_link_key_request_evt()
758 case BT_SECURITY_HIGH: in l2cap_get_auth_type()772 if (chan->sec_level == BT_SECURITY_HIGH || in l2cap_get_auth_type()783 if (chan->sec_level == BT_SECURITY_HIGH || in l2cap_get_auth_type()792 case BT_SECURITY_HIGH: in l2cap_get_auth_type()7345 } else if (chan->sec_level == BT_SECURITY_HIGH || in l2cap_check_encryption()
3218 if (conn->pending_sec_level == BT_SECURITY_HIGH && cp->pin_len != 16) { in pin_code_reply()
670 rfcomm_pi(sk)->sec_level = BT_SECURITY_HIGH; in rfcomm_sock_setsockopt_old()717 if (sec.level > BT_SECURITY_HIGH) { in rfcomm_sock_setsockopt()777 case BT_SECURITY_HIGH: in rfcomm_sock_getsockopt_old()
220 case BT_SECURITY_HIGH: in rfcomm_check_security()2141 } else if (d->sec_level == BT_SECURITY_HIGH || in rfcomm_security_cfm()
67 #define BT_SECURITY_HIGH 3 macro