Home
last modified time | relevance | path

Searched refs:ts (Results 1 – 25 of 34) sorted by relevance

12

/openssl/providers/implementations/rands/seeding/
H A Drand_vxworks.c42 struct timespec ts; in get_time_stamp() local
44 if (clock_gettime(CLOCK_REALTIME, &ts) == 0) in get_time_stamp()
45 return TWO32TO64(ts.tv_sec, ts.tv_nsec); in get_time_stamp()
52 struct timespec ts; in get_timer_bits() local
57 if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0) in get_timer_bits()
58 return TWO32TO64(ts.tv_sec, ts.tv_nsec); in get_timer_bits()
H A Drand_unix.c145 struct timespec ts; in ossl_pool_acquire_entropy() local
163 ts.tv_nsec = random(); in ossl_pool_acquire_entropy()
176 clock_gettime(CLOCK_REALTIME, &ts); in ossl_pool_acquire_entropy()
177 v = (unsigned char)(ts.tv_nsec & 0xFF); in ossl_pool_acquire_entropy()
812 struct timespec ts; in get_time_stamp() local
814 if (clock_gettime(CLOCK_REALTIME, &ts) == 0) in get_time_stamp()
815 return TWO32TO64(ts.tv_sec, ts.tv_nsec); in get_time_stamp()
855 struct timespec ts; in get_timer_bits() local
865 if (clock_gettime(CLOCK_TYPE, &ts) == 0) in get_timer_bits()
866 return TWO32TO64(ts.tv_sec, ts.tv_nsec); in get_timer_bits()
/openssl/crypto/
H A Do_time.c16 struct tm *ts = NULL; in OPENSSL_gmtime() local
38 ts = result; in OPENSSL_gmtime()
43 ts = result; in OPENSSL_gmtime()
47 ts = result; in OPENSSL_gmtime()
49 ts = gmtime(timer); in OPENSSL_gmtime()
50 if (ts == NULL) in OPENSSL_gmtime()
53 memcpy(result, ts, sizeof(struct tm)); in OPENSSL_gmtime()
54 ts = result; in OPENSSL_gmtime()
56 return ts; in OPENSSL_gmtime()
H A Dbuild.info8 err comp http ocsp cms ts srp cmac ct async ess crmf cmp encode_decode \
/openssl/crypto/asn1/
H A Da_time.c274 if (is_utc(ts->tm_year)) in ossl_asn1_time_from_tm()
279 if (!is_utc(ts->tm_year)) in ossl_asn1_time_from_tm()
300 ts->tm_year + 1900, ts->tm_mon + 1, in ossl_asn1_time_from_tm()
301 ts->tm_mday, ts->tm_hour, ts->tm_min, in ossl_asn1_time_from_tm()
302 ts->tm_sec); in ossl_asn1_time_from_tm()
305 ts->tm_year % 100, ts->tm_mon + 1, in ossl_asn1_time_from_tm()
306 ts->tm_mday, ts->tm_hour, ts->tm_min, in ossl_asn1_time_from_tm()
307 ts->tm_sec); in ossl_asn1_time_from_tm()
327 struct tm *ts; in ASN1_TIME_adj() local
330 ts = OPENSSL_gmtime(&t, &data); in ASN1_TIME_adj()
[all …]
H A Da_gentm.c66 struct tm *ts; in ASN1_GENERALIZEDTIME_adj() local
69 ts = OPENSSL_gmtime(&t, &data); in ASN1_GENERALIZEDTIME_adj()
70 if (ts == NULL) in ASN1_GENERALIZEDTIME_adj()
74 if (!OPENSSL_gmtime_adj(ts, offset_day, offset_sec)) in ASN1_GENERALIZEDTIME_adj()
78 return ossl_asn1_time_from_tm(s, ts, V_ASN1_GENERALIZEDTIME); in ASN1_GENERALIZEDTIME_adj()
H A Da_utctm.c60 struct tm *ts; in ASN1_UTCTIME_adj() local
63 ts = OPENSSL_gmtime(&t, &data); in ASN1_UTCTIME_adj()
64 if (ts == NULL) in ASN1_UTCTIME_adj()
68 if (!OPENSSL_gmtime_adj(ts, offset_day, offset_sec)) in ASN1_UTCTIME_adj()
72 return ossl_asn1_time_from_tm(s, ts, V_ASN1_UTCTIME); in ASN1_UTCTIME_adj()
H A Dasn1_local.h93 ASN1_TIME *ossl_asn1_time_from_tm(ASN1_TIME *s, struct tm *ts, int type);
/openssl/test/
H A Dcmp_vfy_test.c54 X509_STORE *ts; in set_up() local
60 ts = X509_STORE_new(); in set_up()
62 if (ts == NULL in set_up()
67 X509_STORE_free(ts); in set_up()
207 X509_STORE *ts; in test_validate_msg_signature_partial_chain() local
214 if (ts == NULL in test_validate_msg_signature_partial_chain()
584 struct tm ts = { 0 }; in OPT_TEST_DECLARE_USAGE() local
586 ts.tm_year = 2018 - 1900; /* 2018 */ in OPT_TEST_DECLARE_USAGE()
587 ts.tm_mon = 1; /* February */ in OPT_TEST_DECLARE_USAGE()
588 ts.tm_mday = 18; /* 18th */ in OPT_TEST_DECLARE_USAGE()
[all …]
/openssl/crypto/conf/
H A Dconf_api.c48 STACK_OF(CONF_VALUE) *ts; in _CONF_add_string()
50 ts = (STACK_OF(CONF_VALUE) *)section->value; in _CONF_add_string()
53 if (!sk_CONF_VALUE_push(ts, value)) in _CONF_add_string()
58 (void)sk_CONF_VALUE_delete_ptr(ts, v); in _CONF_add_string()
/openssl/include/internal/
H A De_os.h295 struct timespec ts; in ossl_sleep() local
296 ts.tv_sec = (long int) (millis / 1000); in ossl_sleep()
297 ts.tv_nsec = (long int) (millis % 1000) * 1000000ul; in ossl_sleep()
298 nanosleep(&ts, NULL); in ossl_sleep()
/openssl/crypto/ocsp/
H A Docsp_prn.c38 static const char *do_table2string(long s, const OCSP_TBLSTR *ts, size_t len) in do_table2string() argument
41 for (i = 0; i < len; i++, ts++) in do_table2string()
42 if (ts->t == s) in do_table2string()
43 return ts->m; in do_table2string()
/openssl/doc/man1/
H A Dopenssl-ts.pod.in6 openssl-ts - Time Stamping Authority command
10 B<openssl> B<ts>
13 B<openssl> B<ts>
28 B<openssl> B<ts>
46 B<openssl> B<ts>
509 openssl ts -query -data design1.txt -no_nonce \
520 openssl ts -query -in design1.tsq -text
527 openssl ts -query -data design2.txt -sha512 \
551 openssl ts -reply -queryfile design1.tsq -out design1.tsr
555 openssl ts -reply -in design1.tsr -text
[all …]
H A Dopenssl-cmds.pod.in54 ts,
135 L<openssl-ts(1)>,
H A Dtsget.pod29 and verifying responses, you have to use L<openssl-ts(1)> to do that. This
158 openssl ts -query -data file3.txt -cert | tee file3.tsq \
189 L<openssl-ts(1)>,
H A Dbuild.info54 DEPEND[openssl-ts.pod]=../perlvars.pm
/openssl/apps/
H A Dcmp.c725 X509_VERIFY_PARAM *ts_vpm = X509_STORE_get0_param(ts); in truststore_set_host_etc()
915 if (ts == NULL) in load_trusted()
920 if (X509_STORE_set1_param(ts, vpm /* may be NULL */) in load_trusted()
922 return ts; in load_trusted()
925 X509_STORE_free(ts); in load_trusted()
1067 X509_STORE *ts = in setup_srv_ctx() local
1070 if (ts == NULL || !OSSL_CMP_CTX_set0_trusted(ctx, ts)) { in setup_srv_ctx()
1071 X509_STORE_free(ts); in setup_srv_ctx()
1172 X509_STORE *ts; in setup_verification_ctx() local
1198 if (ts == NULL || !OSSL_CMP_CTX_set0_trusted(ctx, ts)) { in setup_verification_ctx()
[all …]
H A Dbuild.info31 IF[{- !$disabled{'ts'} -}]
32 $OPENSSLSRC=$OPENSSLSRC ts.c
H A Dopenssl.cnf34 # We can add new OIDs in here for use by 'ca', 'req' and 'ts'.
/openssl/.github/workflows/
H A Drun-checker-ci.yml39 no-ts,
/openssl/doc/man3/
H A DTS_RESP_CTX_new.pod10 #include <openssl/ts.h>
H A DTS_VERIFY_CTX_set_certs.pod10 #include <openssl/ts.h>
/openssl/crypto/cmp/
H A Dcmp_vfy.c232 X509_STORE *ts = ctx->trusted; in cert_acceptable() local
235 X509_VERIFY_PARAM *vpm = ts != NULL ? X509_STORE_get0_param(ts) : NULL; in cert_acceptable()
/openssl/crypto/x509/
H A Dt_x509.c486 X509_STORE *ts = X509_STORE_CTX_get0_store(ctx); in X509_STORE_CTX_print_verify_cb() local
487 X509_VERIFY_PARAM *vpm = X509_STORE_get0_param(ts); in X509_STORE_CTX_print_verify_cb()
/openssl/crypto/err/
H A Dopenssl.ec31 L TS include/openssl/tserr.h crypto/ts/ts_err.c include/cry…

Completed in 58 milliseconds

12