Modules§
Macros§
- __item
- cfg_if
- group_
id - impl_
enum - impl_
struct - is_
group_ id - major_
version_ of_ metadata - meta_
data_ make_ version - minor_
version_ of_ metadata - s
Structs§
- align_
req_ t - ecc_
param_ t - rsa_
params_ t - sgx_
aes_ gcm_ data_ t - sgx_
align_ ec256_ dh_ shared_ t - sgx_
align_ ec256_ private_ t - sgx_
align_ key_ 128bit_ t - sgx_
align_ key_ 256bit_ t - sgx_
align_ mac_ 128bit_ t - sgx_
align_ mac_ 256bit_ t - sgx_
att_ key_ id_ ext_ t - sgx_
att_ key_ id_ t - sgx_
attributes_ t - sgx_
basename_ t - sgx_
cpu_ context_ t - sgx_
cpu_ svn_ t - sgx_
dh_ msg1_ t - sgx_
dh_ msg2_ t - sgx_
dh_ msg3_ body_ t - sgx_
dh_ msg3_ t - sgx_
dh_ session_ enclave_ identity_ t - sgx_
dh_ session_ t - sgx_
ec256_ dh_ shared_ t - sgx_
ec256_ private_ t - sgx_
ec256_ public_ t - sgx_
ec256_ signature_ t - sgx_
exception_ info_ t - sgx_
key_ id_ t - sgx_
key_ request_ t - sgx_
kss_ config_ t - sgx_
measurement_ t - sgx_
misc_ attribute_ t - sgx_
pce_ info_ t - sgx_
platform_ info_ t - sgx_
ps_ cap_ t - sgx_
ps_ sec_ prop_ desc_ t - sgx_
qe_ report_ info_ t - sgx_
ql_ att_ key_ id_ t - sgx_
ql_ auth_ data_ t - sgx_
ql_ certification_ data_ t - sgx_
ql_ config_ t - sgx_
ql_ ecdsa_ sig_ data_ t - sgx_
ql_ pck_ cert_ id_ t - sgx_
ql_ ppid_ rsa3072_ encrypted_ cert_ info_ t - sgx_
ql_ qe3_ id_ t - sgx_
ql_ qe_ report_ info_ t - sgx_
ql_ qv_ supplemental_ t - sgx_
ql_ qve_ collateral_ t - sgx_
quote3_ t - sgx_
quote_ header_ t - sgx_
quote_ nonce_ t - sgx_
quote_ t - sgx_
ra_ msg1_ t - sgx_
ra_ msg2_ t - sgx_
ra_ msg3_ t - sgx_
report_ body_ t - sgx_
report_ data_ t - sgx_
report_ t - sgx_
rsa3072_ key_ t - sgx_
rsa3072_ public_ key_ t - sgx_
rsa3072_ signature_ t - sgx_
sealed_ data_ t - sgx_
spid_ t - sgx_
target_ info_ t - sgx_
thread_ cond_ attr_ t - sgx_
thread_ cond_ t - sgx_
thread_ mutex_ attr_ t - sgx_
thread_ mutex_ t - sgx_
thread_ queue_ t - sgx_
update_ info_ bit_ t - sgx_
uswitchless_ config_ t - sgx_
uswitchless_ worker_ stats_ t
Enums§
- c_void
- Equivalent to C’s
void
type when used as a pointer. - sgx_
device_ status_ t - sgx_
dh_ session_ role_ t - sgx_
exception_ type_ t - sgx_
exception_ vector_ t - sgx_
generic_ ecresult_ t - sgx_
pce_ error_ t - sgx_
qcnl_ error_ t - sgx_
ql_ attestation_ algorithm_ id_ t - sgx_
ql_ cert_ key_ type_ t - sgx_
ql_ config_ version_ t - sgx_
ql_ path_ type_ t - sgx_
ql_ qv_ result_ t - sgx_
ql_ request_ policy_ t - sgx_
quote3_ error_ t - sgx_
quote_ sign_ type_ t - sgx_
qv_ path_ type_ t - sgx_
ra_ key_ type_ t - sgx_
rsa_ key_ type_ t - sgx_
rsa_ result_ t - sgx_
status_ t - sgx_
uswitchless_ worker_ event_ t - sgx_
uswitchless_ worker_ type_ t
Constants§
- DMP1_
SIZE_ IN_ BYTES - DMP1_
SIZE_ IN_ UINT - DMQ1_
SIZE_ IN_ BYTES - DMQ1_
SIZE_ IN_ UINT - D_
SIZE_ IN_ BYTES - D_
SIZE_ IN_ UINT - ENCLAVE_
CRASHED - ENCLAVE_
INIT_ DONE - ENCLAVE_
INIT_ IN_ PROGRESS - ENCLAVE_
INIT_ NOT_ STARTED - EXCEPTION_
CONTINUE_ EXECUTION - EXCEPTION_
CONTINUE_ SEARCH - E_
SIZE_ IN_ BYTES - E_
SIZE_ IN_ UINT - FILENAME_
MAX - FLAGS_
NON_ SECURITY_ BITS - FLAGS_
SECURITY_ BITS_ RESERVED - FOPEN_
MAX - IQMP_
SIZE_ IN_ BYTES - IQMP_
SIZE_ IN_ UINT - MAX_
EX_ FEATURES_ COUNT - MISC_
NON_ SECURITY_ BITS - N_
SIZE_ IN_ BYTES - N_
SIZE_ IN_ UINT - PCE_
ALG_ RSA_ OAEP_ 3072 - PCE_ID
- PCE_
NIST_ P256_ ECDSA_ SHA256 - PS_
CAP_ MONOTONIC_ COUNTER - PS_
CAP_ TRUSTED_ TIME - P_
SIZE_ IN_ BYTES - P_
SIZE_ IN_ UINT - Q_
SIZE_ IN_ BYTES - Q_
SIZE_ IN_ UINT - REF_
QUOTE_ MAX_ AUTHENTICATON_ DATA_ SIZE - SE_
WORDSIZE - SGX_
AESCTR_ KEY_ SIZE - SGX_
AESGCM_ IV_ SIZE - SGX_
AESGCM_ KEY_ SIZE - SGX_
AESGCM_ MAC_ SIZE - SGX_
CMAC_ KEY_ SIZE - SGX_
CMAC_ MAC_ SIZE - SGX_
CONFIGID_ SIZE - SGX_
CPUSVN_ SIZE - SGX_
CREATE_ ENCLAVE_ EX_ KSS - SGX_
CREATE_ ENCLAVE_ EX_ KSS_ BIT_ IDX - SGX_
CREATE_ ENCLAVE_ EX_ PCL - SGX_
CREATE_ ENCLAVE_ EX_ PCL_ BIT_ IDX - SGX_
CREATE_ ENCLAVE_ EX_ SWITCHLESS - SGX_
CREATE_ ENCLAVE_ EX_ SWITCHLESS_ BIT_ IDX - SGX_
DH_ MAC_ SIZE - SGX_
DH_ SESSION_ DATA_ SIZE - SGX_
ECP256_ KEY_ SIZE - SGX_
FEBITSIZE - SGX_
FLAGS_ DEBUG - SGX_
FLAGS_ EINITTOKEN_ KEY - SGX_
FLAGS_ INITTED - SGX_
FLAGS_ KSS - SGX_
FLAGS_ MODE64BIT - SGX_
FLAGS_ PROVISION_ KEY - SGX_
FLAGS_ RESERVED - SGX_
HASH_ SIZE - SGX_
HMAC256_ KEY_ SIZE - SGX_
HMAC256_ MAC_ SIZE - SGX_
ISVEXT_ PROD_ ID_ SIZE - SGX_
ISV_ FAMILY_ ID_ SIZE - SGX_
KEYID_ SIZE - SGX_
KEYPOLICY_ CONFIGID - SGX_
KEYPOLICY_ ISVEXTPRODID - SGX_
KEYPOLICY_ ISVFAMILYID - SGX_
KEYPOLICY_ MRENCLAVE - SGX_
KEYPOLICY_ MRSIGNER - SGX_
KEYPOLICY_ NOISVPRODID - SGX_
KEYSELECT_ LICENSE - SGX_
KEYSELECT_ PROVISION - SGX_
KEYSELECT_ PROVISION_ SEAL - SGX_
KEYSELECT_ REPORT - SGX_
KEYSELECT_ SEAL - SGX_
KEY_ REQUEST_ RESERVE D2_ BYTES - SGX_
MAC_ SIZE - SGX_
NISTP_ ECP256_ KEY_ SIZE - SGX_
PCL_ GUID - SGX_
PCL_ GUID_ SIZE - SGX_
PLATFORM_ INFO_ SIZE - SGX_
PROT_ EXEC - SGX_
PROT_ NONE - SGX_
PROT_ READ - SGX_
PROT_ WRITE - SGX_
REPORT_ BODY_ RESERVE D1_ BYTES - SGX_
REPORT_ BODY_ RESERVE D2_ BYTES - SGX_
REPORT_ BODY_ RESERVE D3_ BYTES - SGX_
REPORT_ BODY_ RESERVE D4_ BYTES - SGX_
REPORT_ DATA_ SIZE - SGX_
RSA3072_ KEY_ SIZE - SGX_
RSA3072_ PRI_ EXP_ SIZE - SGX_
RSA3072_ PUB_ EXP_ SIZE - SGX_
SEAL_ IV_ SIZE - SGX_
SEAL_ TAG_ SIZE - SGX_
SHA1_ HASH_ SIZE - SGX_
SHA256_ HASH_ SIZE - SGX_
SPINLOCK_ INITIALIZER - SGX_
TARGET_ INFO_ RESERVE D1_ BYTES - SGX_
TARGET_ INFO_ RESERVE D2_ BYTES - SGX_
TARGET_ INFO_ RESERVE D3_ BYTES - SGX_
THREAD_ COND_ INITIALIZER - SGX_
THREAD_ MUTEX_ INITIALIZER - SGX_
THREAD_ MUTEX_ NONRECURSIVE - SGX_
THREAD_ MUTEX_ RECURSIVE - SGX_
THREAD_ NONRECURSIVE_ MUTEX_ INITIALIZER - SGX_
THREAD_ RECURSIVE_ MUTEX_ INITIALIZER - SGX_
THREAD_ T_ NULL - SGX_
XFRM_ AVX - SGX_
XFRM_ AVX512 - SGX_
XFRM_ LEGACY - SGX_
XFRM_ MPX - SGX_
XFRM_ RESERVED - SL_
DEFAULT_ FALLBACK_ RETRIES - SL_
DEFAULT_ SLEEP_ RETRIES - SL_
DEFUALT_ MAX_ TASKS_ QWORDS - SL_
MAX_ TASKS_ MAX_ QWORDS - TSEAL_
DEFAULT_ FLAGSMASK - TSEAL_
DEFAULT_ MISCMASK - _SGX_
EX_ FEATURES_ MASK_ - _SGX_
LAST_ EX_ FEATURE_ IDX_ - _SGX_
USWITCHLESS_ WORKER_ EVENT_ NUM
Functions§
- sgx_
aes_ ⚠ctr_ decrypt - sgx_
aes_ ⚠ctr_ encrypt - sgx_
aes_ ⚠gcm128_ enc_ get_ mac - sgx_
aes_ ⚠gcm128_ enc_ init - sgx_
aes_ ⚠gcm128_ enc_ update - sgx_
aes_ ⚠gcm_ close - sgx_
aligned_ ⚠free - sgx_
aligned_ ⚠malloc - sgx_
alloc_ ⚠rsrv_ mem - sgx_
calc_ ⚠quote_ size - sgx_
calc_ ⚠sealed_ data_ size - sgx_
calculate_ ⚠ecdsa_ priv_ key - sgx_
cap_ ⚠enable_ device - sgx_
cap_ ⚠get_ status - sgx_
check_ ⚠update_ status - sgx_
clearerr ⚠ - sgx_
cmac128_ ⚠close - sgx_
cmac128_ ⚠final - sgx_
cmac128_ ⚠init - sgx_
cmac128_ ⚠update - sgx_
cpuid ⚠ - sgx_
cpuidex ⚠ - sgx_
create_ ⚠enclave - sgx_
create_ ⚠enclave_ ex - sgx_
create_ ⚠enclave_ from_ buffer_ ex - sgx_
create_ ⚠encrypted_ enclave - sgx_
create_ ⚠report - sgx_
create_ ⚠rsa_ key_ pair - sgx_
create_ ⚠rsa_ priv1_ key - sgx_
create_ ⚠rsa_ priv2_ key - sgx_
create_ ⚠rsa_ pub1_ key - sgx_
destroy_ ⚠enclave - sgx_
dh_ ⚠init_ session - sgx_
dh_ ⚠initiator_ proc_ msg1 - sgx_
dh_ ⚠initiator_ proc_ msg3 - sgx_
dh_ ⚠responder_ gen_ msg1 - sgx_
dh_ ⚠responder_ proc_ msg2 - sgx_
ecc256_ ⚠calculate_ pub_ from_ priv - sgx_
ecc256_ ⚠check_ point - sgx_
ecc256_ ⚠close_ context - sgx_
ecc256_ ⚠compute_ shared_ dhkey - sgx_
ecc256_ ⚠create_ key_ pair - sgx_
ecc256_ ⚠open_ context - sgx_
ecdsa_ ⚠sign - sgx_
ecdsa_ ⚠verify - sgx_
ecdsa_ ⚠verify_ hash - sgx_
fclear_ ⚠cache - sgx_
fclose ⚠ - sgx_
feof ⚠ - sgx_
ferror ⚠ - sgx_
fexport_ ⚠auto_ key - sgx_
fflush ⚠ - sgx_
fimport_ ⚠auto_ key - sgx_
fopen ⚠ - sgx_
fopen_ ⚠auto_ key - sgx_
fread ⚠ - sgx_
free_ ⚠rsa_ key - sgx_
free_ ⚠rsrv_ mem - sgx_
fseek ⚠ - sgx_
ftell ⚠ - sgx_
fwrite ⚠ - sgx_
get_ ⚠add_ mac_ txt_ len - sgx_
get_ ⚠aligned_ ptr - sgx_
get_ ⚠encrypt_ txt_ len - sgx_
get_ ⚠extended_ epid_ group_ id - sgx_
get_ ⚠key - sgx_
get_ ⚠metadata - sgx_
get_ ⚠pce_ info - sgx_
get_ ⚠pce_ info_ without_ ppid - sgx_
get_ ⚠ps_ cap - sgx_
get_ ⚠quote - sgx_
get_ ⚠quote_ ex - sgx_
get_ ⚠quote_ size - sgx_
get_ ⚠quote_ size_ ex - sgx_
get_ ⚠supported_ att_ key_ id_ num - sgx_
get_ ⚠supported_ att_ key_ ids - sgx_
get_ ⚠target_ info - sgx_
get_ ⚠whitelist - sgx_
get_ ⚠whitelist_ size - sgx_
hmac256_ ⚠close - sgx_
hmac256_ ⚠final - sgx_
hmac256_ ⚠init - sgx_
hmac256_ ⚠update - sgx_
hmac_ ⚠sha256_ msg - sgx_
init_ ⚠quote - sgx_
init_ ⚠quote_ ex - sgx_
is_ ⚠capable - sgx_
is_ ⚠enclave_ crashed - sgx_
is_ ⚠outside_ enclave - sgx_
is_ ⚠within_ enclave - sgx_
mac_ ⚠aadata - sgx_
mac_ ⚠aadata_ ex - sgx_
ocalloc ⚠ - sgx_
ocfree ⚠ - sgx_
pce_ ⚠get_ target - sgx_
pce_ ⚠sign_ report - sgx_
qcnl_ ⚠free_ pck_ cert_ chain - sgx_
qcnl_ ⚠free_ pck_ crl_ chain - sgx_
qcnl_ ⚠free_ qe_ identity - sgx_
qcnl_ ⚠free_ qve_ identity - sgx_
qcnl_ ⚠free_ root_ ca_ crl - sgx_
qcnl_ ⚠free_ tcbinfo - sgx_
qcnl_ ⚠get_ pck_ cert_ chain - sgx_
qcnl_ ⚠get_ pck_ crl_ chain - sgx_
qcnl_ ⚠get_ qe_ identity - sgx_
qcnl_ ⚠get_ qve_ identity - sgx_
qcnl_ ⚠get_ root_ ca_ crl - sgx_
qcnl_ ⚠get_ tcbinfo - sgx_
qcnl_ ⚠register_ platform - sgx_
qe_ ⚠cleanup_ by_ policy - sgx_
qe_ ⚠get_ quote - sgx_
qe_ ⚠get_ quote_ size - sgx_
qe_ ⚠get_ target_ info - sgx_
qe_ ⚠set_ enclave_ load_ policy - sgx_
ql_ ⚠free_ quote_ config - sgx_
ql_ ⚠free_ quote_ verification_ collateral - sgx_
ql_ ⚠free_ qve_ identity - sgx_
ql_ ⚠free_ root_ ca_ crl - sgx_
ql_ ⚠get_ quote_ config - sgx_
ql_ ⚠get_ quote_ verification_ collateral - sgx_
ql_ ⚠get_ qve_ identity - sgx_
ql_ ⚠get_ root_ ca_ crl - sgx_
ql_ ⚠set_ path - sgx_
qv_ ⚠free_ qve_ identity - sgx_
qv_ ⚠get_ quote_ supplemental_ data_ size - sgx_
qv_ ⚠get_ qve_ identity - sgx_
qv_ ⚠set_ enclave_ load_ policy - sgx_
qv_ ⚠set_ path - sgx_
qv_ ⚠verify_ quote - sgx_
ra_ ⚠close - sgx_
ra_ ⚠get_ ga - sgx_
ra_ ⚠get_ keys - sgx_
ra_ ⚠get_ msg1 - sgx_
ra_ ⚠get_ msg1_ ex - sgx_
ra_ ⚠init - sgx_
ra_ ⚠init_ ex - sgx_
ra_ ⚠proc_ msg2 - sgx_
ra_ ⚠proc_ msg2_ ex - sgx_
read_ ⚠rand - sgx_
register_ ⚠exception_ handler - sgx_
register_ ⚠wl_ cert_ chain - sgx_
remove ⚠ - sgx_
report_ ⚠attestation_ status - sgx_
rijndael128GCM_ ⚠decrypt - sgx_
rijndael128GCM_ ⚠encrypt - sgx_
rijndael128_ ⚠cmac_ msg - sgx_
rsa3072_ ⚠sign - sgx_
rsa3072_ ⚠verify - sgx_
rsa_ ⚠priv_ decrypt_ sha256 - sgx_
rsa_ ⚠pub_ encrypt_ sha256 - sgx_
seal_ ⚠data - sgx_
seal_ ⚠data_ ex - sgx_
select_ ⚠att_ key_ id - sgx_
self_ ⚠report - sgx_
self_ ⚠target - sgx_
set_ ⚠pce_ enclave_ load_ policy - sgx_
sha1_ ⚠close - sgx_
sha1_ ⚠get_ hash - sgx_
sha1_ ⚠init - sgx_
sha1_ ⚠msg - sgx_
sha1_ ⚠update - sgx_
sha256_ ⚠close - sgx_
sha256_ ⚠get_ hash - sgx_
sha256_ ⚠init - sgx_
sha256_ ⚠msg - sgx_
sha256_ ⚠update - sgx_
spin_ ⚠lock - sgx_
spin_ ⚠unlock - sgx_
thread_ ⚠cond_ broadcast - sgx_
thread_ ⚠cond_ destroy - sgx_
thread_ ⚠cond_ init - sgx_
thread_ ⚠cond_ signal - sgx_
thread_ ⚠cond_ wait - sgx_
thread_ ⚠equal - sgx_
thread_ ⚠mutex_ destroy - sgx_
thread_ ⚠mutex_ init - sgx_
thread_ ⚠mutex_ lock - sgx_
thread_ ⚠mutex_ trylock - sgx_
thread_ ⚠mutex_ unlock - sgx_
thread_ ⚠self - sgx_
tprotect_ ⚠rsrv_ mem - sgx_
unmac_ ⚠aadata - sgx_
unregister_ ⚠exception_ handler - sgx_
unseal_ ⚠data - sgx_
verify_ ⚠report
Type Aliases§
- SGX_
FILE - SgxError
- SgxPce
Error - SgxPce
Result - SgxQcnl
Error - SgxQcnl
Result - SgxQuote3
Error - SgxQuote3
Result - SgxResult
- SysError
- SysResult
- c_char
- c_
double - c_float
- c_int
- c_long
- c_
longlong - c_schar
- c_short
- c_uchar
- c_uint
- c_ulong
- c_
ulonglong - c_
ushort - int8_t
- int16_t
- int32_t
- int64_t
- intmax_
t - intptr_
t - ptrdiff_
t - sgx_
aes_ ctr_ 128bit_ key_ t - sgx_
aes_ gcm_ 128bit_ key_ t - sgx_
aes_ gcm_ 128bit_ tag_ t - sgx_
aes_ state_ handle_ t - sgx_
cmac_ 128bit_ key_ t - sgx_
cmac_ 128bit_ tag_ t - sgx_
cmac_ state_ handle_ t - sgx_
config_ id_ t - sgx_
config_ svn_ t - sgx_
cpuinfo_ t - sgx_
ec_ key_ 128bit_ t - sgx_
ecall_ get_ ga_ trusted_ t - sgx_
ecall_ get_ msg3_ trusted_ t - sgx_
ecall_ proc_ msg2_ trusted_ t - sgx_
ecc_ state_ handle_ t - sgx_
enclave_ id_ t - sgx_
epid_ group_ id_ t - sgx_
exception_ handler_ t - sgx_
hmac_ 256bit_ key_ t - sgx_
hmac_ 256bit_ tag_ t - sgx_
hmac_ state_ handle_ t - sgx_
isv_ svn_ t - sgx_
isvext_ prod_ id_ t - sgx_
isvfamily_ id_ t - sgx_
key_ 128bit_ t - sgx_
key_ 256bit_ t - sgx_
launch_ token_ t - sgx_
mac_ 128bit_ t - sgx_
mac_ 256bit_ t - sgx_
mac_ t - sgx_
misc_ select_ t - sgx_
prod_ id_ t - sgx_
ra_ context_ t - sgx_
ra_ derive_ secret_ keys_ t - sgx_
ra_ key_ 128_ t - sgx_
rsa_ key_ t - sgx_
sha1_ hash_ t - sgx_
sha256_ hash_ t - sgx_
sha_ state_ handle_ t - sgx_
spinlock_ t - sgx_
thread_ t - sgx_
uswitchless_ worker_ callback_ t - size_t
- ssize_t
- sys_
error_ t - time_t
- uint8_t
- uint16_
t - uint32_
t - uint64_
t - uintmax_
t - uintptr_
t