#ifndef __UNTRUSTED_HPP__ #define __UNTRUSTED_HPP__ #include #include "sgx_eid.h" #include "sgx_tseal.h" #include "../Enclave/enclave_api.h" extern sgx_enclave_id_t global_eid; int initialize_enclave(); void ecall_identity_key_new(sgx_ec256_public_t* outpub, sgx_sealed_data_t* outsealedpriv); bool ecall_identity_key_load(sgx_ec256_public_t* outpub, const sgx_sealed_data_t* insealedpriv); bool ecall_config_load(struct EnclaveAPIParams *apiparams, struct EnclaveAPINodeConfig *apinodeconfigs, nodenum_t num_nodes, nodenum_t my_node_num); #endif