Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
191 Views

Intel SGX EDL File Syntax Question

Jump to solution

Dear Intel SGX Team,

In the EDL file, when specifying the size of the buffers passed into and out of the enclave, does the size keyword refer to the number of elements in the buffer or the number of bytes in the buffer?

I greatly appreciate any help you can provide.

Best regards,

rkarl

0 Kudos

Accepted Solutions
Highlighted
Super User
186 Views

Good evening Rkari, I hope this note finds your weekend going well.

The size is the size in bytes of the buffer.  If it were the number of data elements being marshaled into the buffer there would be a need to specify to the EDL code the size of each data element, ala calloc(3).

We will see if this reply conveys a badge for the most concise reply...

Have a good week.

Dr. Greg

View solution in original post

2 Replies
Highlighted
Super User
187 Views

Good evening Rkari, I hope this note finds your weekend going well.

The size is the size in bytes of the buffer.  If it were the number of data elements being marshaled into the buffer there would be a need to specify to the EDL code the size of each data element, ala calloc(3).

We will see if this reply conveys a badge for the most concise reply...

Have a good week.

Dr. Greg

View solution in original post

Highlighted
Beginner
170 Views

Dear Dr. Greg,

 

Thank you so much for your help.

 

I greatly appreciate such a prompt reply, especially over the weekend (definitely badge worthy)!

 

I hope you have a good week too!

 

Kind regards,

 

rkarl

0 Kudos