Intel® Software Guard Extensions (Intel® SGX)
Discussion board focused on hardware-based isolation and memory encryption to provide extended code protection in solutions.

SGX Protected FS returning NULL

__260
Beginner
1,416 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
1,380 Views

Hi,

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


Sincerely,

Sahira


0 Kudos
Reply