/openssl/providers/implementations/rands/seeding/ |
H A D | rand_vxworks.c | 42 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 D | rand_unix.c | 145 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 D | o_time.c | 16 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 D | build.info | 8 err comp http ocsp cms ts srp cmac ct async ess crmf cmp encode_decode \
|
/openssl/crypto/asn1/ |
H A D | a_time.c | 274 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 D | a_gentm.c | 66 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 D | a_utctm.c | 60 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 D | asn1_local.h | 93 ASN1_TIME *ossl_asn1_time_from_tm(ASN1_TIME *s, struct tm *ts, int type);
|
/openssl/test/ |
H A D | cmp_vfy_test.c | 54 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 D | conf_api.c | 48 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 D | e_os.h | 295 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 D | ocsp_prn.c | 38 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 D | openssl-ts.pod.in | 6 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 D | openssl-cmds.pod.in | 54 ts, 135 L<openssl-ts(1)>,
|
H A D | tsget.pod | 29 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 D | build.info | 54 DEPEND[openssl-ts.pod]=../perlvars.pm
|
/openssl/apps/ |
H A D | cmp.c | 725 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 D | build.info | 31 IF[{- !$disabled{'ts'} -}] 32 $OPENSSLSRC=$OPENSSLSRC ts.c
|
H A D | openssl.cnf | 34 # We can add new OIDs in here for use by 'ca', 'req' and 'ts'.
|
/openssl/.github/workflows/ |
H A D | run-checker-ci.yml | 39 no-ts,
|
/openssl/doc/man3/ |
H A D | TS_RESP_CTX_new.pod | 10 #include <openssl/ts.h>
|
H A D | TS_VERIFY_CTX_set_certs.pod | 10 #include <openssl/ts.h>
|
/openssl/crypto/cmp/ |
H A D | cmp_vfy.c | 232 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 D | t_x509.c | 486 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 D | openssl.ec | 31 L TS include/openssl/tserr.h crypto/ts/ts_err.c include/cry…
|