Overview
Which driver should I install? What is /dev/sgx
? What is /dev/isgx
? What is /dev/sgx_provision
? What is /dev/sgx_enclave
? What is /dev/sgx/enclave
? What is /dev/sgx/provision
? What is /dev/sgx_vepc
?
FAQ
How do I know if my CPU supports Intel SGX?
Reference:
- https://www.intel.com/content/www/us/en/support/articles/000028173/processors.html
- https://ark.intel.com
How do I know if my computer supports Intel SGX?
- Your CPU has to support Intel SGX.
- Intel SGX needs to be
enabled
(orsoftware controlled
) in BIOS. - Intel SGX Platform Software package (PSW) needs to be installed.
Reference:
- https://www.intel.com/content/www/us/en/developer/articles/technical/properly-detecting-intel-software-guard-extensions-in-your-applications.html
How do I know if my CPU supports Flexible Launch Control (FLC)?
Option 1
Run cpuid | grep -i sgx
on your linux machine. If SGX_LC:
is true, your CPU does support FLC.
Option 2
Use the Fortanix sgx-detect
tool: https://support.fortanix.com/hc/en-us/articles/4414753648788-SGX-Detect-Tool
Option 3
Compile and run the test-sgx
program.
- Download the source from here.
- Compile with
gcc test-sgx.c -o test-sgx
. - Run with
./test-sgx
.
Note
See reference below for a few caveats and more information.
Reference:
- https://www.intel.com/content/www/us/en/support/articles/000057420/software/intel-security-products.html
How do I know if my CPU supports Datacenter Attestation Primitives (DCAP)?
Support for Intel SGX + Support for FLC => Support for DCAP.