Lines Matching refs:pending_sec_level
728 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()
1019 if (hcon->pending_sec_level == BT_SECURITY_HIGH) in smp_random()
1136 if (hcon->pending_sec_level == BT_SECURITY_FIPS) in sc_add_ltk()
1820 if (sec_level > conn->hcon->pending_sec_level) in smp_cmd_pairing_req()
1821 conn->hcon->pending_sec_level = sec_level; in smp_cmd_pairing_req()
1824 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_req()
1980 else if (conn->hcon->pending_sec_level > BT_SECURITY_HIGH) in smp_cmd_pairing_rsp()
1981 conn->hcon->pending_sec_level = BT_SECURITY_HIGH; in smp_cmd_pairing_rsp()
1984 if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) { in smp_cmd_pairing_rsp()
2321 if (sec_level > hcon->pending_sec_level) in smp_cmd_security_req()
2322 hcon->pending_sec_level = sec_level; in smp_cmd_security_req()
2324 if (smp_ltk_encrypt(conn, hcon->pending_sec_level)) in smp_cmd_security_req()
2370 if (sec_level > hcon->pending_sec_level) in smp_conn_security()
2371 hcon->pending_sec_level = sec_level; in smp_conn_security()
2374 if (smp_ltk_encrypt(conn, hcon->pending_sec_level)) in smp_conn_security()
2413 hcon->pending_sec_level > BT_SECURITY_MEDIUM) in smp_conn_security()
2806 hcon->pending_sec_level = BT_SECURITY_MEDIUM; in smp_cmd_public_key()
2808 hcon->pending_sec_level = BT_SECURITY_FIPS; in smp_cmd_public_key()