Home
last modified time | relevance | path

Searched refs:pending_sec_level (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/net/bluetooth/
H A Dsmp.c729 if (conn->hcon->pending_sec_level == BT_SECURITY_FIPS && in check_enc_key_size()
909 if (hcon->pending_sec_level < BT_SECURITY_HIGH) in tk_request()
910 hcon->pending_sec_level = BT_SECURITY_HIGH; in tk_request()
1020 if (hcon->pending_sec_level == BT_SECURITY_HIGH) in smp_random()
1144 if (hcon->pending_sec_level == BT_SECURITY_FIPS) in sc_add_ltk()
1828 if (sec_level > conn->hcon->pending_sec_level) in smp_cmd_pairing_req()
1829 conn->hcon->pending_sec_level = sec_level; in smp_cmd_pairing_req()
1832 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_req()
1988 else if (conn->hcon->pending_sec_level > BT_SECURITY_HIGH) in smp_cmd_pairing_rsp()
1989 conn->hcon->pending_sec_level in smp_cmd_pairing_rsp()
[all...]
H A Dhci_conn.c1057 conn->pending_sec_level = sec_level; in hci_connect_le()
1201 * attempt, we simply update pending_sec_level and auth_type fields in hci_connect_le_scan()
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()
1271 acl->pending_sec_level = sec_level; in hci_connect_acl()
1368 if (conn->pending_sec_level > sec_level) in hci_conn_auth()
1369 sec_level = conn->pending_sec_level; in hci_conn_auth()
1372 conn->pending_sec_level = sec_level; in hci_conn_auth()
H A Dhci_event.c1974 if (conn->pending_sec_level == BT_SECURITY_SDP) in hci_outgoing_auth_needed()
1982 conn->pending_sec_level != BT_SECURITY_FIPS && in hci_outgoing_auth_needed()
1983 conn->pending_sec_level != BT_SECURITY_HIGH && in hci_outgoing_auth_needed()
1984 conn->pending_sec_level != BT_SECURITY_MEDIUM) in hci_outgoing_auth_needed()
2928 conn->sec_level = conn->pending_sec_level; in hci_auth_complete_evt()
3076 conn->sec_level = conn->pending_sec_level; in hci_encrypt_change_evt()
3954 if (conn->pending_sec_level == BT_SECURITY_HIGH) in hci_pin_code_request_evt()
3981 conn->pending_sec_level = BT_SECURITY_HIGH; in conn_set_key()
3983 conn->pending_sec_level = BT_SECURITY_MEDIUM; in conn_set_key()
3987 conn->pending_sec_level in conn_set_key()
[all...]
H A Dmgmt.c2750 if (conn->pending_sec_level == BT_SECURITY_HIGH && cp->pin_len != 16) { in pin_code_reply()
H A Dl2cap_core.c1718 smp_conn_security(hcon, hcon->pending_sec_level); in l2cap_le_conn_ready()
/kernel/linux/linux-6.6/net/bluetooth/
H A 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()
1150 if (hcon->pending_sec_level == BT_SECURITY_FIPS) in sc_add_ltk()
1834 if (sec_level > conn->hcon->pending_sec_level) in smp_cmd_pairing_req()
1835 conn->hcon->pending_sec_level = sec_level; in smp_cmd_pairing_req()
1838 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_req()
1994 else if (conn->hcon->pending_sec_level > BT_SECURITY_HIGH) in smp_cmd_pairing_rsp()
1995 conn->hcon->pending_sec_level in smp_cmd_pairing_rsp()
[all...]
H A Dhci_conn.c1390 conn->pending_sec_level = sec_level; in hci_connect_le()
1583 * attempt, we simply update pending_sec_level and auth_type fields in hci_connect_le_scan()
1588 if (conn->pending_sec_level < sec_level) in hci_connect_le_scan()
1589 conn->pending_sec_level = sec_level; in hci_connect_le_scan()
1608 conn->pending_sec_level = sec_level; in hci_connect_le_scan()
1653 acl->pending_sec_level = sec_level; in hci_connect_acl()
2359 if (conn->pending_sec_level > sec_level) in hci_conn_auth()
2360 sec_level = conn->pending_sec_level; in hci_conn_auth()
2363 conn->pending_sec_level = sec_level; in hci_conn_auth()
H A Dhci_event.c2459 if (conn->pending_sec_level == BT_SECURITY_SDP) in hci_outgoing_auth_needed()
2467 conn->pending_sec_level != BT_SECURITY_FIPS && in hci_outgoing_auth_needed()
2468 conn->pending_sec_level != BT_SECURITY_HIGH && in hci_outgoing_auth_needed()
2469 conn->pending_sec_level != BT_SECURITY_MEDIUM) in hci_outgoing_auth_needed()
3500 conn->sec_level = conn->pending_sec_level; in hci_auth_complete_evt()
3607 conn->sec_level = conn->pending_sec_level; in hci_encrypt_change_evt()
4643 if (conn->pending_sec_level == BT_SECURITY_HIGH) in hci_pin_code_request_evt()
4670 conn->pending_sec_level = BT_SECURITY_HIGH; in conn_set_key()
4672 conn->pending_sec_level = BT_SECURITY_MEDIUM; in conn_set_key()
4676 conn->pending_sec_level in conn_set_key()
[all...]
H A Dl2cap_core.c1558 smp_conn_security(hcon, hcon->pending_sec_level); in l2cap_le_conn_ready()
H A Dmgmt.c3239 if (conn->pending_sec_level == BT_SECURITY_HIGH && cp->pin_len != 16) { in pin_code_reply()
/kernel/linux/linux-5.10/include/net/bluetooth/
H A Dhci_core.h622 __u8 pending_sec_level;
1514 if (conn->pending_sec_level > conn->sec_level)
1515 conn->sec_level = conn->pending_sec_level;
/kernel/linux/linux-6.6/include/net/bluetooth/
H A Dhci_core.h722 __u8 pending_sec_level; member
2036 if (conn->pending_sec_level > conn->sec_level) in hci_encrypt_cfm()
2037 conn->sec_level = conn->pending_sec_level; in hci_encrypt_cfm()

Completed in 65 milliseconds