Home
last modified time | relevance | path

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

/Linux-v5.15/net/bluetooth/
Dsmp.c728 if (conn->hcon->pending_sec_level == BT_SECURITY_FIPS && in check_enc_key_size()
908 if (hcon->pending_sec_level < BT_SECURITY_HIGH) in tk_request()
909 hcon->pending_sec_level = BT_SECURITY_HIGH; in tk_request()
1019 if (hcon->pending_sec_level == BT_SECURITY_HIGH) in smp_random()
1136 if (hcon->pending_sec_level == BT_SECURITY_FIPS) in sc_add_ltk()
1820 if (sec_level > conn->hcon->pending_sec_level) in smp_cmd_pairing_req()
1821 conn->hcon->pending_sec_level = sec_level; in smp_cmd_pairing_req()
1824 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_req()
1980 else if (conn->hcon->pending_sec_level > BT_SECURITY_HIGH) in smp_cmd_pairing_rsp()
1981 conn->hcon->pending_sec_level = BT_SECURITY_HIGH; in smp_cmd_pairing_rsp()
[all …]
Dhci_conn.c1103 conn->pending_sec_level = sec_level; in hci_connect_le()
1257 if (conn->pending_sec_level < sec_level) in hci_connect_le_scan()
1258 conn->pending_sec_level = sec_level; in hci_connect_le_scan()
1277 conn->pending_sec_level = sec_level; in hci_connect_le_scan()
1313 acl->pending_sec_level = sec_level; in hci_connect_acl()
1410 if (conn->pending_sec_level > sec_level) in hci_conn_auth()
1411 sec_level = conn->pending_sec_level; in hci_conn_auth()
1414 conn->pending_sec_level = sec_level; in hci_conn_auth()
Dhci_event.c2049 if (conn->pending_sec_level == BT_SECURITY_SDP) in hci_outgoing_auth_needed()
2057 conn->pending_sec_level != BT_SECURITY_FIPS && in hci_outgoing_auth_needed()
2058 conn->pending_sec_level != BT_SECURITY_HIGH && in hci_outgoing_auth_needed()
2059 conn->pending_sec_level != BT_SECURITY_MEDIUM) in hci_outgoing_auth_needed()
2996 conn->sec_level = conn->pending_sec_level; in hci_auth_complete_evt()
3146 conn->sec_level = conn->pending_sec_level; in hci_encrypt_change_evt()
4039 if (conn->pending_sec_level == BT_SECURITY_HIGH) in hci_pin_code_request_evt()
4066 conn->pending_sec_level = BT_SECURITY_HIGH; in conn_set_key()
4068 conn->pending_sec_level = BT_SECURITY_MEDIUM; in conn_set_key()
4072 conn->pending_sec_level = BT_SECURITY_MEDIUM; in conn_set_key()
[all …]
Dl2cap_core.c1692 smp_conn_security(hcon, hcon->pending_sec_level); in l2cap_le_conn_ready()
Dmgmt.c2754 if (conn->pending_sec_level == BT_SECURITY_HIGH && cp->pin_len != 16) { in pin_code_reply()
/Linux-v5.15/include/net/bluetooth/
Dhci_core.h647 __u8 pending_sec_level; member
1572 if (conn->pending_sec_level > conn->sec_level) in hci_encrypt_cfm()
1573 conn->sec_level = conn->pending_sec_level; in hci_encrypt_cfm()