Home
last modified time | relevance | path

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

12345678910>>...14

/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
34 SSL_SESSION_get_time_ex() returns the time at which the session B<s> was
35 established. The time is given in seconds since the Epoch and therefore
36 compatible to the time delivered by the time() call.
38 SSL_SESSION_set_time_ex() replaces the creation time of the session B<s> with
50 to be configured to use 64 bit time_t to be able to avoid overflow in system time.
57 Sessions are expired by examining the creation time and the timeout value.
58 Both are set at creation time of the session to the actual time and the
69 SSL_SESSION_set_time_ex() returns time on success.
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_get_handshake_rtt.pod6 - get round trip time for SSL Handshake
16 SSL_get_handshake_rtt() retrieves the round-trip time (RTT) for I<ssl>.
37 metric includes processing time on both endpoints, as this is based on TLS
39 network timings. In some cases the processing time can be significant,
H A DSSL_CTX_flush_sessions.pod22 B<ctx> to remove sessions expired at time B<tm>.
37 The parameter B<tm> specifies the time which should be used for the
38 expiration test, in most cases the actual time given by time(0)
H A DOSSL_sleep.pod17 it may be affected by system activity, by the time spent processing the call,
21 In particular on Windows the maximum amount of time it will sleep is
23 system call the maximum sleep time is about 136 years.
H A DSSL_get_event_timeout.pod17 internal processing due to the passage of time.
33 The SSL object has events which need to be handled after some amount of time
34 (relative to the time at which SSL_get_event_timeout() was called). I<*tv> is
35 set to the amount of time after which L<SSL_handle_events(3)> should be called
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 DOPENSSL_gmtime.pod7 OPENSSL_gmtime_diff - platform-agnostic OpenSSL time routines
20 OPENSSL_gmtime() returns the UTC time specified by I<timer> into the provided
31 with I<timer> equal to NULL means use the current time.
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.pod19 #include "internal/time.h"
81 to a time. These functions are implemented as macros.
98 wall-clock time. The time returned by this function is useful for
136 time values.
148 B<ossl_time_now> returns the current time, or the time of the Epoch on error.
150 B<ossl_time_zero> returns the time of the Epoch.
160 that the time object represents.
171 the last representable time on overflow.
174 time of the Epoch on underflow.
183 time and the two integral values.
[all …]
/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()
84 uint64_t time; in ossl_pool_add_nonce_data() member
96 data.time = get_time_stamp(); in ossl_pool_add_nonce_data()
/openssl/doc/man1/
H A Dopenssl-fipsinstall.pod.in61 This configuration file can be used each time a FIPS module is loaded
89 =item - A control to indicate whether run-time security checks are done.
91 This indicates if run-time checks related to enforcement of security parameters
205 turn off the check at compile time.
209 Configure the module to enable a run-time Extended Master Secret (EMS) check
240 Configure the module to enable a run-time digest check when deriving a key by
246 Configure the module to enable a run-time digest check when deriving a key by
252 Configure the module to enable a run-time digest check when deriving a key by
258 Configure the module to enable a run-time digest check when deriving a key by
352 Configure the module to not perform run-time lower bound check for PBKDF2.
[all …]
H A Dopenssl-version.pod.in83 The OpenSSL B<OSSL_WINCTX> build time variable, if set.
92 B<OPENSSLDIR>, B<MODULESDIR> and B<ENGINESDIR> build time macros. These macros
93 were defined at build time, and represented filesystem paths. This is common
97 B<OSSL_WINCTX> was introduced as a new build time variable to define a set of
103 build time.
/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/crypto/x509/
H A Dx509aset.c169 int X509_ACERT_set1_notBefore(X509_ACERT *x, const ASN1_GENERALIZEDTIME *time) in X509_ACERT_set1_notBefore() argument
171 return replace_gentime(&x->acinfo->validityPeriod.notBefore, time); in X509_ACERT_set1_notBefore()
174 int X509_ACERT_set1_notAfter(X509_ACERT *x, const ASN1_GENERALIZEDTIME *time) in X509_ACERT_set1_notAfter() argument
176 return replace_gentime(&x->acinfo->validityPeriod.notAfter, time); in X509_ACERT_set1_notAfter()
/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()
318 nConn, (long)time(NULL) - finishtime + maxtime, in s_time_main()
350 finishtime = (long)time(NULL) + maxtime; in s_time_main()
357 if (finishtime < (long)time(NULL)) in s_time_main()
398 nConn, (long)time(NULL) - finishtime + maxtime, bytes_read / nConn); in s_time_main()
401 (long)time(NULL) - finishtime + maxtime); in s_time_main()
/openssl/ssl/quic/
H A Dquic_ackm.c801 ossl_time_add(pkt->time, loss_delay); in ackm_detect_and_remove_lost_pkts()
814 OSSL_TIME time = ackm->loss_time[QUIC_PN_SPACE_INITIAL]; in ackm_get_loss_time_and_space() local
818 if (ossl_time_is_zero(time) in ackm_get_loss_time_and_space()
820 time = ackm->loss_time[i]; in ackm_get_loss_time_and_space()
825 return time; in ackm_get_loss_time_and_space()
961 loss_info.tx_time = p->time; in ackm_on_pkts_lost()
1009 ainfo.tx_time = apkt->time; in ackm_on_pkts_acked()
1083 if (ossl_time_is_zero(pkt->time) in ossl_ackm_on_tx_packet()
1085 pkt->time) > 0) in ossl_ackm_on_tx_packet()
1140 ecn_info.largest_acked_time = pkt->time; in ackm_process_ecn()
[all …]
/openssl/ssl/
H A Dssl_asn1.c26 int64_t time; member
58 ASN1_EXP_OPT_EMBED(SSL_SESSION_ASN1, time, ZINT64, 1),
171 as.time = (int64_t)ossl_time_to_time_t(in->time); in i2d_SSL_SESSION()
324 if (as->time != 0) in d2i_SSL_SESSION_ex()
325 ret->time = ossl_time_from_time_t(as->time); in d2i_SSL_SESSION_ex()
327 ret->time = ossl_time_now(); in d2i_SSL_SESSION_ex()
/openssl/doc/designs/
H A Dossl-provider-load-ex.md1 OSSL_PROVIDER_load_ex - activating providers with run-time configuration
4 Currently any provider run-time activation requires the presence of the
24 intended to configure the provider at load time.
43 2. Load/activate a provider run-time with parameters
/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()

Completed in 90 milliseconds

12345678910>>...14