Lines Matching full:enclave

145  * @encl:	An enclave pointer.
148 * Allocate kernel data structures for the enclave and invoke ECREATE.
320 * the enclave will be destroyed in response to EEXTEND failure. in sgx_encl_add_page()
355 * an enclave.
378 * @encl: an enclave pointer
381 * Add one or more pages to an uninitialized enclave, and optionally extend the
399 * The function deinitializes kernel data structures for enclave and returns
402 * - Enclave Page Cache (EPC), the physical memory holding enclaves, has
485 * the mask for enforcement in sigstruct. For example an enclave could in sgx_encl_init()
560 * @encl: an enclave pointer
564 * Launch Enclave Public Key Hash MSRs are rewritten as necessary to match
565 * the enclave's MRSIGNER, which is calculated from the provided sigstruct.
627 * @encl: an enclave pointer
630 * Allow ATTRIBUTE.PROVISION_KEY for an enclave by providing a file handle to
648 * Ensure enclave is ready for SGX2 functions. Readiness is checked
649 * by ensuring the hardware supports SGX2 and the enclave is initialized
668 * the enclave are cleared. See sgx_encl_cpumask() for details.
670 * Must be called with enclave's mutex held from the time the
689 * Send IPIs to kick CPUs out of the enclave and in sgx_enclave_etrack()
707 * @encl: Enclave to which the pages belong.
755 * how EPCM permissions can be relaxed from within the enclave. in sgx_enclave_restrict_permissions()
806 * @encl: an enclave pointer
810 * SGX2 distinguishes between relaxing and restricting the enclave page
812 * belonging to an initialized enclave (after SGX_IOC_ENCLAVE_INIT).
814 * EPCM permissions cannot be restricted from within the enclave, the enclave
862 * sgx_enclave_modify_types() - Modify type of SGX enclave pages
863 * @encl: Enclave to which the pages belong.
928 * will be inaccessible from within enclave. Before doing in sgx_enclave_modify_types()
1011 * @encl: an enclave pointer
1014 * Ability to change the enclave page type supports the following use cases:
1016 * * It is possible to add TCS pages to an enclave by changing the type of
1019 * enclave can be increased dynamically.
1022 * enclave by changing the page type to %SGX_PAGE_TYPE_TRIM. Changing the
1026 * enclave.
1063 * sgx_encl_remove_pages() - Remove trimmed pages from SGX enclave
1064 * @encl: Enclave to which the pages belong
1104 * ENCLU[EACCEPT] was run from within the enclave. If in sgx_encl_remove_pages()
1155 * @encl: an enclave pointer
1158 * Final step of the flow removing pages from an initialized enclave. The
1164 * the enclave.
1169 * with the actual removal of the enclave page and data in support of it.
1172 * enclave may end up with more VA pages than needed to support all its