Open Enclave  0.15.0
Macros | Enumerations | Variables
seal.h File Reference
#include <openenclave/bits/sgx/sgxtypes.h>
#include <openenclave/seal.h>
Include dependency graph for seal.h:

Go to the source code of this file.

Macros

#define OE_SEAL_SET_SGX_KEYNAME(w)   __OE_SEAL_SET_VALUE(OE_SEAL_SETTING_SGX_KEYNAME, w)
 Initialize a oe_seal_setting_t structure to specify KEYREQUEST.KEYNAME. More...
 
#define OE_SEAL_SET_SGX_ISVSVN(w)   __OE_SEAL_SET_VALUE(OE_SEAL_SETTING_SGX_ISVSVN, w)
 Initialize a oe_seal_setting_t structure to specify KEYREQUEST.ISVSVN. More...
 
#define OE_SEAL_SET_SGX_CET_ATTRIBUTES_MASK(b)   __OE_SEAL_SET_VALUE(OE_SEAL_SETTING_SGX_CET_ATTRIBUTES_MASK, b)
 Initialize a oe_seal_setting_t structure to specify KEYREQUEST.CET_ATTRIBUTES_MASK. More...
 
#define OE_SEAL_SET_SGX_CPUSVN(p)   __OE_SEAL_SET_POINTER(OE_SEAL_SETTING_SGX_CPUSVN, p, 16)
 Initialize a oe_seal_setting_t structure to specify KEYREQUEST.CPUSVN. More...
 
#define OE_SEAL_SET_SGX_FLAGSMASK(q)   __OE_SEAL_SET_VALUE(OE_SEAL_SETTING_SGX_FLAGSMASK, q)
 Initialize a oe_seal_setting_t structure to specify the low 64 bits of KEYREQUEST.ATTRIBYTEMASK. More...
 
#define OE_SEAL_SET_SGX_XFRMMASK(q)   __OE_SEAL_SET_VALUE(OE_SEAL_SETTING_SGX_XFRMMASK, q)
 Initialize a oe_seal_setting_t structure to specify the high 64 bits of KEYREQUEST.ATTRIBYTEMASK. More...
 
#define OE_SEAL_SET_SGX_MISCMASK(d)   __OE_SEAL_SET_VALUE(OE_SEAL_SETTING_SGX_MISCMASK, d)
 Initialize a oe_seal_setting_t structure to specify KEYREQUEST.MISCMASK. More...
 
#define OE_SEAL_SET_SGX_CONFIGSVN(w)   __OE_SEAL_SET_VALUE(OE_SEAL_SETTING_SGX_CPUSVN, w)
 Initialize a oe_seal_setting_t structure to specify KEYREQUEST.CONFIGSVN. More...
 

Enumerations

enum  oe_seal_setting_type_sgx_t {
  OE_SEAL_SETTING_SGX_KEYNAME = OE_SEAL_SETTING_PLUGIN_DEFINED, OE_SEAL_SETTING_SGX_ISVSVN, OE_SEAL_SETTING_SGX_CET_ATTRIBUTES_MASK, OE_SEAL_SETTING_SGX_CPUSVN,
  OE_SEAL_SETTING_SGX_FLAGSMASK, OE_SEAL_SETTING_SGX_XFRMMASK, OE_SEAL_SETTING_SGX_MISCMASK, OE_SEAL_SETTING_SGX_CONFIGSVN,
  OE_SEAL_SETTING_SGX_PLUGIN_DEFINED
}
 SGX specific seal settings. More...
 

Variables

const oe_seal_plugin_definition_t oe_seal_plugin_gcm_aes
 Built-in seal plug-in based on GCM-AES.
 

Detailed Description

This file defines SGX specific constants and structures for sealing APIs.

Only SGX specific definitions should go here, while TEE generic definitions should go in bits/seal.h