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. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/444#issuecomment-1833983660 You are receiving this because you are subscribed to this thread. Message ID: <apache/incubator-teaclave-sgx-sdk/issues/444/1833983...@github.com>