fortanix / rust-sgx

The Fortanix Rust Enclave Development Platform
https://edp.fortanix.com
Mozilla Public License 2.0
434 stars 98 forks source link

Support asynchronous `wait` usercalls #290

Open mzohreva opened 4 years ago

maxknv commented 1 year ago

Apparently, this is the struct that needs implementation of wait() method: https://github.com/fortanix/rust-sgx/blob/yx/new-async-usercalls_update-mbedtls/intel-sgx/async-usercalls/src/provider_api.rs#L15 And here is its counterpart in untrusted code https://github.com/fortanix/rust-sgx/blob/yx/new-async-usercalls_update-mbedtls_publish/intel-sgx/enclave-runner/src/usercalls/mod.rs#L1608

Taowyoo commented 1 year ago

Hi @mkaynov , I am not quite familiar with this issue. But does this PR already cover this?

It just needs some bandwidth from related folks to review and merge it.

Please correct me if I miss-understand something .

maxknv commented 1 year ago

As far as I understood, AsyncUsercallProvider requires an implementation of wait method which is not implemented on this branch