Searched refs:mbedtls_time (Results 1 – 16 of 16) sorted by relevance
57 extern mbedtls_time_t (*mbedtls_time)(mbedtls_time_t *time);69 #define mbedtls_time MBEDTLS_PLATFORM_TIME_MACRO macro71 #define mbedtls_time time macro
56 mbedtls_time_t current = mbedtls_time(NULL);96 mbedtls_time_t current = mbedtls_time(NULL);101 elapsed_secs = mbedtls_time(NULL) - current;104 * `mbedtls_time()` was defined as c99 function `time()`, returns the number
277 mbedtls_time_t (*mbedtls_time)(mbedtls_time_t *timer) = MBEDTLS_PLATFORM_STD_TIME; variable281 mbedtls_time = time_func; in mbedtls_platform_set_time()
76 key->generation_time = mbedtls_time(NULL); in ssl_ticket_gen_key()125 mbedtls_time_t current_time = mbedtls_time(NULL); in ssl_ticket_update_keys()204 key->generation_time = mbedtls_time(NULL); in mbedtls_ssl_ticket_rotate()
44 mbedtls_time_t t = mbedtls_time(NULL); in ssl_cache_find_entry()136 mbedtls_time_t t = mbedtls_time(NULL), oldest = 0; in ssl_cache_pick_writing_slot()
205 t = (unsigned long) mbedtls_time(NULL); in mbedtls_ssl_cookie_write()357 cur_time = (unsigned long) mbedtls_time(NULL); in mbedtls_ssl_cookie_check()
719 mbedtls_time_t gmt_unix_time = mbedtls_time(NULL); in ssl_generate_random()
1072 return mbedtls_x509_time_gmtime(mbedtls_time(NULL), now); in x509_get_current_time()
2198 t = mbedtls_time(NULL); in ssl_write_server_hello()2258 ssl->session_negotiate->start = mbedtls_time(NULL); in ssl_write_server_hello()
1702 ssl->session_negotiate->start = mbedtls_time(NULL); in ssl_tls13_parse_server_hello()
2018 ssl->session_negotiate->start = mbedtls_time(NULL); in ssl_tls13_prepare_server_hello()
2529 if (mbedtls_x509_time_gmtime(mbedtls_time(NULL), &now) != 0) { in x509_crt_verify_chain()
1376 ssl->session_negotiate->start = mbedtls_time(NULL); in ssl_parse_server_hello()
24 #define mbedtls_time time macro792 opt.seed = (unsigned int) mbedtls_time(NULL); in main()
1679 session->start = mbedtls_time(NULL) - 42; in mbedtls_test_ssl_tls12_populate_session()
3855 function mbedtls_time() instead. Found by wairua. #666