Home
last modified time | relevance | path

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

/linux/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()
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()
1826 if (sec_level > conn->hcon->pending_sec_level) in smp_cmd_pairing_req()
1827 conn->hcon->pending_sec_level = sec_level; in smp_cmd_pairing_req()
1830 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_req()
1986 else if (conn->hcon->pending_sec_level > BT_SECURITY_HIGH) in smp_cmd_pairing_rsp()
1987 conn->hcon->pending_sec_level = BT_SECURITY_HIGH; in smp_cmd_pairing_rsp()
[all …]
H A Dhci_conn.c1358 conn->pending_sec_level = sec_level; in hci_connect_le()
1568 if (conn->pending_sec_level < sec_level) in hci_connect_le_scan()
1569 conn->pending_sec_level = sec_level; in hci_connect_le_scan()
1588 conn->pending_sec_level = sec_level; in hci_connect_le_scan()
1635 acl->pending_sec_level = sec_level; in hci_connect_acl()
2384 if (conn->pending_sec_level > sec_level) in hci_conn_auth()
2385 sec_level = conn->pending_sec_level; in hci_conn_auth()
2388 conn->pending_sec_level = sec_level; in hci_conn_auth()
H A Dhci_event.c2394 if (conn->pending_sec_level == BT_SECURITY_SDP) in hci_outgoing_auth_needed()
2402 conn->pending_sec_level != BT_SECURITY_FIPS && in hci_outgoing_auth_needed()
2403 conn->pending_sec_level != BT_SECURITY_HIGH && in hci_outgoing_auth_needed()
2404 conn->pending_sec_level != BT_SECURITY_MEDIUM) in hci_outgoing_auth_needed()
3456 conn->sec_level = conn->pending_sec_level; in hci_auth_complete_evt()
3563 conn->sec_level = conn->pending_sec_level; in hci_encrypt_change_evt()
4520 if (conn->pending_sec_level == BT_SECURITY_HIGH) in hci_pin_code_request_evt()
4547 conn->pending_sec_level = BT_SECURITY_HIGH; in conn_set_key()
4549 conn->pending_sec_level = BT_SECURITY_MEDIUM; in conn_set_key()
4553 conn->pending_sec_level = BT_SECURITY_MEDIUM; in conn_set_key()
[all …]
H A Dl2cap_core.c1585 smp_conn_security(hcon, hcon->pending_sec_level); in l2cap_le_conn_ready()
H A Dmgmt.c3268 if (conn->pending_sec_level == BT_SECURITY_HIGH && cp->pin_len != 16) { in pin_code_reply()
/linux/include/net/bluetooth/
H A Dhci_core.h685 __u8 pending_sec_level; member
2029 if (conn->pending_sec_level > conn->sec_level) in hci_encrypt_cfm()
2030 conn->sec_level = conn->pending_sec_level; in hci_encrypt_cfm()