- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a question about using libc in enclave.
Should I make all wrapper function (ocall) of libc for using libc functions in enclave?
when I see some example code of others, They make only wrapper functions of libc functions like open, read, mkdir.
But some functions like memcpy, memset are used directly without wrapping.
please help me:)
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
As for the C++ standard library(libc++), most functions will work just as its untrusted counterpart,
But here is a high level summary of features that are not supported inside the enclave for which you need to use an OCALL:
- Input/output (I/O)-related functions and classes like <iostream>
- Functions depending on local libraries
- Any other functions that require system calls line open,read,mkdir.
Regards,
Anusha.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page