RE: [PATCH v6 10/11] intel_sgx: glue code for in-kernel LE

2017-12-13 Thread Christopherson, Sean J
On Sat, Nov 25, 2017 at 09:29:27PM +0200, Jarkko Sakkinen wrote: +static int __sgx_le_get_token(struct sgx_le_ctx *ctx, + const struct sgx_encl *encl, + const struct sgx_sigstruct *sigstruct, + struct

RE: [PATCH v6 10/11] intel_sgx: glue code for in-kernel LE

2017-12-13 Thread Christopherson, Sean J
On Sat, Nov 25, 2017 at 09:29:27PM +0200, Jarkko Sakkinen wrote: +static int __sgx_le_get_token(struct sgx_le_ctx *ctx, + const struct sgx_encl *encl, + const struct sgx_sigstruct *sigstruct, + struct

[PATCH v6 10/11] intel_sgx: glue code for in-kernel LE

2017-11-25 Thread Jarkko Sakkinen
Glue code for hosting in-kernel Launch Enclave (LE) by using the user space helper framework. Tokens for launching enclaves are generated with by the following protocol: 1. The driver sends a SIGSTRUCT blob to the LE hosting process to the input pipe. 2. The LE hosting process reads the

[PATCH v6 10/11] intel_sgx: glue code for in-kernel LE

2017-11-25 Thread Jarkko Sakkinen
Glue code for hosting in-kernel Launch Enclave (LE) by using the user space helper framework. Tokens for launching enclaves are generated with by the following protocol: 1. The driver sends a SIGSTRUCT blob to the LE hosting process to the input pipe. 2. The LE hosting process reads the