Home
last modified time | relevance | path

Searched refs:year (Results 1 – 10 of 10) sorted by relevance

/mbedtls-latest/library/
Dx509.c569 unsigned int year; in x509_date_is_valid() local
578 year = (unsigned int) t->year; in x509_date_is_valid()
579 month_days = ((year & 3) || (!(year % 100) in x509_date_is_valid()
580 && (year % 400))) in x509_date_is_valid()
589 (unsigned int) t->year > 9999 || /* (0 - 9999) */ in x509_date_is_valid()
618 tm->year = x509_parse2_int(p); in x509_parse_time()
619 if (tm->year < 0) { in x509_parse_time()
624 x = tm->year * 100; in x509_parse_time()
626 tm->year = x509_parse2_int(p); in x509_parse_time()
627 if (tm->year < 0) { in x509_parse_time()
[all …]
Dx509_crl.c616 crl->this_update.year, crl->this_update.mon, in mbedtls_x509_crl_info()
623 crl->next_update.year, crl->next_update.mon, in mbedtls_x509_crl_info()
644 entry->revocation_date.year, entry->revocation_date.mon, in mbedtls_x509_crl_info()
Dx509_crt.c1791 crt->valid_from.year, crt->valid_from.mon, in mbedtls_x509_crt_info()
1798 crt->valid_to.year, crt->valid_to.mon, in mbedtls_x509_crt_info()
/mbedtls-latest/include/mbedtls/
Dx509.h247 int year, mon, day; /**< Date. */ member
/mbedtls-latest/tests/suites/
Dtest_suite_x509parse.function1599 void x509_get_time(int tag, char *time_str, int ret, int year, int mon,
1618 TEST_EQUAL(year, time.year);
Dtest_suite_x509parse.data3178 X509 Get time (UTC year without leap day)
3182 X509 Get time (UTC year with leap day)
3242 X509 Get time (UTC invalid character in year)
3266 X509 Get time (Generalized Time, year multiple of 100 but not 400 is not a leap year)
3270 X509 Get time (Generalized Time, year multiple of 4 but not 100 is a leap year)
3274 X509 Get time (Generalized Time, year multiple of 400 is a leap year)
3278 X509 Get time (Generalized Time invalid leap year not multiple of 4, 100 or 400)
Dtest_suite_x509write.function581 // UTC tag if before 2050, 2 digits less for year
/mbedtls-latest/
DBRANCHES.md28 a 3 year support lifetime. On this basis, 3.6 LTS (released March 2024) will be
DLICENSE508 Copyright (C) <year> <name of author>
529 Gnomovision version 69, Copyright (C) year name of author
DChangeLog3908 * Fix leap year calculation in x509_date_is_valid() to ensure that invalid