Home
last modified time | relevance | path

Searched refs:BT_SECURITY_HIGH (Results 1 - 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/net/bluetooth/
H A Dsmp.h171 return BT_SECURITY_HIGH; in smp_ltk_sec_level()
H A Dsmp.c628 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()
1020 if (hcon->pending_sec_level == BT_SECURITY_HIGH) in smp_random()
1302 authenticated = hcon->sec_level == BT_SECURITY_HIGH; in smp_distribute_keys()
1832 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_req()
1988 else if (conn->hcon->pending_sec_level > BT_SECURITY_HIGH) in smp_cmd_pairing_rsp()
1989 conn->hcon->pending_sec_level = BT_SECURITY_HIGH; in smp_cmd_pairing_rsp()
1992 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_rsp()
[all...]
H A Dhci_conn.c1446 if (sec_level <= BT_SECURITY_HIGH) in hci_conn_security()
1503 if (sec_level != BT_SECURITY_HIGH && sec_level != BT_SECURITY_FIPS) in hci_conn_check_secure()
1507 if (conn->sec_level == BT_SECURITY_HIGH || in hci_conn_check_secure()
H A Dhci_event.c1983 conn->pending_sec_level != BT_SECURITY_HIGH && in hci_outgoing_auth_needed()
3954 if (conn->pending_sec_level == BT_SECURITY_HIGH) in hci_pin_code_request_evt()
3981 conn->pending_sec_level = BT_SECURITY_HIGH; in conn_set_key()
3990 conn->pending_sec_level = BT_SECURITY_HIGH; in conn_set_key()
4034 (conn->pending_sec_level == BT_SECURITY_HIGH || in hci_link_key_request_evt()
H A Dl2cap_sock.c520 case BT_SECURITY_HIGH: in l2cap_sock_getsockopt_old()
836 chan->sec_level = BT_SECURITY_HIGH; in l2cap_sock_setsockopt_old()
H A Dl2cap_core.c876 case BT_SECURITY_HIGH: in l2cap_get_auth_type()
890 if (chan->sec_level == BT_SECURITY_HIGH || in l2cap_get_auth_type()
901 if (chan->sec_level == BT_SECURITY_HIGH || in l2cap_get_auth_type()
911 case BT_SECURITY_HIGH: in l2cap_get_auth_type()
8323 } else if (chan->sec_level == BT_SECURITY_HIGH || in l2cap_check_encryption()
H A Dmgmt.c2750 if (conn->pending_sec_level == BT_SECURITY_HIGH && cp->pin_len != 16) { in pin_code_reply()
/kernel/linux/linux-6.6/net/bluetooth/
H A Dsmp.h171 return BT_SECURITY_HIGH; in smp_ltk_sec_level()
H A Dsmp.c629 return BT_SECURITY_HIGH; in authreq_to_seclevel()
639 case BT_SECURITY_HIGH: in seclevel_to_authreq()
910 if (hcon->pending_sec_level < BT_SECURITY_HIGH) in tk_request()
911 hcon->pending_sec_level = BT_SECURITY_HIGH; in tk_request()
1021 if (hcon->pending_sec_level == BT_SECURITY_HIGH) in smp_random()
1308 authenticated = hcon->sec_level == BT_SECURITY_HIGH; in smp_distribute_keys()
1838 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_req()
1994 else if (conn->hcon->pending_sec_level > BT_SECURITY_HIGH) in smp_cmd_pairing_rsp()
1995 conn->hcon->pending_sec_level = BT_SECURITY_HIGH; in smp_cmd_pairing_rsp()
1998 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_rsp()
[all...]
H A Dhci_conn.c2437 if (sec_level <= BT_SECURITY_HIGH) in hci_conn_security()
2494 if (sec_level != BT_SECURITY_HIGH && sec_level != BT_SECURITY_FIPS) in hci_conn_check_secure()
2498 if (conn->sec_level == BT_SECURITY_HIGH || in hci_conn_check_secure()
H A Dl2cap_sock.c502 case BT_SECURITY_HIGH: in l2cap_sock_getsockopt_old()
818 chan->sec_level = BT_SECURITY_HIGH; in l2cap_sock_setsockopt_old()
H A Dhci_event.c2468 conn->pending_sec_level != BT_SECURITY_HIGH && in hci_outgoing_auth_needed()
4643 if (conn->pending_sec_level == BT_SECURITY_HIGH) in hci_pin_code_request_evt()
4670 conn->pending_sec_level = BT_SECURITY_HIGH; in conn_set_key()
4679 conn->pending_sec_level = BT_SECURITY_HIGH; in conn_set_key()
4722 (conn->pending_sec_level == BT_SECURITY_HIGH || in hci_link_key_request_evt()
H A Dl2cap_core.c840 case BT_SECURITY_HIGH: in l2cap_get_auth_type()
854 if (chan->sec_level == BT_SECURITY_HIGH || in l2cap_get_auth_type()
865 if (chan->sec_level == BT_SECURITY_HIGH || in l2cap_get_auth_type()
875 case BT_SECURITY_HIGH: in l2cap_get_auth_type()
7303 } else if (chan->sec_level == BT_SECURITY_HIGH || in l2cap_check_encryption()
H A Dmgmt.c3239 if (conn->pending_sec_level == BT_SECURITY_HIGH && cp->pin_len != 16) { in pin_code_reply()
/kernel/linux/linux-5.10/net/bluetooth/rfcomm/
H A Dsock.c649 rfcomm_pi(sk)->sec_level = BT_SECURITY_HIGH; in rfcomm_sock_setsockopt_old()
694 if (sec.level > BT_SECURITY_HIGH) { in rfcomm_sock_setsockopt()
753 case BT_SECURITY_HIGH: in rfcomm_sock_getsockopt_old()
H A Dcore.c216 case BT_SECURITY_HIGH: in rfcomm_check_security()
2158 } else if (d->sec_level == BT_SECURITY_HIGH || in rfcomm_security_cfm()
/kernel/linux/linux-6.6/net/bluetooth/rfcomm/
H A Dsock.c647 rfcomm_pi(sk)->sec_level = BT_SECURITY_HIGH; in rfcomm_sock_setsockopt_old()
695 if (sec.level > BT_SECURITY_HIGH) { in rfcomm_sock_setsockopt()
755 case BT_SECURITY_HIGH: in rfcomm_sock_getsockopt_old()
H A Dcore.c220 case BT_SECURITY_HIGH: in rfcomm_check_security()
2162 } else if (d->sec_level == BT_SECURITY_HIGH || in rfcomm_security_cfm()
/kernel/linux/linux-5.10/include/net/bluetooth/
H A Dbluetooth.h72 #define BT_SECURITY_HIGH 3 macro
/kernel/linux/linux-6.6/include/net/bluetooth/
H A Dbluetooth.h75 #define BT_SECURITY_HIGH 3 macro

Completed in 75 milliseconds