Home
last modified time | relevance | path

Searched refs:time (Results 1 – 25 of 266) sorted by relevance

1234567891011

/openssl/doc/man3/
H A DX509_cmp_time.pod7 - 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 DASN1_TIME_set.pod74 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 DSSL_SESSION_get_time.pod8 - 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 DSSL_CTX_set_timeout.pod24 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 DSSL_CTX_flush_sessions.pod16 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 DCT_POLICY_EVAL_CTX_new.pod55 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 DSSL_key_update.pod35 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 DCRYPTO_memcmp.pod5 CRYPTO_memcmp - Constant time memory comparison
17 It takes an amount of time dependent on B<len>, but independent of the
H A DOPENSSL_Applink.pod5 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 DOSSL_TIME.pod14 #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 DOSSL_EVENT.pod79 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 Drand_vxworks.c46 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 Drand_win.c132 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 Drand_vms.c482 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 Drand_unix.c758 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 Devpmd_mdc2.txt13 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 Ds_time.c273 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 Dssl_asn1.c25 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 Dfips_config.pod19 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 Dquic_ackm.c1159 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 Dquic_ackm.h46 OSSL_TIME time; member
115 OSSL_TIME time; member
/openssl/crypto/
H A DREADME-sparse_array.md5 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 Dts_rsp_utils.c135 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 Dbio_tfo_test.c129 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 Dquic-ackm.md33 - 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 …]

Completed in 43 milliseconds

1234567891011