Lines Matching refs:pending_sec_level
729 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()
1981 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_rsp()
2315 if (sec_level > hcon->pending_sec_level) in smp_cmd_security_req()
2316 hcon->pending_sec_level = sec_level; in smp_cmd_security_req()
2318 if (smp_ltk_encrypt(conn, hcon->pending_sec_level)) in smp_cmd_security_req()
2363 if (sec_level > hcon->pending_sec_level) in smp_conn_security()
2364 hcon->pending_sec_level = sec_level; in smp_conn_security()
2367 if (smp_ltk_encrypt(conn, hcon->pending_sec_level)) in smp_conn_security()
2406 hcon->pending_sec_level > BT_SECURITY_MEDIUM) in smp_conn_security()
2790 hcon->pending_sec_level = BT_SECURITY_MEDIUM; in smp_cmd_public_key()
2792 hcon->pending_sec_level = BT_SECURITY_FIPS; in smp_cmd_public_key()