Outras ferramentas de software

sgx_thread_mutex_unlock

The sgx_thread_mutex_unlock function unlocks a trusted mutex object within an enclave.

Syntax

int sgx_thread_mutex_unlock(
             sgx_thread_mutex_t * mutex
        );

Parameters

mutex [in]

The trusted mutex object to be unlocked.

Return value

0

The mutex is unlocked successfully.

EINVAL

The trusted mutex object is invalid or it is not locked by any thread.

EPERM

sgx_get_whitelist_size

sgx_get_whitelist_size

sgx_get_whitelist_size returns the required buffer size for the white-list.

Syntax

sgx_status_t sgx_get_whitelist_size(
             uint32_t *p_whitelist_size
        );

 

Parameters

p_whitelist_size [out]

Indicate the size of white-list buffer.

Return value

SGX_SUCCESS

All the outputs are generated successfully.

SGX_ERROR_INVALID_PARAMETER

Function Descriptions

This topic describes various functions including their syntax, parameters, return values, and requirements.

NOTE:
When an API function lists an EDL in its requirements, users need to explicitly import such library EDL file in their enclave's EDL.

Assine o Outras ferramentas de software