Outras ferramentas de software

sgx_fread

The sgx_fread function reads the requested amount of data from the file, and extends the file pointer by that amount.

Syntax

                         size_t sgx_fread(
                                 void* ptr,
                                 size_t size,
                                 size_t count,
                                 SGX_FILE* stream
                        );
                        

Parameters

ptr[out]

Intel® Protected File System Library

Intel® Protected File System Library

Intel® Protected File System Library provides protected files API for Intel® SGX enclaves. It supports a basic subset of the regular C file API and enables you to create files and work with them as you would normally do from a regular application.

With this API, the files are encrypted and saved on the untrusted disk during a write operation, and they are verified for confidentiality and integrity during a read operation.

sgx_dh_session_t

Type for session used in DH secure session establishment.

Syntax

typedef struct _sgx_dh_session_t
        {
             uint8_t sgx_dh_session[SGX_DH_SESSION_DATA_SIZE];
        } sgx_dh_session_t;

Members

sgx_dh_session

Data of DH session.

The array size of sgx_dh_session SGX_DH_SESSION_DATA_SIZE is defined as 200 bytes.

sgx_report_t

Data structure that contains the report information for the enclave. This is the output parameter from the sgx_create_report function. This is the input parameter for the sgx_init_quote function.

sgx_create_pse_session

sgx_create_pse_session creates a session with the PSE.

Syntax

                        sgx_status_t sgx_close_pse_session(
                                                 void
                                        );
                        

 

Return value

SGX_SUCCESS

Session is created successfully.

SGX_ERROR_SERVICE_UNAVAILABLE

The AE service did not respond or the requested service is not supported.

Assine o Outras ferramentas de software