Lines Matching defs:now
314 /* Only MFG1 is recognised for now */
470 * Name ::= CHOICE { -- only one possibility for now --
1052 int mbedtls_x509_time_gmtime(mbedtls_time_t tt, mbedtls_x509_time *now)
1060 now->year = tm.tm_year + 1900;
1061 now->mon = tm.tm_mon + 1;
1062 now->day = tm.tm_mday;
1063 now->hour = tm.tm_hour;
1064 now->min = tm.tm_min;
1065 now->sec = tm.tm_sec;
1069 static int x509_get_current_time(mbedtls_x509_time *now)
1071 return mbedtls_x509_time_gmtime(mbedtls_time(NULL), now);
1076 mbedtls_x509_time now;
1078 if (x509_get_current_time(&now) != 0) {
1082 return mbedtls_x509_time_cmp(to, &now) < 0;
1087 mbedtls_x509_time now;
1089 if (x509_get_current_time(&now) != 0) {
1093 return mbedtls_x509_time_cmp(from, &now) > 0;