forked from cloud-security-research/sgx-ra-tls
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ra_private.h
31 lines (24 loc) · 1010 Bytes
/
ra_private.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* Interface to do remote attestation against Intel Attestation
Service. Two implementations exist: (1) sgxsdk-ra-attester_* to be
used with the SGX SDK. (2) nonsdk-ra-attester.c to be used with
Graphene-SGX. */
#ifndef _RA_PRIVATE_H
#define _RA_PRIVATE_H
struct ra_tls_options;
void do_remote_attestation(sgx_report_data_t* report_data,
const struct ra_tls_options* opts,
attestation_verification_report_t* r);
extern const uint8_t ias_response_body_oid[];
extern const uint8_t ias_root_cert_oid[];
extern const uint8_t ias_leaf_cert_oid[];
extern const uint8_t ias_report_signature_oid[];
extern const uint8_t quote_oid[];
extern const uint8_t pck_crt_oid[];
extern const uint8_t pck_sign_chain_oid[];
extern const uint8_t tcb_info_oid[];
extern const uint8_t tcb_sign_chain_oid[];
extern const uint8_t qe_identity_oid[];
extern const uint8_t root_ca_crl_oid[];
extern const uint8_t pck_crl_oid[];
extern const size_t ias_oid_len;
#endif