Home
last modified time | relevance | path

Searched refs:ossl_time_compare (Results 1 – 21 of 21) sorted by relevance

/openssl/ssl/quic/
H A Dquic_statm.c33 if (ossl_time_compare(latest_rtt, statm->min_rtt) < 0) in ossl_statm_update_rtt()
42 if (ossl_time_compare(latest_rtt, ossl_time_add(statm->min_rtt, ack_delay)) >= 0) in ossl_statm_update_rtt()
H A Dquic_ackm.c790 if (ossl_time_compare(pkt->time, lost_send_time) <= 0 in ackm_detect_and_remove_lost_pkts()
819 || ossl_time_compare(ackm->loss_time[i], time) == -1) { in ackm_get_loss_time_and_space()
879 if (ossl_time_compare(t, pto_timeout) < 0) { in ackm_get_pto_time_and_space()
1084 || ossl_time_compare(ackm->time_of_last_ack_eliciting_pkt[pkt->pkt_space], in ossl_ackm_on_tx_packet()
1383 && ossl_time_compare(ackm->now(ackm->now_arg), in ossl_ackm_is_ack_desired()
1624 && ossl_time_compare(now, ackm->rx_largest_time[pkt_space]) > 0 in ossl_ackm_get_ack_frame()
H A Dcc_newreno.c241 return ossl_time_compare(tx_time, nr->cong_recovery_start_time) <= 0; in newreno_in_cong_recovery()
415 if (ossl_time_compare(info->tx_time, nr->tx_time_of_last_loss) <= 0) in newreno_on_data_lost()
H A Dquic_channel.c691 ossl_time_compare(get_time(ch), ch->txku_cooldown_deadline) >= 0 in txku_recommendable()
829 || ossl_time_compare(get_time(ch), ch->rxku_update_end_deadline) < 0) in ch_rxku_tick()
1880 if (ossl_time_compare(now, ch->terminate_deadline) >= 0) { in ossl_quic_channel_subtick()
1924 if (ossl_time_compare(now, ch->idle_deadline) >= 0) { in ossl_quic_channel_subtick()
1941 && ossl_time_compare(now, deadline) >= 0) in ossl_quic_channel_subtick()
1945 if (ossl_time_compare(now, ch->ping_deadline) >= 0) { in ossl_quic_channel_subtick()
H A Dquic_fc.c287 return ossl_time_compare(t_window, ossl_time_multiply(rtt, 4)) < 0; in rxfc_should_bump_window_size()
/openssl/include/internal/
H A Dtime.h148 int ossl_time_compare(OSSL_TIME a, OSSL_TIME b) in ossl_time_compare() function
161 return ossl_time_compare(t, ossl_time_zero()) == 0; in ossl_time_is_zero()
168 return ossl_time_compare(t, ossl_time_infinite()) == 0; in ossl_time_is_infinite()
/openssl/test/
H A Dquic_cc_test.c91 return ossl_time_compare(a->next_time, b->next_time); in net_pkt_cmp()
208 if (skip_forward && ossl_time_compare(pkt->next_time, fake_time) > 0) in net_sim_process_one()
212 && ossl_time_compare(fake_time, pkt->arrive_time) >= 0) { in net_sim_process_one()
225 if (ossl_time_compare(fake_time, pkt->determination_time) < 0) in net_sim_process_one()
H A Dquic_tserver_test.c203 if (ossl_time_compare(ossl_time_subtract(real_now(NULL), start_time), in do_test()
328 if (!isinf && ossl_time_compare(ossl_time_zero(), in do_test()
H A Dquic_client_test.c102 if (ossl_time_compare(ossl_time_subtract(ossl_time_now(), start_time), in test_quic_client_ex()
H A Dquic_ackm_test.c420 if (!TEST_int_eq(ossl_time_compare(deadline, loss_detection_deadline), 0)) in test_tx_ack_case_actual()
424 if (!TEST_int_gt(ossl_time_compare(deadline, fake_time), 0)) in test_tx_ack_case_actual()
996 if (!TEST_int_eq(ossl_time_compare(ossl_ackm_get_ack_deadline(h.ackm, i), in test_rx_ack_actual()
H A Dquic_multistream_test.c1086 if (!TEST_int_le(ossl_time_compare(ossl_time_now(), op_deadline), 0)) { in run_script_worker()
H A Dsslapitest.c3532 if (ossl_time_compare(timer, ossl_seconds2time(7)) >= 0) in check_early_data_timeout()
/openssl/crypto/
H A Dsleep.c107 while (ossl_time_compare(ossl_time_now(), finish) < 0) in ossl_sleep_millis()
/openssl/doc/internal/man3/
H A DOSSL_TIME.pod11 ossl_time_compare, ossl_time_is_zero, ossl_time_is_infinite,
45 int ossl_time_compare(OSSL_TIME a, OSSL_TIME b);
110 B<ossl_time_compare> compares I<a> with I<b> and returns -1 if I<a>
165 B<ossl_time_compare> returns -1, 0 or 1 depending on the comparison.
/openssl/fuzz/
H A Dquic-client.c236 if (len > 3 && ossl_time_compare(nxttimeout, nxtpkt) >= 0) { in FuzzerTestOneInput()
/openssl/test/helpers/
H A Dnoisydgrambio.c129 if (ossl_time_compare(limit->pinfos[idx].timestamp, sampling_start) >= 0) in bandwidth_limit()
/openssl/ssl/statem/
H A Dextensions_srvr.c1196 && ossl_time_compare(sess->timeout, t) >= 0 in tls_parse_ctos_psk()
1197 && ossl_time_compare(age, expire) <= 0 in tls_parse_ctos_psk()
1198 && ossl_time_compare(ossl_time_add(age, TICKET_AGE_ALLOWANCE), in tls_parse_ctos_psk()
H A Dstatem_srvr.c3895 if (ossl_time_compare(s->session->timeout, in create_ticket_prequel()
/openssl/ssl/
H A Dssl_sess.c31 return ossl_time_compare(t, ss->calc_timeout) > 0; in DEFINE_STACK_OF()
40 return ossl_time_compare(a->calc_timeout, b->calc_timeout); in timeoutcmp()
H A Dd1_lib.c327 if (ossl_time_compare(*timeleft, ossl_ms2time(15)) <= 0) in dtls1_get_timeout()
/openssl/crypto/bio/
H A Dbss_dgram.c335 if (ossl_time_compare(timeleft, ossl_ticks2time(OSSL_TIME_US)) < 0) in dgram_adjust_rcv_timeout()
343 || ossl_time_compare(data->socket_timeout, timeleft) >= 0) { in dgram_adjust_rcv_timeout()

Completed in 186 milliseconds