Lines Matching refs:pending_sec_level
730 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()
1022 if (hcon->pending_sec_level == BT_SECURITY_HIGH) in smp_random()
1144 if (hcon->pending_sec_level == BT_SECURITY_FIPS) in sc_add_ltk()
1827 if (sec_level > conn->hcon->pending_sec_level) in smp_cmd_pairing_req()
1828 conn->hcon->pending_sec_level = sec_level; in smp_cmd_pairing_req()
1831 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_req()
1987 else if (conn->hcon->pending_sec_level > BT_SECURITY_HIGH) in smp_cmd_pairing_rsp()
1988 conn->hcon->pending_sec_level = BT_SECURITY_HIGH; in smp_cmd_pairing_rsp()
1991 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_rsp()
2346 if (sec_level > hcon->pending_sec_level) in smp_cmd_security_req()
2347 hcon->pending_sec_level = sec_level; in smp_cmd_security_req()
2349 if (smp_ltk_encrypt(conn, hcon->pending_sec_level)) in smp_cmd_security_req()
2399 if (sec_level > hcon->pending_sec_level) in smp_conn_security()
2400 hcon->pending_sec_level = sec_level; in smp_conn_security()
2403 if (smp_ltk_encrypt(conn, hcon->pending_sec_level)) in smp_conn_security()
2442 hcon->pending_sec_level > BT_SECURITY_MEDIUM) in smp_conn_security()
2821 hcon->pending_sec_level = BT_SECURITY_MEDIUM; in smp_cmd_public_key()
2823 hcon->pending_sec_level = BT_SECURITY_FIPS; in smp_cmd_public_key()