Lines Matching full:enclave
144 * @encl: An enclave pointer.
147 * Allocate kernel data structures for the enclave and invoke ECREATE.
319 * the enclave will be destroyed in response to EEXTEND failure. in sgx_encl_add_page()
354 * an enclave.
377 * @encl: an enclave pointer
380 * Add one or more pages to an uninitialized enclave, and optionally extend the
398 * The function deinitializes kernel data structures for enclave and returns
401 * - Enclave Page Cache (EPC), the physical memory holding enclaves, has
509 * the mask for enforcement in sigstruct. For example an enclave could in sgx_encl_init()
586 * @encl: an enclave pointer
590 * Launch Enclave Public Key Hash MSRs are rewritten as necessary to match
591 * the enclave's MRSIGNER, which is calculated from the provided sigstruct.
653 * @encl: an enclave pointer
656 * Allow ATTRIBUTE.PROVISION_KEY for an enclave by providing a file handle to
674 * Ensure enclave is ready for SGX2 functions. Readiness is checked
675 * by ensuring the hardware supports SGX2 and the enclave is initialized
694 * the enclave are cleared. See sgx_encl_cpumask() for details.
696 * Must be called with enclave's mutex held from the time the
715 * Send IPIs to kick CPUs out of the enclave and in sgx_enclave_etrack()
733 * @encl: Enclave to which the pages belong.
781 * how EPCM permissions can be relaxed from within the enclave. in sgx_enclave_restrict_permissions()
832 * @encl: an enclave pointer
836 * SGX2 distinguishes between relaxing and restricting the enclave page
838 * belonging to an initialized enclave (after SGX_IOC_ENCLAVE_INIT).
840 * EPCM permissions cannot be restricted from within the enclave, the enclave
888 * sgx_enclave_modify_types() - Modify type of SGX enclave pages
889 * @encl: Enclave to which the pages belong.
954 * will be inaccessible from within enclave. Before doing in sgx_enclave_modify_types()
1037 * @encl: an enclave pointer
1040 * Ability to change the enclave page type supports the following use cases:
1042 * * It is possible to add TCS pages to an enclave by changing the type of
1045 * enclave can be increased dynamically.
1048 * enclave by changing the page type to %SGX_PAGE_TYPE_TRIM. Changing the
1052 * enclave.
1089 * sgx_encl_remove_pages() - Remove trimmed pages from SGX enclave
1090 * @encl: Enclave to which the pages belong
1130 * ENCLU[EACCEPT] was run from within the enclave. If in sgx_encl_remove_pages()
1181 * @encl: an enclave pointer
1184 * Final step of the flow removing pages from an initialized enclave. The
1190 * the enclave.
1195 * with the actual removal of the enclave page and data in support of it.
1198 * enclave may end up with more VA pages than needed to support all its