Untrusted.hpp 364 B

123456789101112131415161718
  1. #ifndef __UNTRUSTED_HPP__
  2. #define __UNTRUSTED_HPP__
  3. #include <cstddef>
  4. #include "sgx_eid.h"
  5. extern sgx_enclave_id_t global_eid;
  6. int initialize_enclave();
  7. void ecall_identity_key_new(sgx_ec256_public_t* outpub,
  8. sgx_sealed_data_t* outsealedpriv);
  9. bool ecall_identity_key_load(sgx_ec256_public_t* outpub,
  10. const sgx_sealed_data_t* insealedpriv);
  11. #endif