Home
last modified time | relevance | path

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

/Linux-v5.10/net/bluetooth/
Dsmp.c729 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()
1018 if (hcon->pending_sec_level == BT_SECURITY_HIGH) in smp_random()
1135 if (hcon->pending_sec_level == BT_SECURITY_FIPS) in sc_add_ltk()
1817 if (sec_level > conn->hcon->pending_sec_level) in smp_cmd_pairing_req()
1818 conn->hcon->pending_sec_level = sec_level; in smp_cmd_pairing_req()
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()
[all …]
Dhci_conn.c1057 conn->pending_sec_level = sec_level; in hci_connect_le()
1206 if (conn->pending_sec_level < sec_level) in hci_connect_le_scan()
1207 conn->pending_sec_level = sec_level; in hci_connect_le_scan()
1226 conn->pending_sec_level = sec_level; in hci_connect_le_scan()
1262 acl->pending_sec_level = sec_level; in hci_connect_acl()
1359 if (conn->pending_sec_level > sec_level) in hci_conn_auth()
1360 sec_level = conn->pending_sec_level; in hci_conn_auth()
1363 conn->pending_sec_level = sec_level; in hci_conn_auth()
Dhci_event.c1971 if (conn->pending_sec_level == BT_SECURITY_SDP) in hci_outgoing_auth_needed()
1979 conn->pending_sec_level != BT_SECURITY_FIPS && in hci_outgoing_auth_needed()
1980 conn->pending_sec_level != BT_SECURITY_HIGH && in hci_outgoing_auth_needed()
1981 conn->pending_sec_level != BT_SECURITY_MEDIUM) in hci_outgoing_auth_needed()
2917 conn->sec_level = conn->pending_sec_level; in hci_auth_complete_evt()
3067 conn->sec_level = conn->pending_sec_level; in hci_encrypt_change_evt()
3945 if (conn->pending_sec_level == BT_SECURITY_HIGH) in hci_pin_code_request_evt()
3972 conn->pending_sec_level = BT_SECURITY_HIGH; in conn_set_key()
3974 conn->pending_sec_level = BT_SECURITY_MEDIUM; in conn_set_key()
3978 conn->pending_sec_level = BT_SECURITY_MEDIUM; in conn_set_key()
[all …]
Dl2cap_core.c1684 smp_conn_security(hcon, hcon->pending_sec_level); in l2cap_le_conn_ready()
Dmgmt.c2746 if (conn->pending_sec_level == BT_SECURITY_HIGH && cp->pin_len != 16) { in pin_code_reply()
/Linux-v5.10/include/net/bluetooth/
Dhci_core.h604 __u8 pending_sec_level; member
1495 if (conn->pending_sec_level > conn->sec_level) in hci_encrypt_cfm()
1496 conn->sec_level = conn->pending_sec_level; in hci_encrypt_cfm()