Home
last modified time | relevance | path

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

/mbedtls-3.5.0/programs/x509/
Dload_roots.c123 struct mbedtls_timing_hr_time timer; in main() local
178 (void) mbedtls_timing_get_timer(&timer, 1); in main()
185 ms = mbedtls_timing_get_timer(&timer, 0); in main()
/mbedtls-3.5.0/library/
Dplatform.c280 static mbedtls_time_t platform_time_uninit(mbedtls_time_t *timer) in platform_time_uninit() argument
282 ((void) timer); in platform_time_uninit()
289 mbedtls_time_t (*mbedtls_time)(mbedtls_time_t *timer) = MBEDTLS_PLATFORM_STD_TIME;
291 int mbedtls_platform_set_time(mbedtls_time_t (*time_func)(mbedtls_time_t *timer)) in mbedtls_platform_set_time() argument
Dtiming.c128 (void) mbedtls_timing_get_timer(&ctx->timer, 1); in mbedtls_timing_set_delay()
144 elapsed_ms = mbedtls_timing_get_timer(&ctx->timer, 0); in mbedtls_timing_get_delay()
/mbedtls-3.5.0/programs/fuzz/
Dfuzz_dtlsclient.c42 mbedtls_timing_delay_context timer; in LLVMFuzzerTestOneInput() local
87 mbedtls_ssl_set_timer_cb(&ssl, &timer, mbedtls_timing_set_delay, in LLVMFuzzerTestOneInput()
Dfuzz_dtlsserver.c47 mbedtls_timing_delay_context timer; in LLVMFuzzerTestOneInput() local
117 mbedtls_ssl_set_timer_cb(&ssl, &timer, mbedtls_timing_set_delay, in LLVMFuzzerTestOneInput()
/mbedtls-3.5.0/programs/ssl/
Dssl_test_lib.c380 mbedtls_timing_delay_context *timer, in idle()
401 if (timer != NULL && in idle()
402 mbedtls_timing_get_delay(timer) == 2) { in idle()
Ddtls_client.c95 mbedtls_timing_delay_context timer; in main() local
192 mbedtls_ssl_set_timer_cb(&ssl, &timer, mbedtls_timing_set_delay, in main()
Ddtls_server.c104 mbedtls_timing_delay_context timer; in main() local
237 mbedtls_ssl_set_timer_cb(&ssl, &timer, mbedtls_timing_set_delay, in main()
Dssl_client2.c792 mbedtls_timing_delay_context timer; in main() local
2107 mbedtls_ssl_set_timer_cb(&ssl, &timer, mbedtls_timing_set_delay, in main()
2207 ret = idle(&server_fd, &timer, ret); in main()
2450 idle(&server_fd, &timer, ret); in main()
2522 idle(&server_fd, &timer, ret); in main()
2550 idle(&server_fd, &timer, ret); in main()
2609 idle(&server_fd, &timer, ret); in main()
2711 idle(&server_fd, &timer, ret); in main()
2775 idle(&server_fd, &timer, ret); in main()
2895 mbedtls_ssl_set_timer_cb(&ssl, &timer, in main()
Dssl_test_lib.h273 mbedtls_timing_delay_context *timer,
Dssl_server2.c1492 mbedtls_timing_delay_context timer; in main() local
3275 mbedtls_ssl_set_timer_cb(&ssl, &timer, mbedtls_timing_set_delay, in main()
3452 ret = idle(&client_fd, &timer, ret); in main()
3705 idle(&client_fd, &timer, ret); in main()
3807 idle(&client_fd, &timer, MBEDTLS_ERR_SSL_WANT_READ); in main()
3858 idle(&client_fd, &timer, ret); in main()
3925 idle(&client_fd, &timer, ret); in main()
3943 idle(&client_fd, &timer, ret); in main()
4092 mbedtls_ssl_set_timer_cb(&ssl, &timer, in main()
/mbedtls-3.5.0/tests/suites/
Dtest_suite_timing.data1 Timing: get timer
/mbedtls-3.5.0/include/mbedtls/
Dtiming.h49 struct mbedtls_timing_hr_time MBEDTLS_PRIVATE(timer);