Home
last modified time | relevance | path

Searched refs:pending_sec_level (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/net/bluetooth/
Dsmp.c730 if (conn->hcon->pending_sec_level == BT_SECURITY_FIPS && in check_enc_key_size()
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()
1143 if (hcon->pending_sec_level == BT_SECURITY_FIPS) in sc_add_ltk()
1827 if (sec_level > conn->hcon->pending_sec_level) in smp_cmd_pairing_req()
1828 conn->hcon->pending_sec_level = sec_level; in smp_cmd_pairing_req()
1831 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()
[all …]
Dhci_conn.c1388 conn->pending_sec_level = sec_level; in hci_connect_le()
1586 if (conn->pending_sec_level < sec_level) in hci_connect_le_scan()
1587 conn->pending_sec_level = sec_level; in hci_connect_le_scan()
1606 conn->pending_sec_level = sec_level; in hci_connect_le_scan()
1651 acl->pending_sec_level = sec_level; in hci_connect_acl()
2357 if (conn->pending_sec_level > sec_level) in hci_conn_auth()
2358 sec_level = conn->pending_sec_level; in hci_conn_auth()
2361 conn->pending_sec_level = sec_level; in hci_conn_auth()
Dhci_event.c2445 if (conn->pending_sec_level == BT_SECURITY_SDP) in hci_outgoing_auth_needed()
2453 conn->pending_sec_level != BT_SECURITY_FIPS && in hci_outgoing_auth_needed()
2454 conn->pending_sec_level != BT_SECURITY_HIGH && in hci_outgoing_auth_needed()
2455 conn->pending_sec_level != BT_SECURITY_MEDIUM) in hci_outgoing_auth_needed()
3493 conn->sec_level = conn->pending_sec_level; in hci_auth_complete_evt()
3604 conn->sec_level = conn->pending_sec_level; in hci_encrypt_change_evt()
4638 if (conn->pending_sec_level == BT_SECURITY_HIGH) in hci_pin_code_request_evt()
4665 conn->pending_sec_level = BT_SECURITY_HIGH; in conn_set_key()
4667 conn->pending_sec_level = BT_SECURITY_MEDIUM; in conn_set_key()
4671 conn->pending_sec_level = BT_SECURITY_MEDIUM; in conn_set_key()
[all …]
Dl2cap_core.c1719 smp_conn_security(hcon, hcon->pending_sec_level); in l2cap_le_conn_ready()
Dmgmt.c3305 if (conn->pending_sec_level == BT_SECURITY_HIGH && cp->pin_len != 16) { in pin_code_reply()
/Linux-v6.6/include/net/bluetooth/
Dhci_core.h714 __u8 pending_sec_level; member
2004 if (conn->pending_sec_level > conn->sec_level) in hci_encrypt_cfm()
2005 conn->sec_level = conn->pending_sec_level; in hci_encrypt_cfm()