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.c1359 conn->pending_sec_level = sec_level; in hci_connect_le()
1569 if (conn->pending_sec_level < sec_level) in hci_connect_le_scan()
1570 conn->pending_sec_level = sec_level; in hci_connect_le_scan()
1589 conn->pending_sec_level = sec_level; in hci_connect_le_scan()
1636 acl->pending_sec_level = sec_level; in hci_connect_acl()
2490 if (conn->pending_sec_level > sec_level) in hci_conn_auth()
2491 sec_level = conn->pending_sec_level; in hci_conn_auth()
2494 conn->pending_sec_level = sec_level; in hci_conn_auth()
H A Dhci_event.c2392 if (conn->pending_sec_level == BT_SECURITY_SDP) in hci_outgoing_auth_needed()
2400 conn->pending_sec_level != BT_SECURITY_FIPS && in hci_outgoing_auth_needed()
2401 conn->pending_sec_level != BT_SECURITY_HIGH && in hci_outgoing_auth_needed()
2402 conn->pending_sec_level != BT_SECURITY_MEDIUM) in hci_outgoing_auth_needed()
3461 conn->sec_level = conn->pending_sec_level; in hci_auth_complete_evt()
3568 conn->sec_level = conn->pending_sec_level; in hci_encrypt_change_evt()
4532 if (conn->pending_sec_level == BT_SECURITY_HIGH) in hci_pin_code_request_evt()
4559 conn->pending_sec_level = BT_SECURITY_HIGH; in conn_set_key()
4561 conn->pending_sec_level = BT_SECURITY_MEDIUM; in conn_set_key()
4565 conn->pending_sec_level = BT_SECURITY_MEDIUM; in conn_set_key()
[all …]
H A Dl2cap_core.c1588 smp_conn_security(hcon, hcon->pending_sec_level); in l2cap_le_conn_ready()
H A Dmgmt.c3336 if (conn->pending_sec_level == BT_SECURITY_HIGH && cp->pin_len != 16) { in pin_code_reply()
/linux/include/net/bluetooth/
H A Dhci_core.h686 __u8 pending_sec_level; member
2098 if (conn->pending_sec_level > conn->sec_level) in hci_encrypt_cfm()
2099 conn->sec_level = conn->pending_sec_level; in hci_encrypt_cfm()