Oh, looking at the `linux-sgx` sample code a little more I've found [this function](https://github.com/intel/linux-sgx/blob/master/SampleCode/LocalAttestation/EnclaveInitiator/EnclaveMessageExchange.cpp#L155-L314).
And [this ECALL function](https://github.com/intel/linux-sgx/blob/33f4499173497bdfdf72c5f61374c0fadc5c5365/SampleCode/LocalAttestation/EnclaveInitiator/EnclaveInitiator.cpp#L71-L118) `test_message_exchange`, which is probably what I'm looking for. Any plans to include this into the Rust SDK? @dingelish -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/332#issuecomment-805947987