mirror of
https://github.com/intel/linux-sgx
synced 2026-06-08 14:49:32 +00:00
28817533cc
Added support for the Key Separation and Sharing (KSS) feature. Provided a set of new encryption and decryption functions such as sgx_hmac256_*. Provided a new untrusted API: sgx_get_target_info. Provided a new untrusted API: sgx_create_enclave_from_buffer_ex. Updated the cryptography library and Architecture Enclaves to use Intel(R) Integrated Performance Primitives Cryptography 2019 Update 1. Fixed bugs. Signed-off-by: Li, Xun <xun.li@intel.com>
------------------------
Purpose of Switchlesss
------------------------
The project demonstrates how to use Fast OCalls provided by sgx_switchless.
------------------------------------
How to Build/Execute the Sample Code
------------------------------------
1. Install Intel(R) SGX SDK for Linux* OS
2. Build the project with the prepared Makefile:
a. Hardware Mode, Debug build:
$ make SGX_MODE=HW SGX_DEBUG=1
b. Hardware Mode, Pre-release build:
$ make SGX_MODE=HW SGX_PRERELEASE=1
c. Hardware Mode, Release build:
$ make SGX_MODE=HW
3. Execute the binary directly:
$ ./app