Home
last modified time | relevance | path

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

/mbedtls-3.7.0/include/mbedtls/
Dplatform_time.h57 extern mbedtls_time_t (*mbedtls_time)(mbedtls_time_t *time);
69 #define mbedtls_time MBEDTLS_PLATFORM_TIME_MACRO macro
71 #define mbedtls_time time macro
/mbedtls-3.7.0/tests/suites/
Dtest_suite_platform.function56 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
/mbedtls-3.7.0/library/
Dplatform.c277 mbedtls_time_t (*mbedtls_time)(mbedtls_time_t *timer) = MBEDTLS_PLATFORM_STD_TIME; variable
281 mbedtls_time = time_func; in mbedtls_platform_set_time()
Dssl_ticket.c76 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()
Dssl_cache.c44 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()
Dssl_cookie.c205 t = (unsigned long) mbedtls_time(NULL); in mbedtls_ssl_cookie_write()
357 cur_time = (unsigned long) mbedtls_time(NULL); in mbedtls_ssl_cookie_check()
Dssl_client.c719 mbedtls_time_t gmt_unix_time = mbedtls_time(NULL); in ssl_generate_random()
Dx509.c1072 return mbedtls_x509_time_gmtime(mbedtls_time(NULL), now); in x509_get_current_time()
Dssl_tls12_server.c2198 t = mbedtls_time(NULL); in ssl_write_server_hello()
2258 ssl->session_negotiate->start = mbedtls_time(NULL); in ssl_write_server_hello()
Dssl_tls13_client.c1702 ssl->session_negotiate->start = mbedtls_time(NULL); in ssl_tls13_parse_server_hello()
Dssl_tls13_server.c2018 ssl->session_negotiate->start = mbedtls_time(NULL); in ssl_tls13_prepare_server_hello()
Dx509_crt.c2529 if (mbedtls_x509_time_gmtime(mbedtls_time(NULL), &now) != 0) { in x509_crt_verify_chain()
Dssl_tls12_client.c1376 ssl->session_negotiate->start = mbedtls_time(NULL); in ssl_parse_server_hello()
/mbedtls-3.7.0/programs/test/
Dudp_proxy.c24 #define mbedtls_time time macro
792 opt.seed = (unsigned int) mbedtls_time(NULL); in main()
/mbedtls-3.7.0/tests/src/test_helpers/
Dssl_helpers.c1679 session->start = mbedtls_time(NULL) - 42; in mbedtls_test_ssl_tls12_populate_session()
/mbedtls-3.7.0/
DChangeLog3855 function mbedtls_time() instead. Found by wairua. #666