Re: [RFC PATCH v2 12/26] x86/sgx: Add helper to update SGX_LEPUBKEYHASHn MSRs

Dave Hansen
2021-01-21T01:20:11Z

On 1/20/21 5:06 PM, Kai Huang wrote:
>
> /*
> * Update the SGX_LEPUBKEYHASH MSRs to the values specified by caller.
> *
> * EINITTOKEN is not used in enclave initialization, which requires
> * hash of enclave's signer must match values in SGX_LEPUBKEYHASH MSRs
> * to make EINIT be successful.
> */

I'm grumpy, but I hate it.

I'll stop the bike shedding for now, though.