Home
last modified time | relevance | path

Searched refs:ossl_time_subtract (Results 1 – 24 of 24) sorted by relevance

/openssl/include/internal/
H A Dtime.h182 OSSL_TIME ossl_time_subtract(OSSL_TIME a, OSSL_TIME b) in ossl_time_subtract() function
195 return a.t > b.t ? ossl_time_subtract(a, b) in ossl_time_abs_difference()
196 : ossl_time_subtract(b, a); in ossl_time_abs_difference()
/openssl/doc/internal/man3/
H A DOSSL_TIME.pod12 ossl_time_add, ossl_time_subtract,
50 OSSL_TIME ossl_time_subtract(OSSL_TIME a, OSSL_TIME b);
122 B<ossl_time_subtract> performs a saturating subtraction of the two items,
173 B<ossl_time_subtract> returns the difference of the two times or the
/openssl/ssl/quic/
H A Dquic_reactor.c227 timeout = ossl_time_subtract(deadline, now); in poll_two_fds()
279 timeout = ossl_time_subtract(deadline, now); in poll_two_fds()
H A Dquic_statm.c43 adjusted_rtt = ossl_time_subtract(latest_rtt, ack_delay); in ossl_statm_update_rtt()
H A Dquic_thread_assist.c44 deadline = ossl_time_add(ossl_time_subtract(deadline, in assist_thread_main()
H A Dquic_ackm.c770 lost_send_time = ossl_time_subtract(now, loss_delay); in ackm_detect_and_remove_lost_pkts()
1197 ossl_time_subtract(now, na_pkts->time)); in ossl_ackm_on_rx_ack_frame()
1627 ossl_time_subtract(now, ackm->rx_largest_time[pkt_space]); in ossl_ackm_get_ack_frame()
H A Dquic_fc.c284 dt = ossl_time_subtract(now, rxfc->epoch_start); in rxfc_should_bump_window_size()
H A Dqlog.c385 OSSL_TIME delta = ossl_time_subtract(qlog->event_time, in qlog_event_epilogue()
H A Dquic_impl.c1110 *tv = ossl_time_to_timeval(ossl_time_subtract(deadline, get_time(ctx.qc))); in ossl_quic_get_event_timeout()
/openssl/test/
H A Dsanitytest.c145 seconds = ossl_time2seconds(ossl_time_subtract(ossl_time_now(), start)); in test_sanity_sleep()
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_tserver_test.c203 if (ossl_time_compare(ossl_time_subtract(real_now(NULL), start_time), in do_test()
H A Dthreadstest.c260 dtime = ossl_time_to_timeval(ossl_time_subtract(t2, t1)); in _torture_rw()
455 dtime = ossl_time_to_timeval(ossl_time_subtract(t2, t1)); in _torture_rcu()
H A Dquicapitest.c260 timediff = ossl_time_subtract(ossl_time_now(), timer); in test_fin_only_blocking()
H A Dsslapitest.c3388 tick_time = ossl_time_subtract(tick_time, ossl_seconds2time(10)); in sub_session_time()
3531 timer = ossl_time_subtract(ossl_time_now(), timer); in check_early_data_timeout()
/openssl/util/
H A Dquicserver.c54 timeout = ossl_time_to_timeval(ossl_time_subtract(deadline, in wait_for_activity()
/openssl/crypto/thread/arch/
H A Dthread_win.c156 delta = ossl_time_subtract(deadline, now); in determine_timeout()
/openssl/test/helpers/
H A Dnoisydgrambio.c117 = ossl_time_subtract(now, ossl_ms2time(SAMPLING_WINDOW_PERIOD)); in bandwidth_limit()
H A Dquictestlib.c386 return ossl_time2ms(ossl_time_subtract(qtest_get_time(), start_time)); in qtest_get_stopwatch_time()
461 stimeout = ossl_time_subtract(ossl_quic_tserver_get_deadline(qtserv), now); in qtest_wait_for_timeout()
/openssl/ssl/
H A Dd1_lib.c326 *timeleft = ossl_time_subtract(s->d1->next_timeout, timenow); in dtls1_get_timeout()
H A Dssl_lib.c5005 *rtt = ossl_time2us(ossl_time_subtract(sc->ts_msg_read, sc->ts_msg_write)); in SSL_get_handshake_rtt()
/openssl/ssl/statem/
H A Dextensions_srvr.c1180 age = ossl_time_subtract(ossl_ms2time(ticket_agel), in tls_parse_ctos_psk()
1182 t = ossl_time_subtract(ossl_time_now(), sess->time); in tls_parse_ctos_psk()
H A Dextensions_clnt.c1085 t = ossl_time_subtract(ossl_time_now(), s->session->time); in tls_construct_ctos_psk()
/openssl/crypto/bio/
H A Dbss_dgram.c334 timeleft = ossl_time_subtract(data->next_timeout, ossl_time_now()); in dgram_adjust_rcv_timeout()

Completed in 207 milliseconds