You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have recently been researching blockchain privacy protection based on Trusted Execution Environment (SGX), can teaclava be a complete replacement for SGX SDK, and what are the advantages over SGX SDK? What languages does teaclave support for trusted blockchain-related development? And where should I start learning about teaclave about developing trusted blockchains? Do you have any examples of this? In addition to replacing the SGX SDK, does teaclave have other functions? Thank you
The text was updated successfully, but these errors were encountered:
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 steps 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.
You see that the language does not matter, you can use any version of C++ or C to do the same work as long as it can be compiled as a static library and linked with the edge routine codes. The major part of this library is to provide the SGX version of Rust STD, which is similar to the regular Rust STD so that you can easily port your existing Rust code into the TEE and you have many convenient wrappers to call the Intel's SGX SDK.
Hello, I have recently been researching blockchain privacy protection based on Trusted Execution Environment (SGX), can teaclava be a complete replacement for SGX SDK, and what are the advantages over SGX SDK? What languages does teaclave support for trusted blockchain-related development? And where should I start learning about teaclave about developing trusted blockchains? Do you have any examples of this? In addition to replacing the SGX SDK, does teaclave have other functions? Thank you
The text was updated successfully, but these errors were encountered: