mbedtls_ms_time() function
Get time in milliseconds. \warning This function returns a monotonically-increasing time value from a start time that will differ from platform to platform, and possibly from run to run of the process.
Return value
Monotonically-increasing current time in milliseconds.
Notes
Define MBEDTLS_PLATFORM_MS_TIME_ALT to be able to provide an alternative implementation
![]()
ticket_age = mbedtls_ms_time() - ticket_creation_time;
mbedtls_ms_time() is called by 2 functions and calls 1 function:
![]()
mbedtls_ms_time()