Home
last modified time | relevance | path

Searched refs:BT_SECURITY_HIGH (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.4/net/bluetooth/
Dsmp.h171 return BT_SECURITY_HIGH; in smp_ltk_sec_level()
Dsmp.c638 return BT_SECURITY_HIGH; in authreq_to_seclevel()
648 case BT_SECURITY_HIGH: in seclevel_to_authreq()
907 if (hcon->pending_sec_level < BT_SECURITY_HIGH) in tk_request()
908 hcon->pending_sec_level = BT_SECURITY_HIGH; in tk_request()
1017 if (hcon->pending_sec_level == BT_SECURITY_HIGH) in smp_random()
1292 authenticated = hcon->sec_level == BT_SECURITY_HIGH; in smp_distribute_keys()
1820 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_req()
1976 else if (conn->hcon->pending_sec_level > BT_SECURITY_HIGH) in smp_cmd_pairing_rsp()
1977 conn->hcon->pending_sec_level = BT_SECURITY_HIGH; in smp_cmd_pairing_rsp()
1980 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_rsp()
[all …]
Dhci_conn.c1368 sec_level == BT_SECURITY_HIGH) in hci_conn_security()
1420 if (sec_level != BT_SECURITY_HIGH && sec_level != BT_SECURITY_FIPS) in hci_conn_check_secure()
1424 if (conn->sec_level == BT_SECURITY_HIGH || in hci_conn_check_secure()
Dl2cap_sock.c444 case BT_SECURITY_HIGH: in l2cap_sock_getsockopt_old()
721 chan->sec_level = BT_SECURITY_HIGH; in l2cap_sock_setsockopt_old()
Dhci_event.c1913 conn->pending_sec_level != BT_SECURITY_HIGH && in hci_outgoing_auth_needed()
3826 if (conn->pending_sec_level == BT_SECURITY_HIGH) in hci_pin_code_request_evt()
3853 conn->pending_sec_level = BT_SECURITY_HIGH; in conn_set_key()
3862 conn->pending_sec_level = BT_SECURITY_HIGH; in conn_set_key()
3906 (conn->pending_sec_level == BT_SECURITY_HIGH || in hci_link_key_request_evt()
Dl2cap_core.c776 case BT_SECURITY_HIGH: in l2cap_get_auth_type()
790 if (chan->sec_level == BT_SECURITY_HIGH || in l2cap_get_auth_type()
801 if (chan->sec_level == BT_SECURITY_HIGH || in l2cap_get_auth_type()
810 case BT_SECURITY_HIGH: in l2cap_get_auth_type()
7481 } else if (chan->sec_level == BT_SECURITY_HIGH || in l2cap_check_encryption()
Dmgmt.c2687 if (conn->pending_sec_level == BT_SECURITY_HIGH && cp->pin_len != 16) { in pin_code_reply()
/Linux-v5.4/net/bluetooth/rfcomm/
Dsock.c677 rfcomm_pi(sk)->sec_level = BT_SECURITY_HIGH; in rfcomm_sock_setsockopt_old()
724 if (sec.level > BT_SECURITY_HIGH) { in rfcomm_sock_setsockopt()
784 case BT_SECURITY_HIGH: in rfcomm_sock_getsockopt_old()
Dcore.c220 case BT_SECURITY_HIGH: in rfcomm_check_security()
2124 } else if (d->sec_level == BT_SECURITY_HIGH || in rfcomm_security_cfm()
/Linux-v5.4/include/net/bluetooth/
Dbluetooth.h70 #define BT_SECURITY_HIGH 3 macro