enclave_api.h 285 B

12345678910111213141516171819
  1. #ifndef __ENCLAVE_API_H__
  2. #define __ENCLAVE_API_H__
  3. #include "sgx_tcrypto.h"
  4. typedef uint16_t nodenum_t;
  5. struct EnclaveAPIParams {
  6. uint16_t msgsize;
  7. };
  8. struct EnclaveAPINodeConfig {
  9. sgx_ec256_public_t pubkey;
  10. uint8_t weight;
  11. };
  12. #define SEALED_PRIVKEY_SIZE 610
  13. #endif