Home
last modified time | relevance | path

Searched refs:now (Results 1 – 15 of 15) sorted by relevance

/optee_os/lib/libmbedtls/mbedtls/library/
H A Dtiming.c75 LARGE_INTEGER now, hfreq; in mbedtls_timing_get_timer() local
76 QueryPerformanceCounter(&now); in mbedtls_timing_get_timer()
78 delta = (unsigned long) ((now.QuadPart - t->start.QuadPart) * 1000ul in mbedtls_timing_get_timer()
95 struct timeval now; in mbedtls_timing_get_timer() local
96 gettimeofday(&now, NULL); in mbedtls_timing_get_timer()
97 delta = (now.tv_sec - t->start.tv_sec) * 1000ul in mbedtls_timing_get_timer()
98 + (now.tv_usec - t->start.tv_usec) / 1000; in mbedtls_timing_get_timer()
H A Dx509.c1053 int mbedtls_x509_time_gmtime(mbedtls_time_t tt, mbedtls_x509_time *now) in mbedtls_x509_time_gmtime() argument
1061 now->year = tm.tm_year + 1900; in mbedtls_x509_time_gmtime()
1062 now->mon = tm.tm_mon + 1; in mbedtls_x509_time_gmtime()
1063 now->day = tm.tm_mday; in mbedtls_x509_time_gmtime()
1064 now->hour = tm.tm_hour; in mbedtls_x509_time_gmtime()
1065 now->min = tm.tm_min; in mbedtls_x509_time_gmtime()
1066 now->sec = tm.tm_sec; in mbedtls_x509_time_gmtime()
1070 static int x509_get_current_time(mbedtls_x509_time *now) in x509_get_current_time() argument
1072 return mbedtls_x509_time_gmtime(mbedtls_time(NULL), now); in x509_get_current_time()
1077 mbedtls_x509_time now; in mbedtls_x509_time_is_past() local
[all …]
H A Dx509_crt.c2013 const mbedtls_x509_time *now) in x509_crt_verifycrl() argument
2095 if (mbedtls_x509_time_cmp(&crl_list->next_update, now) < 0) { in x509_crt_verifycrl()
2099 if (mbedtls_x509_time_cmp(&crl_list->this_update, now) > 0) { in x509_crt_verifycrl()
2103 ((void) now); in x509_crt_verifycrl()
2263 const mbedtls_x509_time *now) in x509_crt_find_parent_in() argument
2328 if (mbedtls_x509_time_cmp(&parent->valid_to, now) < 0 || /* past */ in x509_crt_find_parent_in()
2329 mbedtls_x509_time_cmp(&parent->valid_from, now) > 0) { /* future */ in x509_crt_find_parent_in()
2338 ((void) now); in x509_crt_find_parent_in()
2386 const mbedtls_x509_time *now) in x509_crt_find_parent() argument
2407 path_cnt, self_cnt, rs_ctx, now); in x509_crt_find_parent()
[all …]
H A Dssl_client.c755 mbedtls_ms_time_t now = mbedtls_ms_time(); in ssl_prepare_client_hello() local
756 mbedtls_ms_time_t age = now - session_negotiate->ticket_reception_time; in ssl_prepare_client_hello()
H A Dssl_tls13_server.c193 mbedtls_ms_time_t now; in ssl_tls13_offered_psks_check_identity_match_ticket() local
261 now = mbedtls_ms_time(); in ssl_tls13_offered_psks_check_identity_match_ticket()
263 if (now < session->ticket_creation_time) { in ssl_tls13_offered_psks_check_identity_match_ticket()
267 now, session->ticket_creation_time)); in ssl_tls13_offered_psks_check_identity_match_ticket()
271 server_age = now - session->ticket_creation_time; in ssl_tls13_offered_psks_check_identity_match_ticket()
H A Dssl_tls13_client.c933 mbedtls_ms_time_t now = mbedtls_ms_time(); in mbedtls_ssl_tls13_write_identities_of_pre_shared_key_ext() local
940 (uint32_t) (now - session->ticket_reception_time); in mbedtls_ssl_tls13_write_identities_of_pre_shared_key_ext()
/optee_os/core/kernel/
H A Dcallout.c117 uint64_t now = 0; in callout_service_init() local
127 now = desc->get_now(desc); in callout_service_init()
140 co->expiry_value = now + co->period; in callout_service_init()
152 uint64_t now = 0; in callout_service_cb() local
175 now = desc->get_now(desc); in callout_service_cb()
178 if (co->expiry_value > now) in callout_service_cb()
H A Dtee_ta_manager.c143 * TA is busy, as waiting now would only cause a in tee_ta_try_set_busy()
1092 uint64_t now) in gprof_update_session_utime()
1101 sbuf->usr += now - sbuf->usr_entered; in gprof_update_session_utime()
1105 if (!now) in gprof_update_session_utime()
1106 now++; /* 0 is reserved */ in gprof_update_session_utime()
1107 sbuf->usr_entered = now; in gprof_update_session_utime()
1119 uint64_t now = barrier_read_counter_timer(); in tee_ta_update_session_utime()
1121 gprof_update_session_utime(suspend, s, now); in tee_ta_update_session_utime()
1140 uint64_t now = 0; in ftrace_update_times()
1146 now in ftrace_update_times()
1091 gprof_update_session_utime(bool suspend,struct ts_session * s,uint64_t now) gprof_update_session_utime() argument
1118 uint64_t now = barrier_read_counter_timer(); tee_ta_update_session_utime() local
1139 uint64_t now = 0; ftrace_update_times() local
[all...]
/optee_os/lib/libutils/ext/ftrace/
H A Dftrace.c92 uint64_t now = barrier_read_counter_timer(); in ftrace_enter() local
102 fbuf->begin_time[fbuf->ret_idx] = now; in ftrace_enter()
121 uint64_t now = barrier_read_counter_timer(); in ftrace_return() local
132 elapsed = (now - start) * 1000000000 / read_cntfrq(); in ftrace_return()
/optee_os/lib/libmbedtls/mbedtls/
H A DChangeLog80 non-default members of the union. The PSA core now ensures that this
97 as long as they had at most two trailing equal signs. They are now
108 * The function mbedtls_x509_string_to_names() now requires its head argument
117 mbedtls_ssl_handshake() now fails with
132 * MD module can now perform PSA dispatching also when
145 The library will now prevent the handshake and return
221 * A TLS handshake may now call psa_crypto_init() if TLS 1.3 is enabled.
224 * By default, the handling of TLS 1.3 tickets by the Mbed TLS client is now
226 signalled by MBEDTLS_ERR_SSL_RECEIVED_NEW_SESSION_TICKET return values now
309 * MBEDTLS_ASN1_PARSE_C and MBEDTLS_ASN1_WRITE_C are now automatically enabled
[all …]
H A DREADME.md184 You can now make the desired change:
/optee_os/core/drivers/
H A Dstm32_iwdg.c396 TEE_Time now = { }; in iwdg_wdt_get_timeleft() local
403 res = tee_time_get_sys_time(&now); in iwdg_wdt_get_timeleft()
411 if (TEE_TIME_LE(time, now)) { in iwdg_wdt_get_timeleft()
414 TEE_TIME_SUB(time, now, time); in iwdg_wdt_get_timeleft()
/optee_os/core/lib/libtomcrypt/src/prngs/
H A Dfortuna.c116 ulong64 now = s_fortuna_current_time(); in s_fortuna_reseed() local
117 if (now == prng->u.fortuna.wd) { in s_fortuna_reseed()
169 prng->u.fortuna.wd = now; in s_fortuna_reseed()
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
H A Dx509.h398 int mbedtls_x509_time_gmtime(mbedtls_time_t tt, mbedtls_x509_time *now);
/optee_os/
H A DCHANGELOG.md1331 for UUIDs has changed in tee-supplicant, so that TA file names now follow
1446 * GPIO: framework supports multiple instances, PL061 driver now has get/set
1459 now supported in AArch32 mode
1618 * RPMB support: Secure Storage can now use Replay Protected Memory Block (RPMB) partition
1621 * Hard-float ABI is now available.
1661 * Softfloat library: floating point support is now available in 32bits TA.
1720 OP-TEE is now maintained by Linaro. Contributors do not need to
1732 * Secure Storage: Files stored by the REE are now encrypted. Operations
1803 * AArch64 build of optee_os is now possible through the configuration `CFG_ARM64_core=y`
1834 Linux Driver has been refactored. It is now split in two parts:
[all …]