Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/bluetooth/
Dsmp.h171 return BT_SECURITY_HIGH; in smp_ltk_sec_level()
Dsmp.c628 return BT_SECURITY_HIGH; in authreq_to_seclevel()
638 case BT_SECURITY_HIGH: in seclevel_to_authreq()
908 if (hcon->pending_sec_level < BT_SECURITY_HIGH) in tk_request()
909 hcon->pending_sec_level = BT_SECURITY_HIGH; in tk_request()
1018 if (hcon->pending_sec_level == BT_SECURITY_HIGH) in smp_random()
1293 authenticated = hcon->sec_level == BT_SECURITY_HIGH; in smp_distribute_keys()
1821 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_req()
1977 else if (conn->hcon->pending_sec_level > BT_SECURITY_HIGH) in smp_cmd_pairing_rsp()
1978 conn->hcon->pending_sec_level = BT_SECURITY_HIGH; in smp_cmd_pairing_rsp()
1981 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_rsp()
[all …]
Dhci_conn.c1439 sec_level == BT_SECURITY_HIGH) in hci_conn_security()
1491 if (sec_level != BT_SECURITY_HIGH && sec_level != BT_SECURITY_FIPS) in hci_conn_check_secure()
1495 if (conn->sec_level == BT_SECURITY_HIGH || in hci_conn_check_secure()
Dl2cap_sock.c519 case BT_SECURITY_HIGH: in l2cap_sock_getsockopt_old()
835 chan->sec_level = BT_SECURITY_HIGH; in l2cap_sock_setsockopt_old()
Dhci_event.c1980 conn->pending_sec_level != BT_SECURITY_HIGH && in hci_outgoing_auth_needed()
3948 if (conn->pending_sec_level == BT_SECURITY_HIGH) in hci_pin_code_request_evt()
3975 conn->pending_sec_level = BT_SECURITY_HIGH; in conn_set_key()
3984 conn->pending_sec_level = BT_SECURITY_HIGH; in conn_set_key()
4028 (conn->pending_sec_level == BT_SECURITY_HIGH || in hci_link_key_request_evt()
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()
8282 } else if (chan->sec_level == BT_SECURITY_HIGH || in l2cap_check_encryption()
Dmgmt.c2749 if (conn->pending_sec_level == BT_SECURITY_HIGH && cp->pin_len != 16) { in pin_code_reply()
/kernel/linux/linux-5.10/net/bluetooth/rfcomm/
Dsock.c649 rfcomm_pi(sk)->sec_level = BT_SECURITY_HIGH; in rfcomm_sock_setsockopt_old()
697 if (sec.level > BT_SECURITY_HIGH) { in rfcomm_sock_setsockopt()
757 case BT_SECURITY_HIGH: in rfcomm_sock_getsockopt_old()
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-5.10/include/net/bluetooth/
Dbluetooth.h72 #define BT_SECURITY_HIGH 3 macro