Enclave1.edl 457 B

123456789101112131415161718
  1. /* $(enclaveName).edl - Top EDL file. */
  2. enclave {
  3. /*
  4. * ocall_$(enclaveName)_sample - invokes OCALL to display string buffer inside the enclave.
  5. * [in]: copy the string buffer to App outside.
  6. * [string]: specifies 'str' is a NULL terminated buffer.
  7. */
  8. untrusted {
  9. void ocall_$(enclaveName)_sample([in, string] const char *str);
  10. };
  11. trusted {
  12. public int ecall_$(enclaveName)_sample();
  13. };
  14. };