Home
last modified time | relevance | path

Searched refs:V_ASN1_UTCTIME (Results 1 – 16 of 16) sorted by relevance

/freebsd/crypto/openssl/test/
H A Dasn1_time_test.c37 { "19700101000000Z", V_ASN1_UTCTIME, V_ASN1_UTCTIME, 0, 0, 0, 0, },
38 { "A00101000000Z", V_ASN1_UTCTIME, V_ASN1_UTCTIME, 0, 0, 0, 0, },
53 { "700101000000X", V_ASN1_UTCTIME, V_ASN1_UTCTIME, 0, 0, 0, 0, },
55 …{ "19700101000000Z", V_ASN1_GENERALIZEDTIME, V_ASN1_UTCTIME, 1, 0, -1, 1, }, /…
56 …{ "700101000000Z", V_ASN1_UTCTIME, V_ASN1_UTCTIME, 1, 0, -1, 1, }, /…
57 …{ "20380119031407Z", V_ASN1_GENERALIZEDTIME, V_ASN1_UTCTIME, 1, 0x7FFFFFFF, 1, 1, }, /…
58 { "380119031407Z", V_ASN1_UTCTIME, V_ASN1_UTCTIME, 1, 0x7FFFFFFF, 1, 1, },
59 …{ "20371231235959Z", V_ASN1_GENERALIZEDTIME, V_ASN1_UTCTIME, 1, 2145916799, 1, 1, }, /…
60 …{ "20371231235959Z", V_ASN1_UTCTIME, V_ASN1_UTCTIME, 0, 0, 0, 1, }, /…
61 { "371231235959Z", V_ASN1_UTCTIME, V_ASN1_UTCTIME, 1, 2145916799, 1, 1, },
[all …]
H A Dtime_offset_test.c42 { "001201000000Z", 0, V_ASN1_UTCTIME },
43 { "001201010000+0100", 0, V_ASN1_UTCTIME },
44 { "001201050000+0500", 0, V_ASN1_UTCTIME },
45 { "001130230000-0100", 0, V_ASN1_UTCTIME },
46 { "001130190000-0500", 0, V_ASN1_UTCTIME },
47 { "001201000000-0000", 0, V_ASN1_UTCTIME },
48 { "001201000001-0000", 1, V_ASN1_UTCTIME }, /* +1 second */
49 { "001130235959-0000", -1, V_ASN1_UTCTIME }, /* -1 second */
52 { "001201000000+0100", -1, V_ASN1_UTCTIME },
54 { "001201000000-0100", 1, V_ASN1_UTCTIME },
H A Dx509_time_test.c92 "20170217180154Z", 1, 1, V_ASN1_UTCTIME, "170217180154Z",
129 "170217180154Z", 1, 1, V_ASN1_UTCTIME, "170217180154Z",
133 "981223180154Z", 1, 1, V_ASN1_UTCTIME, "981223180154Z",
155 "170217180154Z", V_ASN1_UTCTIME,
160 "170217180154Z", V_ASN1_UTCTIME,
165 "170217180154Z", V_ASN1_UTCTIME,
171 "990217180154Z", V_ASN1_UTCTIME,
176 "990217180154Z", V_ASN1_UTCTIME,
181 "990217180154Z", V_ASN1_UTCTIME,
192 "170217180154", V_ASN1_UTCTIME, 0, 0,
[all …]
/freebsd/crypto/openssl/crypto/asn1/
H A Da_utctm.c23 if (d->type != V_ASN1_UTCTIME) in IMPLEMENT_ASN1_DUP_FUNCTION()
38 t.type = V_ASN1_UTCTIME; in ASN1_UTCTIME_set_string()
72 return ossl_asn1_time_from_tm(s, ts, V_ASN1_UTCTIME); in ASN1_UTCTIME_adj()
98 if (tm->type != V_ASN1_UTCTIME) in ASN1_UTCTIME_print()
H A Da_time.c97 if (d->type == V_ASN1_UTCTIME) { in ossl_asn1_time_to_tm()
147 i2 = (d->type == V_ASN1_UTCTIME) ? i + 1 : i; in ossl_asn1_time_to_tm()
157 if (d->type == V_ASN1_UTCTIME) in ossl_asn1_time_to_tm()
239 i2 = (d->type == V_ASN1_UTCTIME) ? i + 1 : i; in ossl_asn1_time_to_tm()
275 type = V_ASN1_UTCTIME; in ossl_asn1_time_from_tm()
278 } else if (type == V_ASN1_UTCTIME) { in ossl_asn1_time_from_tm()
346 else if (t->type == V_ASN1_UTCTIME) in ASN1_TIME_check()
390 t.type = V_ASN1_UTCTIME; in ASN1_TIME_set_string_X509()
428 t.type = V_ASN1_UTCTIME; in ASN1_TIME_set_string_X509()
H A Dasn1_gen.c511 ASN1_GEN_STR("UTCTIME", V_ASN1_UTCTIME), in asn1_str2tag()
512 ASN1_GEN_STR("UTC", V_ASN1_UTCTIME), in asn1_str2tag()
638 case V_ASN1_UTCTIME: in asn1_str2type()
H A Da_type.c91 case V_ASN1_UTCTIME: in ASN1_TYPE_cmp()
H A Dasn1_parse.c178 (tag == V_ASN1_UTCTIME) || (tag == V_ASN1_GENERALIZEDTIME)) { in asn1_parse2()
H A Dtasn_prn.c502 case V_ASN1_UTCTIME: in asn1_primitive_print()
H A Dtasn_enc.c614 case V_ASN1_UTCTIME: in asn1_ex_i2c()
H A Dtasn_dec.c904 case V_ASN1_UTCTIME: in asn1_ex_c2i()
/freebsd/crypto/openssl/crypto/pkcs7/
H A Dpk7_attr.c109 V_ASN1_UTCTIME, t)) { in PKCS7_add0_attrib_signing_time()
/freebsd/crypto/openssl/crypto/x509/
H A Dx509_vfy.c1880 case V_ASN1_UTCTIME: in X509_cmp_time()
1972 if (s->type == V_ASN1_UTCTIME) in X509_time_adj_ex()
/freebsd/crypto/openssl/include/openssl/
H A Dasn1.h79 # define V_ASN1_UTCTIME 23 macro
H A Dasn1.h.in80 # define V_ASN1_UTCTIME 23 macro
/freebsd/crypto/openssl/
H A DCHANGES.md14063 Previously it initialised the 'type' argument to V_ASN1_UTCTIME which
14066 and use ASN1_TIME_set() if the value is not V_ASN1_UTCTIME or