12345678910111213141516171819202122 |
- #ifndef __ENCLAVE_API_H__
- #define __ENCLAVE_API_H__
- #include "sgx_tcrypto.h"
- typedef uint16_t nodenum_t;
- struct EnclaveAPIParams {
- uint16_t msgsize;
- };
- struct EnclaveAPINodeConfig {
- sgx_ec256_public_t pubkey;
- uint8_t weight;
- };
- #define SEALED_PRIVKEY_SIZE 610
- // Must be a multiple of 16
- #define FRAME_SIZE (65536+16)
- #endif
|