Intel® Software Guard Extensions (Intel® SGX)
Use hardware-based isolation and memory encryption to provide more code protection in your solutions.

SGX Protected FS returning NULL

__260
Beginner
584 Views

Team,
Tried to read a file stored on disk using Intel SGX protected File system function fopen_auto_key(). But the file pointer is returning null. Unable to read the file.
The code I'm using,

SGX_FILE* fp = sgx_fopen_auto_key("sealed_file.txt", "r+");

Kindly help to figure out the possible issue.

0 Kudos
1 Reply
Sahira_Intel
Moderator
548 Views

Hi,

Are you specifying the full path of the file in the first argument?


Sincerely,

Sahira


Reply