pub struct SgxInfo { /* private fields */ }
Expand description
Intel SGX Capability Enumeration Leaf, sub-leaf 0 (EAX = 12H, ECX = 0 and ECX = 1)
Implementations§
source§impl SgxInfo
impl SgxInfo
sourcepub fn has_enclv_leaves_einvirtchild_edecvirtchild_esetcontext(&self) -> bool
pub fn has_enclv_leaves_einvirtchild_edecvirtchild_esetcontext(&self) -> bool
Supports ENCLV instruction leaves EINCVIRTCHILD, EDECVIRTCHILD, and ESETCONTEXT.
sourcepub fn has_encls_leaves_etrackc_erdinfo_eldbc_elduc(&self) -> bool
pub fn has_encls_leaves_etrackc_erdinfo_eldbc_elduc(&self) -> bool
Supports ENCLS instruction leaves ETRACKC, ERDINFO, ELDBC, and ELDUC.
sourcepub fn miscselect(&self) -> u32
pub fn miscselect(&self) -> u32
Bit vector of supported extended SGX features.
sourcepub fn max_enclave_size_non_64bit(&self) -> u8
pub fn max_enclave_size_non_64bit(&self) -> u8
The maximum supported enclave size in non-64-bit mode is 2^retval.
sourcepub fn max_enclave_size_64bit(&self) -> u8
pub fn max_enclave_size_64bit(&self) -> u8
The maximum supported enclave size in 64-bit mode is 2^retval.
sourcepub fn secs_attributes(&self) -> (u64, u64)
pub fn secs_attributes(&self) -> (u64, u64)
Reports the valid bits of SECS.ATTRIBUTES[127:0] that software can set with ECREATE.
sourcepub fn iter(&self) -> SgxSectionIter ⓘ
pub fn iter(&self) -> SgxSectionIter ⓘ
Iterator over SGX sub-leafs.