Re: [PATCH v36 05/24] x86/sgx: Add wrappers for ENCLS leaf functions

2020-08-07 Thread Darren Kenny
On Thursday, 2020-07-16 at 16:52:44 +03, Jarkko Sakkinen wrote: > ENCLS is a ring 0 instruction, which contains a set of leaf functions for > managing an enclave. Enclaves are measured and signed software entities, > which are protected by asserting the outside memory accesses and memory > encrypti

[PATCH v36 05/24] x86/sgx: Add wrappers for ENCLS leaf functions

2020-07-16 Thread Jarkko Sakkinen
ENCLS is a ring 0 instruction, which contains a set of leaf functions for managing an enclave. Enclaves are measured and signed software entities, which are protected by asserting the outside memory accesses and memory encryption. Add a two-layer macro system along with an encoding scheme to allow