12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- #ifndef _SE_SIG_RL_H_
- #define _SE_SIG_RL_H_
- #include "se_types.h"
- #include "epid/common/types.h"
- #include "sgx_error.h"
- #ifdef __cplusplus
- extern "C" {
- #endif
- #define SE_EPID_SIG_RL_VERSION 0x200
- #define SE_EPID_SIG_RL_ID 0xE00
- #define SE_ECDSA_SIGN_SIZE 32
- #pragma pack(push, 1)
- typedef struct _se_sig_rl_t {
- uint16_t protocol_version;
- uint16_t epid_identifier;
- SigRl sig_rl;
- }se_sig_rl_t;
- typedef struct _se_ae_ecdsa_hash_t {
- uint32_t hash[8];
- }se_ae_ecdsa_hash_t;
- #pragma pack(pop)
- uint64_t se_get_sig_rl_size(const se_sig_rl_t *p_sig_rl);
- #ifndef _SGX_UAE_SERVICE_H_
- sgx_status_t sgx_calc_quote_size(const uint8_t *sig_rl, uint32_t sig_rl_size, uint32_t* p_quote_size);
- sgx_status_t sgx_get_quote_size(const uint8_t *sig_rl, uint32_t* p_quote_size);
- #endif
- #ifdef __cplusplus
- }
- #endif
- #endif
|