/optee_os/core/arch/arm/kernel/ |
A D | tee_time_ree.c | 14 static TEE_Result get_monotonic_ree_time(TEE_Time *time) in get_monotonic_ree_time() argument 18 res = tee_time_get_ree_time(time); in get_monotonic_ree_time() 23 if (time->seconds < prev.seconds || in get_monotonic_ree_time() 24 (time->seconds == prev.seconds && in get_monotonic_ree_time() 25 time->millis < prev.millis)) in get_monotonic_ree_time() 26 *time = prev; /* REE time was rolled back */ in get_monotonic_ree_time() 28 prev = *time; in get_monotonic_ree_time()
|
A D | tee_time.c | 27 TEE_Result tee_time_get_sys_time(TEE_Time *time) in tee_time_get_sys_time() argument 29 return _time_source.get_sys_time(time); in tee_time_get_sys_time() 51 TEE_Result tee_time_get_ree_time(TEE_Time *time) in tee_time_get_ree_time() argument 56 if (!time) in tee_time_get_ree_time() 61 time->seconds = params.u.value.a; in tee_time_get_ree_time() 62 time->millis = params.u.value.b / 1000000; in tee_time_get_ree_time()
|
A D | tee_time_arm_cntpct.c | 17 static TEE_Result arm_cntpct_get_sys_time(TEE_Time *time) in arm_cntpct_get_sys_time() argument 22 time->seconds = cntpct / cntfrq; in arm_cntpct_get_sys_time() 23 time->millis = (cntpct % cntfrq) / (cntfrq / TEE_TIME_MILLIS_BASE); in arm_cntpct_get_sys_time()
|
/optee_os/core/tee/ |
A D | tee_time_generic.c | 65 TEE_Result tee_time_get_ta_time(const TEE_UUID *uuid, TEE_Time *time) in tee_time_get_ta_time() argument 94 *time = t2; in tee_time_get_ta_time() 99 TEE_Result tee_time_set_ta_time(const TEE_UUID *uuid, const TEE_Time *time) in tee_time_set_ta_time() argument 106 if (time->millis >= TEE_TIME_MILLIS_BASE) in tee_time_set_ta_time() 113 if (TEE_TIME_LT(t, *time)) { in tee_time_set_ta_time() 114 TEE_TIME_SUB(*time, t, offs); in tee_time_set_ta_time() 117 TEE_TIME_SUB(t, *time, offs); in tee_time_set_ta_time()
|
/optee_os/core/include/kernel/ |
A D | tee_time.h | 11 TEE_Result tee_time_get_sys_time(TEE_Time *time); 13 TEE_Result tee_time_get_ta_time(const TEE_UUID *uuid, TEE_Time *time); 14 TEE_Result tee_time_get_ree_time(TEE_Time *time); 15 TEE_Result tee_time_set_ta_time(const TEE_UUID *uuid, const TEE_Time *time);
|
A D | time_source.h | 11 TEE_Result (*get_sys_time)(TEE_Time *time);
|
/optee_os/core/drivers/ |
A D | hi16xx_rng.c | 46 TEE_Time time; in hi16xx_rng_init() local 52 tee_time_get_sys_time(&time); in hi16xx_rng_init() 53 io_write32(rng + RNG_SEED, time.seconds * 1000 + time.millis); in hi16xx_rng_init()
|
/optee_os/out/arm/export-ta_arm32/include/mbedtls/ |
A D | platform_time.h | 58 extern mbedtls_time_t (*mbedtls_time)( mbedtls_time_t* time ); 67 int mbedtls_platform_set_time( mbedtls_time_t (*time_func)( mbedtls_time_t* time ) ); 72 #define mbedtls_time time
|
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/ |
A D | platform_time.h | 58 extern mbedtls_time_t (*mbedtls_time)( mbedtls_time_t* time ); 67 int mbedtls_platform_set_time( mbedtls_time_t (*time_func)( mbedtls_time_t* time ) ); 72 #define mbedtls_time time
|
/optee_os/out/arm/export-ta_arm64/include/mbedtls/ |
A D | platform_time.h | 58 extern mbedtls_time_t (*mbedtls_time)( mbedtls_time_t* time ); 67 int mbedtls_platform_set_time( mbedtls_time_t (*time_func)( mbedtls_time_t* time ) ); 72 #define mbedtls_time time
|
/optee_os/out/arm/export-ta_arm32/host_include/mbedtls/ |
A D | platform_time.h | 58 extern mbedtls_time_t (*mbedtls_time)( mbedtls_time_t* time ); 67 int mbedtls_platform_set_time( mbedtls_time_t (*time_func)( mbedtls_time_t* time ) ); 72 #define mbedtls_time time
|
/optee_os/out/arm/export-ta_arm64/host_include/mbedtls/ |
A D | platform_time.h | 58 extern mbedtls_time_t (*mbedtls_time)( mbedtls_time_t* time ); 67 int mbedtls_platform_set_time( mbedtls_time_t (*time_func)( mbedtls_time_t* time ) ); 72 #define mbedtls_time time
|
/optee_os/lib/libutee/ |
A D | tee_api.c | 338 void TEE_GetSystemTime(TEE_Time *time) in TEE_GetSystemTime() argument 340 TEE_Result res = _utee_get_time(UTEE_TIME_CAT_SYSTEM, time); in TEE_GetSystemTime() 356 TEE_Result TEE_GetTAPersistentTime(TEE_Time *time) in TEE_GetTAPersistentTime() argument 360 res = _utee_get_time(UTEE_TIME_CAT_TA_PERSISTENT, time); in TEE_GetTAPersistentTime() 363 time->seconds = 0; in TEE_GetTAPersistentTime() 364 time->millis = 0; in TEE_GetTAPersistentTime() 377 TEE_Result TEE_SetTAPersistentTime(const TEE_Time *time) in TEE_SetTAPersistentTime() argument 381 res = _utee_set_ta_time(time); in TEE_SetTAPersistentTime() 391 void TEE_GetREETime(TEE_Time *time) in TEE_GetREETime() argument 393 TEE_Result res = _utee_get_time(UTEE_TIME_CAT_REE, time); in TEE_GetREETime()
|
/optee_os/core/drivers/crypto/caam/utils/ |
A D | utils_delay.c | 12 void caam_udelay(uint32_t time) in caam_udelay() argument 14 uint32_t counter = time * 500; in caam_udelay()
|
/optee_os/core/include/tee/ |
A D | tee_svc.h | 74 TEE_Result syscall_get_time(unsigned long cat, TEE_Time *time); 75 TEE_Result syscall_set_ta_time(const TEE_Time *time);
|
/optee_os/core/arch/arm/dts/ |
A D | stm32mp15xx-dkx.dtsi | 95 * Use at least 5 * RC time, e.g. 5 * (Rp + Rd) * C: 99 st,min-sample-time-nsecs = <5000>; 107 st,min-sample-time-nsecs = <5000>; 147 i2c-scl-rising-time-ns = <100>; 148 i2c-scl-falling-time-ns = <7>; 221 i2c-scl-rising-time-ns = <185>; 222 i2c-scl-falling-time-ns = <20>; 355 power-off-time-sec = <10>;
|
A D | stm32mp157c-ed1.dts | 104 /* 16.5 ck_cycles sampling time */ 105 st,min-sample-time-nsecs = <400>; 135 i2c-scl-rising-time-ns = <185>; 136 i2c-scl-falling-time-ns = <20>; 268 power-off-time-sec = <10>;
|
A D | stm32mp157c-ev1.dts | 179 i2c-scl-rising-time-ns = <185>; 180 i2c-scl-falling-time-ns = <20>; 232 i2c-scl-rising-time-ns = <185>; 233 i2c-scl-falling-time-ns = <20>;
|
/optee_os/core/drivers/imx/dcp/ |
A D | dcp_utils.c | 90 void dcp_udelay(uint32_t time) in dcp_udelay() argument 92 uint32_t counter = time * 500; in dcp_udelay()
|
/optee_os/.github/workflows/ |
A D | stales.yml | 17 …l automatically be closed in 5 days. Note, that you can always re-open a closed issue at any time.' 18 …l automatically be closed in 5 days. Note, that you can always re-open a closed issue at any time.'
|
/optee_os/core/drivers/crypto/caam/include/ |
A D | caam_utils_delay.h | 15 void caam_udelay(uint32_t time);
|
/optee_os/core/crypto/ |
A D | rng_fortuna.c | 375 TEE_Time time; in reseed_rate_limiting() local 378 res = tee_time_get_sys_time(&time); in reseed_rate_limiting() 386 if (TEE_TIME_LT(time, state.next_reseed_time)) in reseed_rate_limiting() 390 TEE_TIME_ADD(time, time_100ms, state.next_reseed_time); in reseed_rate_limiting()
|
/optee_os/lib/libmbedtls/mbedtls/library/ |
A D | ssl_cookie.c | 125 const unsigned char time[4], in ssl_cookie_hmac() 134 mbedtls_md_hmac_update( hmac_ctx, time, 4 ) != 0 || in ssl_cookie_hmac()
|
/optee_os/out/arm/export-ta_arm64/host_include/ |
A D | tee_api.h | 327 void TEE_GetSystemTime(TEE_Time *time); 331 TEE_Result TEE_GetTAPersistentTime(TEE_Time *time); 333 TEE_Result TEE_SetTAPersistentTime(const TEE_Time *time); 335 void TEE_GetREETime(TEE_Time *time);
|
/optee_os/out/arm/export-ta_arm64/include/ |
A D | tee_api.h | 327 void TEE_GetSystemTime(TEE_Time *time); 331 TEE_Result TEE_GetTAPersistentTime(TEE_Time *time); 333 TEE_Result TEE_SetTAPersistentTime(const TEE_Time *time); 335 void TEE_GetREETime(TEE_Time *time);
|