Summary
Intel does not provide guidance on how to integrate the GMP with Intel® Software Guard Extensions (Intel® SGX) on Windows*.
Description
- Intel provides the sgx-gmp Github project* for Linux*, which integrates GMP* with the Intel SGX SDK for Linux*.
- Unable to use the GMP* library in Intel® Software Guard Extensions (Intel® SGX) enclaves in Windows*.
Resolution
- According to Building the GNU* Multiple Precision* library for Intel® Software Guard Extensions, "this port of GMP as an SGX trusted library is a proof-of-concept," and much work must be done to make it production-ready.
- Because sgx-gmp* was built only as a proof-of-concept for Linux-based systems, it is not supported on Windows.
- To use the GMP* with SGX enclaves in Windows, first port the GMP* library to Windows, and then integrate with the Intel SGX SDK for Windows in Visual Studio*.