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

In Ubuntu 16.04, how can I enable SGX in software controlled Mode.

yao__ss
Beginner
1,333 Views

Just as the title. when i use sgx_cap_enable_device() to enable SGX in ubuntu 16.04, I always get the error "undefined reference to 'sgx_cap_enable_device'"(when I debug). I hope someone could help me.  

0 Kudos
1 Reply
Hoang_N_Intel
Employee
1,333 Views

Please refer to this documentation page https://software.intel.com/en-us/articles/properly-detecting-intel-software-guard-extensions-in-your-applications

You need to make sure that the BIOS setting is configured with "Software Controlled" option first before making the call to  sgx_enable_device() or sgx_cap_enable_device()

0 Kudos
Reply