Intel® Xeon® Scalable processors feature built-in accelerators and advanced security technologies for the most in-demand workload requirements, all while offering the greatest cloud choice and application portability. The processor family is ideally suited for high-performance workloads protected by Intel® SGX. Check the list of processors with Intel® SGX feature at Intel® Processors Supporting Intel® SGX.
For Linux Ubuntu* (and other Debian-based OS), run the below commands to install the required dependencies. For other Linux* distributions, check the instructions in the Intel® SGX SW Installation Guide for Linux. For Windows* installation instructions, refer to the Intel® SGX Installation Guide for Windows.
sudo apt-get install build-essential ocaml automake autoconf libtool wget python3 libssl-dev dkms
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1
wget https://download.01.org/intel-sgx/latest/dcap-latest/linux/distro/
${distro_name}/sgx_linux_x64_driver_${version}.bin
chmod 777 sgx_linux_x64_driver_${version}.bin
sudo ./sgx_linux_x64_driver_${version}.bin
The installer also loads the DCAP driver and sets it to auto-load when the system reboots.
ls -la /dev/sgx*
crw-------. 1 root root 10, 60 Mar 18 15:06 /dev/sgx_enclave
crw-------. 1 root root 10, 59 Mar 18 15:06 /dev/sgx_provision
The procedure for configuring a platform with the necessary Intel® SGX software packages, provided as binary installers and/or Debian packages, depends on the intended use of the platform. Choose the role that describes your needs best:
For more details, check the Intel® SGX Application User.
Sample codes and the instructions to run them can be found at linux-sgx/SampleCode at master · intel/linux-sgx · GitHub*.
Where to go from here? |
After the basic installation and the sample codes run, the below resources can be checked to expand the scope of Intel® SGX:
|