Home
last modified time | relevance | path

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

/mbedtls-development/library/
A Dx509.c502 CHECK_RANGE( 0, 9999, t->year ); in x509_date_is_valid()
516 if( ( !( t->year % 4 ) && t->year % 100 ) || in x509_date_is_valid()
552 if ( tm->year < 50 ) in x509_parse_time()
553 tm->year += 100; in x509_parse_time()
555 tm->year += 1900; in x509_parse_time()
930 if( before->year > after->year ) in x509_check_time()
933 if( before->year == after->year && in x509_check_time()
937 if( before->year == after->year && in x509_check_time()
942 if( before->year == after->year && in x509_check_time()
948 if( before->year == after->year && in x509_check_time()
[all …]
A Dx509_crl.c648 crl->this_update.year, crl->this_update.mon, in mbedtls_x509_crl_info()
655 crl->next_update.year, crl->next_update.mon, in mbedtls_x509_crl_info()
677 entry->revocation_date.year, entry->revocation_date.mon, in mbedtls_x509_crl_info()
A Dx509_crt.c2112 crt->valid_from.year, crt->valid_from.mon, in mbedtls_x509_crt_info()
2119 crt->valid_to.year, crt->valid_to.mon, in mbedtls_x509_crt_info()
/mbedtls-development/include/mbedtls/
A Dx509.h249 int year, mon, day; /**< Date. */ member
/mbedtls-development/tests/suites/
A Dtest_suite_x509parse.function1211 void x509_get_time( int tag, char * time_str, int ret, int year, int mon,
1230 TEST_ASSERT( year == time.year );
A Dtest_suite_x509parse.data2603 X509 Get time (UTC year without leap day)
2607 X509 Get time (UTC year with leap day)
2667 X509 Get time (UTC invalid character in year)
2691 X509 Get time (Generalized Time, year multiple of 100 but not 400 is not a leap year)
2695 X509 Get time (Generalized Time, year multiple of 4 but not 100 is a leap year)
2699 X509 Get time (Generalized Time, year multiple of 400 is a leap year)
2703 X509 Get time (Generalized Time invalid leap year not multiple of 4, 100 or 400)
/mbedtls-development/
A DChangeLog2262 * Fix leap year calculation in x509_date_is_valid() to ensure that invalid

Completed in 27 milliseconds