开源软件名称(OpenSource Name):intel/linux-sgx-driver开源软件地址(OpenSource Url):https://github.com/intel/linux-sgx-driver开源编程语言(OpenSource Language):C 99.1%开源软件介绍(OpenSource Introduction):Intel(R) Software Guard Extensions for Linux* OSlinux-sgx-driverIntroductionIntel(R) Software Guard Extensions (Intel(R) SGX) is an Intel technology for application developers seeking to protect select code and data from disclosure or modification. The Linux SGX software stack is comprised of the Intel(R) SGX driver, the Intel(R) SGX SDK, and the Intel(R) SGX Platform Software. The Intel(R) SGX SDK and Intel(R) SGX PSW are hosted in the linux-sgx project. The linux-sgx-driver project hosts the out-of-tree driver for the Linux Intel(R) SGX software stack, which will be used until the driver upstreaming process is complete. IMPORTANT:This driver can be used to support earlier SGX-capable CPUs without Flexible Launch Control (FLC). However, please note that the ABI of this driver is diverged from the upstreaming SGX kernel patches and extra effort may be required to migrate software using this driver to future kernels with SGX support. To minimize ABI divergence and better align all SGX software stack with future SGX enabled kernel, no new features will be added to this driver. Support for distro/kernel versions other than those listed here will be considered on a case-by-case basis. The DCAP driver has been developed to track closely with the upstreaming kernel patches, and support all SGX CPUs with FLC. Therefore, we recommend SGX community to start using the DCAP driver to minimize future impact from adopting new mainline kernels with SGX support. For new feature requests/patches, please submit them directly to the linux-sgx mailing list LicenseSee License.txt for details. Documentation
Build and Install the Intel(R) SGX DriverPrerequisites
Note: Refer to the "Intel® SGX Resource Enumeration Leaves" section in the Intel SGX Programming reference guide to make sure your cpu has the SGX feature. Build the Intel(R) SGX DriverTo build Intel(R) SGX driver, change the directory to the driver path and enter the following command:
You can find the driver isgx.ko generated in the same directory. Install the Intel(R) SGX DriverTo install the Intel(R) SGX driver, enter the following command with root privilege:
On Red Hat Enterprise Linux Server or CentOS, need to run below command on each reboot
On SUSE, need to add '--allow-unsupported' flag when executing 'modprobe' command during the SGX driver intallation and on each reboot
Uninstall the Intel(R) SGX DriverBefore uninstall the Intel(R) SGX driver, make sure the aesmd service is stopped. See the topic, Start or Stop aesmd Service, on how to stop the aesmd service.
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论