Closed daichunkai closed 6 years ago
Hi daichunkai,
For use with debugging, sprintf will need to be implemented similar to how you have implemented printf. An example of this is located here with the wolfSSL Linux SGX build (https://github.com/wolfSSL/wolfssl-examples/blob/b21f358dac4fd3bb1cea58b7ee2d49812a93c092/SGX_Linux/trusted/Wolfssl_Enclave.c#L172)
Regards, Jacob
@JacobBarthelmeh YES,I compile it as your suggestion,it works! Thank you very much!
Happy to help daichunkai. Am going to go ahead and mark this issue closed but feel free to contact us with any wolfSSL SGX questions that arise.
Regards, Jacob
hello,When I use SGX to call aes function of Wolfssl,an error happened when I link enclave.so as following:
In the example of SGX-LINUX in Wolfssl the link flags as following:
and In my enclave,the link flags as following:
the link flags is same with above flags, here is my follow edl file and enclave file: edl file:
enclave.cpp
Thank you very much!