Home
last modified time | relevance | path

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

/mbedtls-3.6.0/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.c615 crl->this_update.year, crl->this_update.mon, in mbedtls_x509_crl_info()
622 crl->next_update.year, crl->next_update.mon, in mbedtls_x509_crl_info()
643 entry->revocation_date.year, entry->revocation_date.mon, in mbedtls_x509_crl_info()
Dx509_crt.c1788 crt->valid_from.year, crt->valid_from.mon, in mbedtls_x509_crt_info()
1795 crt->valid_to.year, crt->valid_to.mon, in mbedtls_x509_crt_info()
/mbedtls-3.6.0/include/mbedtls/
Dx509.h247 int year, mon, day; /**< Date. */ member
/mbedtls-3.6.0/tests/suites/
Dtest_suite_x509parse.function1508 void x509_get_time(int tag, char *time_str, int ret, int year, int mon,
1527 TEST_EQUAL(year, time.year);
Dtest_suite_x509parse.data3146 X509 Get time (UTC year without leap day)
3150 X509 Get time (UTC year with leap day)
3210 X509 Get time (UTC invalid character in year)
3234 X509 Get time (Generalized Time, year multiple of 100 but not 400 is not a leap year)
3238 X509 Get time (Generalized Time, year multiple of 4 but not 100 is a leap year)
3242 X509 Get time (Generalized Time, year multiple of 400 is a leap year)
3246 X509 Get time (Generalized Time invalid leap year not multiple of 4, 100 or 400)
Dtest_suite_x509write.function593 // UTC tag if before 2050, 2 digits less for year
/mbedtls-3.6.0/
DLICENSE508 Copyright (C) <year> <name of author>
529 Gnomovision version 69, Copyright (C) year name of author
DChangeLog3453 * Fix leap year calculation in x509_date_is_valid() to ensure that invalid