/openssl/doc/man3/ |
H A D | X509_cmp_time.pod | 7 - X509 time functions 22 X509_cmp_time() compares the ASN1_TIME in I<asn1_time> with the time 26 I<asn1_time> with the current time, expressed as time_t. 28 X509_cmp_timeframe() compares the given time period with the reference time 30 B<X509_V_FLAG_USE_CHECK_TIME>; else the current time is used as reference time. 50 I<offset_sec> after the current time. It is equivalent to calling 61 is earlier than, or equal to, I<in_tm> (resp. current time), and 1 67 1 if the end time is not NULL and the reference time (which has determined as 68 stated above) is past the end time, -1 if the start time is not NULL and the 69 reference time is before, else 0 to indicate that the reference time is in range [all …]
|
H A D | ASN1_TIME_set.pod | 74 functions set the time structure I<s> to the time represented 107 If the time structure has invalid format it prints out "Bad time value" and 115 If I<s> is NULL, then the current time is converted. The output time is GMT. 137 time structures I<a> and I<b>. 190 of an I/O error or invalid time format. 215 error occurred (invalid time format). 235 Set a time structure to one hour after the current time and print it out: 237 #include <time.h> 244 t = time(NULL); 251 Determine if one time is later or sooner than the current time: [all …]
|
H A D | SSL_SESSION_get_time.pod | 8 - retrieve and manipulate session time and timeout settings 26 SSL_SESSION_get_time() returns the time at which the session B<s> was 27 established. The time is given in seconds since the Epoch and therefore 28 compatible to the time delivered by the time() call. 30 SSL_SESSION_set_time() replaces the creation time of the session B<s> with 44 Sessions are expired by examining the creation time and the timeout value. 45 Both are set at creation time of the session to the actual time and the
|
H A D | SSL_CTX_set_timeout.pod | 24 lifetime is specified by storing the creation time of the session and the 25 timeout value valid at this time. If the actual time is later than creation 26 time plus timeout, the session is not reused. 29 valid at the time of the session negotiation. Changes of the timeout value 32 The expiration time of a single session can be modified using the
|
H A D | SSL_CTX_flush_sessions.pod | 16 B<ctx> to remove sessions expired at time B<tm>. 28 The parameter B<tm> specifies the time which should be used for the 29 expiration test, in most cases the actual time given by time(0)
|
H A D | CT_POLICY_EVAL_CTX_new.pod | 55 the current time 94 CT_POLICY_EVAL_CTX_set_time() to set the time SCTs should be compared with to determine if they are… 96 The SCT timestamp will be compared to this time to check whether the SCT was 99 future (e.g. (time() + 300) * 1000), to allow for clock drift. 101 The time should be in milliseconds since the Unix Epoch.
|
H A D | SSL_key_update.pod | 35 completed and TLSv1.3 has been negotiated, at the same time, the application 37 will not take place until the next time an IO operation such as SSL_read_ex() 51 handshake over an existing SSL/TLS connection. The next time an IO operation 53 will be performed to confirm that it is a suitable time to start a 64 for a new handshake to be sent to the client. The next time an IO operation is
|
H A D | CRYPTO_memcmp.pod | 5 CRYPTO_memcmp - Constant time memory comparison 17 It takes an amount of time dependent on B<len>, but independent of the
|
H A D | OPENSSL_Applink.pod | 5 OPENSSL_Applink - glue between OpenSSL BIO and Win32 compiler run-time 14 between OpenSSL BIO layer and Win32 compiler run-time environment.
|
/openssl/doc/internal/man3/ |
H A D | OSSL_TIME.pod | 14 #include "internal/time.h" 69 wall-clock time. The time returned by this function is useful for 94 time values. 96 B<ossl_time_min> returns the lesser of two time values. 98 B<ossl_time_max> returns the greater of two time values. 106 B<ossl_time_now> returns the current time, or the time of the Epoch on error. 108 B<ossl_time_zero> returns the time of the Epoch. 110 B<ossl_time_infinite> returns the last representable time. 119 the last representable time on overflow. 122 time of the Epoch on underflow. [all …]
|
H A D | OSSL_EVENT.pod | 79 An optional time indicating when the event could be triggered. Events are 80 guaranteed to not trigger before their time. 122 B<ossl_event_time_until> returns the time until I<event> would 127 at time I<when>. 133 B<ossl_event_get_when> returns the triggering time of the I<event>. 157 B<ossl_event_queue_time_until_next> returns the time until the next 181 return a time until the next event or B<OSSL_TIME_INFINITY> if there is no
|
/openssl/providers/implementations/rands/seeding/ |
H A D | rand_vxworks.c | 46 return time(NULL); in get_time_stamp() 59 return time(NULL); in get_timer_bits() 83 uint64_t time; in ossl_rand_pool_add_additional_data() member 94 data.time = get_timer_bits(); in ossl_rand_pool_add_additional_data() 104 uint64_t time; in ossl_pool_add_nonce_data() member 116 data.time = get_time_stamp(); in ossl_pool_add_nonce_data()
|
H A D | rand_win.c | 132 FILETIME time; in ossl_pool_add_nonce_data() member 145 GetSystemTimeAsFileTime(&data.time); in ossl_pool_add_nonce_data() 154 LARGE_INTEGER time; in ossl_rand_pool_add_additional_data() member 166 QueryPerformanceCounter(&data.time); in ossl_rand_pool_add_additional_data()
|
H A D | rand_vms.c | 482 unsigned __int64 time; in ossl_pool_add_nonce_data() member 497 sys$gettim_prec(&data.time); in ossl_pool_add_nonce_data() 499 sys$gettim((void*)&data.time); in ossl_pool_add_nonce_data() 583 unsigned __int64 time; in ossl_rand_pool_add_additional_data() member 596 sys$gettim_prec(&data.time); in ossl_rand_pool_add_additional_data() 598 sys$gettim((void*)&data.time); in ossl_rand_pool_add_additional_data()
|
H A D | rand_unix.c | 758 uint64_t time; in ossl_pool_add_nonce_data() member 771 data.time = get_time_stamp(); in ossl_pool_add_nonce_data() 781 uint64_t time; in ossl_rand_pool_add_additional_data() member 795 data.time = get_timer_bits(); in ossl_rand_pool_add_additional_data() 827 return time(NULL); in get_time_stamp() 878 return time(NULL); in get_timer_bits()
|
/openssl/test/recipes/30-test_evp_data/ |
H A D | evpmd_mdc2.txt | 13 Input = "Now is the time for all " 19 Input = "Now is the time for all " 25 Input = "Now is the time for all "
|
/openssl/apps/ |
H A D | s_time.c | 273 finishtime = (long)time(NULL) + maxtime; in s_time_main() 276 if (finishtime < (long)time(NULL)) in s_time_main() 313 i = (int)((long)time(NULL) - finishtime + maxtime); in s_time_main() 319 nConn, (long)time(NULL) - finishtime + maxtime, in s_time_main() 351 finishtime = (long)time(NULL) + maxtime; in s_time_main() 358 if (finishtime < (long)time(NULL)) in s_time_main() 399 nConn, (long)time(NULL) - finishtime + maxtime, bytes_read / nConn); in s_time_main() 402 (long)time(NULL) - finishtime + maxtime); in s_time_main()
|
/openssl/ssl/ |
H A D | ssl_asn1.c | 25 int64_t time; member 56 ASN1_EXP_OPT_EMBED(SSL_SESSION_ASN1, time, ZINT64, 1), 166 as.time = (int64_t)in->time; in i2d_SSL_SESSION() 304 if (as->time != 0) in d2i_SSL_SESSION() 305 ret->time = (time_t)as->time; in d2i_SSL_SESSION() 307 ret->time = time(NULL); in d2i_SSL_SESSION()
|
/openssl/doc/man5/ |
H A D | fips_config.pod | 19 This is normally done once, at installation time, but may also be set up to 20 run each time the module is used. 24 This is done each time the module is used. 61 This indicates if run-time checks related to enforcement of security parameters 83 It is written-to at the same time as B<install-status> is updated.
|
/openssl/ssl/quic/ |
H A D | quic_ackm.c | 1159 if (ossl_time_compare(pkt->time, lost_send_time) <= 0 in ackm_detect_and_remove_lost_pkts() 1170 ossl_time_add(pkt->time, loss_delay); in ackm_detect_and_remove_lost_pkts() 1183 OSSL_TIME time = ackm->loss_time[QUIC_PN_SPACE_INITIAL]; in ackm_get_loss_time_and_space() local 1187 if (ossl_time_is_zero(time) in ackm_get_loss_time_and_space() 1188 || ossl_time_compare(ackm->loss_time[i], time) == -1) { in ackm_get_loss_time_and_space() 1189 time = ackm->loss_time[i]; in ackm_get_loss_time_and_space() 1194 return time; in ackm_get_loss_time_and_space() 1438 if (ossl_time_is_zero(pkt->time) in ossl_ackm_on_tx_packet() 1440 pkt->time) > 0) in ossl_ackm_on_tx_packet() 1495 ackm_on_congestion(ackm, pkt->time); in ackm_process_ecn() [all …]
|
/openssl/include/internal/ |
H A D | quic_ackm.h | 46 OSSL_TIME time; member 115 OSSL_TIME time; member
|
/openssl/crypto/ |
H A D | README-sparse_array.md | 5 attempts to be both space and time efficient. 26 `OPENSSL_SA_BLOCK_BITS` can be defined at compile time and this overrides the 149 Accesses to elements in the sparse array take O(log n) time where n is the 151 small indices (e.g. NIDs), single level (constant time) access is achievable.
|
/openssl/crypto/ts/ |
H A D | ts_rsp_utils.c | 135 if (a->time == gtime) in TS_TST_INFO_set_time() 142 ASN1_GENERALIZEDTIME_free(a->time); in TS_TST_INFO_set_time() 143 a->time = new_time; in TS_TST_INFO_set_time() 149 return a->time; in TS_TST_INFO_get_time()
|
/openssl/test/ |
H A D | bio_tfo_test.c | 129 if (!TEST_int_ge(BIO_wait(abio, time(NULL) + 2, 0), 0)) { in test_bio_tfo() 162 if (!TEST_int_ge(BIO_wait(abio, time(NULL) + 2, 0), 0)) { in test_bio_tfo() 329 if (!TEST_int_ge(BIO_socket_wait(afd, 1, time(NULL) + 2), 0)) { in test_fd_tfo() 371 if (!TEST_int_ge(BIO_socket_wait(afd, 1, time(NULL) + 2), 0)) { in test_fd_tfo()
|
/openssl/doc/designs/quic-design/ |
H A D | quic-ackm.md | 33 - an arbitrary function which returns the current time; 106 time. `now_arg` is passed as the argument. The congestion controller method and 140 /* The time at which the packet was sent. */ 141 OSSL_TIME time; 226 /* The time at which the packet was received. */ 227 OSSL_TIME time; 255 space of the containing packet. `rx_time` is the time the frame was 381 sent at this time. `ossl_ackm_get_ack_frame` will always provide an ACK frame 386 `ossl_ackm_on_rx_packet` and based on the passage of time (see 400 amount of time. [all …]
|