yangfh2004 commented on issue #444:
URL: 
https://github.com/apache/incubator-teaclave-sgx-sdk/issues/444#issuecomment-1833983660

   My understanding is that the Teaclave SGX SDK is essentially a port of rust 
std and SGX SDK wrapper.  If you are writing C++, you might want to use this 
https://github.com/intel/linux-sgx
   
   The low-level implementation is done by Intel. So it is just a Rust wrapper 
but you can write Rust and port existing Rust code into the TEE with much less 
effort. I suggest you write the Makefile, which shows the exact work to make it 
work with Rust. The Rust code is compiled into a static library. It will be 
linked with the edge routine codes (auto-generated wrappers for ECALL and 
OCALL) as a dynamic library and signed by the SGX enclave signer. Then, your 
untrusted app can call this shared library to work with the TEE.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@teaclave.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@teaclave.apache.org
For additional commands, e-mail: notifications-h...@teaclave.apache.org

Reply via email to