Home
last modified time | relevance | path

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

/crypto/asymmetric_keys/
Dx509_cert_parser.c602 unsigned year, mon, day, hour, min, sec, mon_len; in x509_decode_time() local
611 year = DD2bin(p); in x509_decode_time()
612 if (year >= 50) in x509_decode_time()
613 year += 1900; in x509_decode_time()
615 year += 2000; in x509_decode_time()
620 year = DD2bin(p) * 100 + DD2bin(p); in x509_decode_time()
621 if (year >= 1950 && year <= 2049) in x509_decode_time()
636 if (year < 1970 || in x509_decode_time()
642 if (year % 4 == 0) { in x509_decode_time()
644 if (year % 100 == 0) { in x509_decode_time()
[all …]