Hi,
Is it possible to execute a sleep() inside an enclave.
Thanks in advance
1 解答
Hi,
Os calls(sleep()) cannot be used directly inside the enclave. We can use an OCALL to execute them.
链接已复制
4 回复数
Hi,
Os calls(sleep()) cannot be used directly inside the enclave. We can use an OCALL to execute them.
Thank you Anusha :)
OCALL may not safe since the sleep action will be performed by untrusted part, so I implemented sleep by using "sgx_get_trusted_time"
