Crate sgx_keyreq[][src]

Expand description

A library for simplifying the retrieval of keys in an SGX enclave. The library is both compatible with no_std environments as well as the stable rust compiler.

let mut key: [u8; 32] = RdRand::new()?.gen();
sgx_keyreq::get_key(Default::default(), &mut key)?;

Re-exports

pub use sgx_isa;

Modules

Low level ENCLU calls for extracting key information from the CPU

Structs

Options for requesting a key

Functions

Fills a key in-place based on a seed