- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Hi, Team!
I sent multiple uint8_t* pointers to the enclave and want to reconstruct the strings inside the enclave, the character is correct before passing it to the enclave while shows garbled characters inside the enclave. Detailed code is shown below:
check ectxt[0]: |HE[
check hostCtxt_length[1]: 246056
check ectxt[1]: |HE[
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Hi Jesus,
Sry, I forgot to post EDL here.
Link kopiert
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Hello DylanWang,
In the ecall function definition in the EDL file, you have to designate a pointer direction, [in], [out[], [user_check]. In your case, your [in] before the pointers that contain the characters you want to pass to the enclave. Refer to the section Pointer Handling in the SGX Developer Reference Guide for your OS. Also find more information here: https://software.intel.com/content/www/us/en/develop/articles/intel-software-guard-extensions-developing-a-sample-enclave-application.html, by searching for "[in]" within the page.
Sincerely,
Jesus G.
Intel Customer Support
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Hi Jesus,
Sry, I forgot to post EDL here.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Thank you for confirming you solved the issue, DylanWang.
This thread has been marked as answered and Intel will no longer monitor this thread. If you want a response from Intel in a follow-up question, please open a new thread.

- RSS-Feed abonnieren
- Thema als neu kennzeichnen
- Thema als gelesen kennzeichnen
- Diesen Thema für aktuellen Benutzer floaten
- Lesezeichen
- Abonnieren
- Drucker-Anzeigeseite