/openssl/crypto/ |
H A D | time.c | 24 } now; in ossl_time_now() local 27 SystemTimeToFileTime(&st, &now.ft); in ossl_time_now() 30 now.ul -= 116444736000000000ULL; in ossl_time_now() 32 now.ul -= 116444736000000000UI64; in ossl_time_now() 34 r.t = ((uint64_t)now.ul) * (OSSL_TIME_SECOND / 10000000); in ossl_time_now()
|
/openssl/ssl/quic/ |
H A D | quic_demux.c | 45 OSSL_TIME (*now)(void *arg); member 73 OSSL_TIME (*now)(void *arg), in ossl_quic_demux_new() 86 demux->now = now; in ossl_quic_demux_new() 239 OSSL_TIME now; in demux_recv() local 297 now = demux->now != NULL ? demux->now(demux->now_arg) : ossl_time_zero(); in demux_recv() 305 urxe->time = now; in demux_recv() 441 = demux->now != NULL ? demux->now(demux->now_arg) : ossl_time_zero(); in ossl_quic_demux_inject()
|
H A D | quic_fc.c | 129 OSSL_TIME (*now)(void *now_arg), in ossl_quic_rxfc_init() 146 rxfc->now = now; in ossl_quic_rxfc_init() 155 OSSL_TIME (*now)(void *arg), in ossl_quic_rxfc_init_standalone() 160 now, now_arg)) in ossl_quic_rxfc_init_standalone() 180 rxfc->epoch_start = rxfc->now(rxfc->now_arg); in rxfc_start_epoch() 278 OSSL_TIME now, dt, t_window; in rxfc_should_bump_window_size() local 283 now = rxfc->now(rxfc->now_arg); in rxfc_should_bump_window_size() 284 dt = ossl_time_subtract(now, rxfc->epoch_start); in rxfc_should_bump_window_size()
|
H A D | quic_reactor.c | 171 OSSL_TIME now, timeout; in poll_two_fds() local 222 now = ossl_time_now(); in poll_two_fds() 227 timeout = ossl_time_subtract(deadline, now); in poll_two_fds() 243 OSSL_TIME now, timeout; in poll_two_fds() 278 now = ossl_time_now(); in poll_two_fds() 279 timeout = ossl_time_subtract(deadline, now); in poll_two_fds()
|
H A D | quic_ackm.c | 502 OSSL_TIME (*now)(void *arg); member 750 OSSL_TIME loss_delay, lost_send_time, now; in ackm_detect_and_remove_lost_pkts() local 769 now = ackm->now(ackm->now_arg); in ackm_detect_and_remove_lost_pkts() 770 lost_send_time = ossl_time_subtract(now, loss_delay); in ackm_detect_and_remove_lost_pkts() 854 return ossl_time_add(ackm->now(ackm->now_arg), duration); in ackm_get_pto_time_and_space() 1020 OSSL_ACKM *ossl_ackm_new(OSSL_TIME (*now)(void *arg), in ossl_ackm_new() 1043 ackm->now = now; in ossl_ackm_new() 1187 OSSL_TIME now = ackm->now(ackm->now_arg), ack_delay; in ossl_ackm_on_rx_ack_frame() local 1189 ackm->first_rtt_sample = now; in ossl_ackm_on_rx_ack_frame() 1383 && ossl_time_compare(ackm->now(ackm->now_arg), in ossl_ackm_is_ack_desired() [all …]
|
/openssl/test/ |
H A D | x509_time_test.c | 278 time_t now = time(NULL); in test_x509_cmp_time_current() local 283 asn1_before = ASN1_TIME_adj(NULL, now, -1, 0); in test_x509_cmp_time_current() 284 asn1_after = ASN1_TIME_adj(NULL, now, 1, 0); in test_x509_cmp_time_current() 324 time_t now = time(NULL); in test_X509_cmp_timeframe() local 325 ASN1_TIME *asn1_mid = ASN1_TIME_adj(NULL, now, 0, 0); in test_X509_cmp_timeframe() 327 ASN1_TIME *asn1_before = ASN1_TIME_adj(NULL, now, -1, 0); in test_X509_cmp_timeframe() 328 ASN1_TIME *asn1_after = ASN1_TIME_adj(NULL, now, 1, 0); in test_X509_cmp_timeframe() 337 X509_VERIFY_PARAM_set_time(vpm, now); in test_X509_cmp_timeframe()
|
H A D | cmp_hdr_test.c | 179 time_t hdrtime, before, after, now; in execute_HDR_update_messageTime_test() local 181 now = time(NULL); in execute_HDR_update_messageTime_test() 187 tmptm = *gmtime(&now); in execute_HDR_update_messageTime_test() 199 now = time(NULL); in execute_HDR_update_messageTime_test() 200 tmptm = *gmtime(&now); in execute_HDR_update_messageTime_test()
|
H A D | quic_qlog_test.c | 69 static OSSL_TIME now(void *arg) in now() function 94 qti.now_cb = now; in test_qlog()
|
H A D | bad_dtls_test.c | 474 time_t now = 0; in test_bad_dtls() local 484 now = time(NULL); in test_bad_dtls() 485 memcpy(server_random, &now, sizeof(now)); in test_bad_dtls()
|
/openssl/crypto/bio/ |
H A D | bio_sock.c | 436 time_t now; in BIO_socket_wait() local 447 now = time(NULL); in BIO_socket_wait() 448 if (max_time < now) in BIO_socket_wait() 454 tv.tv_sec = (long)(max_time - now); /* might overflow */ in BIO_socket_wait() 459 time_t now; in BIO_socket_wait() 466 now = time(NULL); in BIO_socket_wait() 467 if (max_time < now) in BIO_socket_wait() 472 return poll(&confds, 1, (int)(max_time - now) * 1000); in BIO_socket_wait()
|
/openssl/test/helpers/ |
H A D | noisydgrambio.c | 112 static size_t bandwidth_limit(struct bw_limiter_st *limit, OSSL_TIME now, in bandwidth_limit() argument 117 = ossl_time_subtract(now, ossl_ms2time(SAMPLING_WINDOW_PERIOD)); in bandwidth_limit() 148 (unsigned long long)ossl_time2ms(now), in bandwidth_limit() 163 limit->pinfos[end].timestamp = now; in bandwidth_limit() 175 OSSL_TIME now; in noisy_dgram_sendmmsg() local 184 now = data->now_cb != NULL ? data->now_cb(data->now_cb_arg) in noisy_dgram_sendmmsg() 188 num_msg = bandwidth_limit(&data->send_limit, now, msg, num_msg); in noisy_dgram_sendmmsg() 310 OSSL_TIME now; in noisy_dgram_recvmmsg() local 349 now = data->now_cb != NULL ? data->now_cb(data->now_cb_arg) in noisy_dgram_recvmmsg() 353 msg_cnt = bandwidth_limit(&data->recv_limit, now, msg, msg_cnt); in noisy_dgram_recvmmsg()
|
/openssl/external/perl/Text-Template-1.56/ |
H A D | Changes | 62 - Minimum perl version is now 5.8.0 111 - Taint-related tests are now more comprehensive. 115 - Tests now work correctly on Windows systems and possibly on other 125 It now looks like: 138 It now looks like: 151 - You may now use a glob ref when passing a filehandle to the ->new 223 - Template TYPEs are now case-insensitive. The `new' method now diagnoses 239 - PACKAGE and HASH now work intelligently with SAFE. 240 - Fragments may now output data directly to the template, rather than 251 You can now write this instead, because $OUT is special. [all …]
|
/openssl/crypto/ct/ |
H A D | ct_policy.c | 32 OSSL_TIME now; in CT_POLICY_EVAL_CTX_new_ex() local 46 now = ossl_time_add(ossl_time_now(), in CT_POLICY_EVAL_CTX_new_ex() 48 ctx->epoch_time_in_ms = ossl_time2ms(now); in CT_POLICY_EVAL_CTX_new_ex()
|
/openssl/doc/designs/ddd/ |
H A D | ddd-02-conn-nonblocking.c | 363 struct timeval start, now, deadline, t; in main() local 387 gettimeofday(&now, NULL); in main() 388 if (timercmp(&now, &deadline, >=)) in main() 407 struct timeval start, now, deadline, t; in main() local 431 gettimeofday(&now, NULL); in main() 432 if (timercmp(&now, &deadline, >=)) in main()
|
H A D | ddd-04-fd-nonblocking.c | 378 struct timeval start, now, deadline, t; in main() local 402 gettimeofday(&now, NULL); in main() 403 if (timercmp(&now, &deadline, >=)) in main() 422 struct timeval start, now, deadline, t; in main() local 445 gettimeofday(&now, NULL); in main() 446 if (timercmp(&now, &deadline, >=)) in main()
|
/openssl/include/internal/ |
H A D | quic_fc.h | 139 OSSL_TIME (*now)(void *arg); member 156 OSSL_TIME (*now)(void *arg), 166 OSSL_TIME (*now)(void *arg),
|
H A D | quic_demux.h | 200 OSSL_TIME (*now)(void *arg),
|
H A D | quic_txp.h | 51 OSSL_TIME (*now)(void *arg); /* Callback to get current time. */ member
|
/openssl/apps/lib/ |
H A D | apps.c | 2788 FILETIME now; in app_tminterval() local 2845 struct timespec now; in app_tminterval() local 2848 unsigned long now; in app_tminterval() local 2860 tmstart = now; in app_tminterval() 2862 ret = ((now.tv_sec + now.tv_nsec * 1e-9) in app_tminterval() 2865 now = tickGet(); in app_tminterval() 2867 tmstart = now; in app_tminterval() 2888 tmstart = now; in app_tminterval() 2906 struct timeval now; in app_tminterval() local 2915 tmstart = now; in app_tminterval() [all …]
|
/openssl/crypto/thread/arch/ |
H A D | thread_win.c | 147 OSSL_TIME now, delta; in determine_timeout() local 155 now = ossl_time_now(); in determine_timeout() 156 delta = ossl_time_subtract(deadline, now); in determine_timeout()
|
/openssl/crypto/engine/ |
H A D | README.md | 75 The way this is now being done is by mostly reverting back to how things used to 76 work prior to ENGINE :-). Ie. RSA now has a "RSA_METHOD" pointer again - this 99 context and so is used as the implementation. Pretty much how things work now 199 mechanism now used by RSA/DSA/..., because there's no such thing as a BIGNUM 204 one and now certainly doesn't make sense in any generalised way. Some of the 206 changes have now, as a consequence, been reverted back. This is because the 207 hooking of ENGINE is now automatic (and passive, it can internally use a NULL 210 Hell, that should be enough for now ... comments welcome.
|
/openssl/doc/man7/ |
H A D | ossl-guide-migration.pod | 316 application now supports -legacy option that restores the previous 416 Smaller sizes now result in an error. 436 now correctly rejected. 603 /* This line will now generate compiler errors */ 1042 are now deprecated and can be replaced by using providers instead. 2291 L<EVP_PKEY_get_id(3)> might now also return the value -1 2341 The B<openssl> commands that read keys, certificates, and CRLs now 2364 now in maintenance mode and no new features will be added to them. 2386 SSL and SSL_CTX options are now 64 bit instead of 32 bit. 2423 Secure renegotiation is now required by default for TLS connections [all …]
|
/openssl/crypto/ripemd/ |
H A D | build.info | 15 # Implementations are now spread across several libraries, so the defines
|
/openssl/crypto/cmp/ |
H A D | cmp_client.c | 153 time_t now = time(NULL); in send_receive_check() local 165 ctx->end_time = now + ctx->total_timeout; in send_receive_check() 166 if (now >= ctx->end_time) { in send_receive_check() 170 if (!ossl_assert(ctx->end_time - now < INT_MAX)) { in send_receive_check() 175 time_left = (int)(ctx->end_time - now); in send_receive_check()
|
/openssl/ |
H A D | CHANGES.md | 407 option now is an alias for `-set_subject`. 2699 APIs. They now write PKCS#8 keys by default. These commands are now in 4296 now been removed. 5558 before trying to build now.* 16432 Both problems are now fixed. 17113 through syslog. The prefixes are now: 17906 * ./config recognizes MacOS X now. 19153 "off" is now the default. 19160 even the default) are now avoided. 19616 now it really counts the depth. [all …]
|