Home
last modified time | relevance | path

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

/net-tools-3.4.0/mbedtls-2.4.0/library/
Dtiming.c398 unsigned long millisecs, secs; in mbedtls_timing_self_test() local
419 millisecs = mbedtls_timing_get_timer( &hires, 0 ); in mbedtls_timing_self_test()
423 if( millisecs < 800 * secs || millisecs > 1200 * secs + 300 ) in mbedtls_timing_self_test()
490 millisecs = 1; in mbedtls_timing_self_test()
492 busy_msleep( millisecs ); in mbedtls_timing_self_test()
494 ratio = cycles / millisecs; in mbedtls_timing_self_test()
497 for( millisecs = 2; millisecs <= 4; millisecs++ ) in mbedtls_timing_self_test()
500 busy_msleep( millisecs ); in mbedtls_timing_self_test()
504 if( cycles / millisecs < ratio - ratio / 5 || in mbedtls_timing_self_test()
505 cycles / millisecs > ratio + ratio / 5 ) in mbedtls_timing_self_test()
Dssl_tls.c77 static void ssl_set_timer( mbedtls_ssl_context *ssl, uint32_t millisecs ) in ssl_set_timer() argument
82 MBEDTLS_SSL_DEBUG_MSG( 3, ( "set_timer to %d ms", (int) millisecs ) ); in ssl_set_timer()
83 ssl->f_set_timer( ssl->p_timer, millisecs / 4, millisecs ); in ssl_set_timer()