pub enum DriverFamily {
Montgomery,
Augusta,
}Expand description
A Linux SGX driver API family.
Unfortunately, there are many different driver versions that all have a slightly different API and may also have slightly different functionality. There is no common versioning or naming scheme for referring to these drivers. These are grouped here into different families of APIs, each family represents a set of interfaces that are very similar, and as such can be called by similar logic.
Variants§
Montgomery
These APIs are commonly exposed via device nodes at
/dev/isgx/dev/sgx/dev/sgx_prv
§Compatibility notes
Implementations may require a launch token, may not support providing a launch token, or may provide both as an option.
Augusta
This API is commonly exposed via a device node at
/dev/sgx/enclave/dev/sgx_enclave
§Compatibility notes
Currently, no upstream implementations of this API family support partially-measured pages or providing a launch token. A Fortanix internal SGX driver explicitly adds support for partially-measured pages for backwards compatibility reasons.