Home
last modified time | relevance | path

Searched refs:current_time (Results 1 – 3 of 3) sorted by relevance

/optee_os/lib/libmbedtls/mbedtls/library/
A Dssl_ticket.c106 uint32_t current_time = (uint32_t) mbedtls_time( NULL ); in ssl_ticket_update_keys()
109 if( current_time >= key_time && in ssl_ticket_update_keys()
110 current_time - key_time < ctx->ticket_lifetime ) in ssl_ticket_update_keys()
370 mbedtls_time_t current_time = mbedtls_time( NULL ); in mbedtls_ssl_ticket_parse() local
372 if( current_time < session->start || in mbedtls_ssl_ticket_parse()
373 (uint32_t)( current_time - session->start ) > ctx->ticket_lifetime ) in mbedtls_ssl_ticket_parse()
/optee_os/core/kernel/
A Dtee_ta_manager.c469 TEE_Time current_time; in set_invoke_timeout() local
475 if (tee_time_get_sys_time(&current_time) != TEE_SUCCESS) in set_invoke_timeout()
478 if (ADD_OVERFLOW(current_time.seconds, cancel_req_to / 1000, in set_invoke_timeout()
482 cancel_time.millis = current_time.millis + cancel_req_to % 1000; in set_invoke_timeout()
484 if (ADD_OVERFLOW(current_time.seconds, 1, in set_invoke_timeout()
843 TEE_Time current_time; in tee_ta_session_is_cancelled() local
855 current_time = *curr_time; in tee_ta_session_is_cancelled()
856 else if (tee_time_get_sys_time(&current_time) != TEE_SUCCESS) in tee_ta_session_is_cancelled()
859 if (current_time.seconds > s->cancel_time.seconds || in tee_ta_session_is_cancelled()
860 (current_time.seconds == s->cancel_time.seconds && in tee_ta_session_is_cancelled()
[all …]
/optee_os/core/tee/
A Dtee_svc.c975 TEE_Time current_time = { }; in syscall_wait() local
982 res = tee_time_get_sys_time(&current_time); in syscall_wait()
987 &current_time)) in syscall_wait()
990 mytime = (current_time.seconds - base_time.seconds) * 1000 + in syscall_wait()
991 (int)current_time.millis - (int)base_time.millis; in syscall_wait()

Completed in 6 milliseconds