@@ -243,24 +243,24 @@ index ae1508d45..38e6b62b7 100644
243
243
244
244
#define OE_SGX_FMSPC_SIZE 6
245
245
diff --git a/common/sgx/verifier.c b/common/sgx/verifier.c
246
- index ae4e42357..af7389642 100644
246
+ index ae4e42357..65a83a983 100644
247
247
--- a/common/sgx/verifier.c
248
248
+++ b/common/sgx/verifier.c
249
- @@ -476 ,6 +476 ,14 @@ static oe_result_t _fill_with_known_claims(
250
- sgx_endorsements->items[OE_SGX_ENDORSEMENT_FIELD_TCB_INFO]
251
- .size));
252
-
253
- + // EDG: TCB info index
254
- + OE_CHECK(oe_sgx_add_claim(
255
- + &claims[claims_index++],
256
- + OE_CLAIM_SGX_TCB_INFO_INDEX ,
257
- + sizeof( OE_CLAIM_SGX_TCB_INFO_INDEX) ,
258
- + &local_platform_tcb_level.index ,
259
- + sizeof( local_platform_tcb_level.index)));
260
- +
261
- // TCB issuer chain
262
- OE_CHECK(oe_sgx_add_claim(
263
- &claims[ claims_index++],
249
+ @@ -552 ,6 +552 ,14 @@ static oe_result_t _fill_with_known_claims(
250
+ sizeof(OE_CLAIM_SGX_PCE_SVN),
251
+ &sgx_quote->pce_svn,
252
+ sizeof(sgx_quote->pce_svn)));
253
+ +
254
+ + // EDG: TCB info index
255
+ + OE_CHECK(oe_sgx_add_claim(
256
+ + &claims[claims_index++] ,
257
+ + OE_CLAIM_SGX_TCB_INFO_INDEX,
258
+ + sizeof(OE_CLAIM_SGX_TCB_INFO_INDEX) ,
259
+ + & local_platform_tcb_level.index,
260
+ + sizeof(local_platform_tcb_level.index)));
261
+ }
262
+
263
+ *claims_added = claims_index;
264
264
diff --git a/debugger/gdb-extension/load_symbol_cmd.py b/debugger/gdb-extension/load_symbol_cmd.py
265
265
index ca0e0f893..ea04aa53b 100644
266
266
--- a/debugger/gdb-extension/load_symbol_cmd.py
@@ -1258,27 +1258,17 @@ index 2471fe6f1..f7296ef7d 100644
1258
1258
return result;
1259
1259
}
1260
1260
diff --git a/include/openenclave/attestation/sgx/evidence.h b/include/openenclave/attestation/sgx/evidence.h
1261
- index 4a19d4187..f0246300a 100644
1261
+ index 4a19d4187..33b458429 100644
1262
1262
--- a/include/openenclave/attestation/sgx/evidence.h
1263
1263
+++ b/include/openenclave/attestation/sgx/evidence.h
1264
- @@ -145,16 +145,18 @@ OE_EXTERNC_BEGIN
1265
- */
1266
- // SQX quote verification collaterals.
1267
- #define OE_CLAIM_SGX_TCB_INFO "sgx_tcb_info"
1268
- + #define OE_CLAIM_SGX_TCB_INFO_INDEX "sgx_tcb_info_index"
1269
- #define OE_CLAIM_SGX_TCB_ISSUER_CHAIN "sgx_tcb_issuer_chain"
1270
- #define OE_CLAIM_SGX_PCK_CRL "sgx_pck_crl"
1271
- #define OE_CLAIM_SGX_ROOT_CA_CRL "sgx_root_ca_crl"
1272
- #define OE_CLAIM_SGX_CRL_ISSUER_CHAIN "sgx_crl_issuer_chain"
1273
- #define OE_CLAIM_SGX_QE_ID_INFO "sgx_qe_id_info"
1274
- #define OE_CLAIM_SGX_QE_ID_ISSUER_CHAIN "sgx_qe_id_issuer_chain"
1275
- - #define OE_SGX_OPTIONAL_CLAIMS_SGX_COLLATERALS_COUNT 7
1276
- + #define OE_SGX_OPTIONAL_CLAIMS_SGX_COLLATERALS_COUNT 8
1264
+ @@ -154,7 +154,9 @@ OE_EXTERNC_BEGIN
1265
+ #define OE_SGX_OPTIONAL_CLAIMS_SGX_COLLATERALS_COUNT 7
1277
1266
// SGX PCESVN.
1278
1267
#define OE_CLAIM_SGX_PCE_SVN "sgx_pce_svn"
1279
1268
- #define OE_SGX_OPTIONAL_CLAIMS_COUNT 8
1269
+ + #define OE_CLAIM_SGX_TCB_INFO_INDEX "sgx_tcb_info_index"
1280
1270
+ #define OE_SGX_OPTIONAL_CLAIMS_COUNT \
1281
- + (OE_SGX_OPTIONAL_CLAIMS_SGX_COLLATERALS_COUNT + 1 )
1271
+ + (OE_SGX_OPTIONAL_CLAIMS_SGX_COLLATERALS_COUNT + 2 )
1282
1272
1283
1273
// Additional SGX specific claim: for the report data embedded in the SGX quote.
1284
1274
0 commit comments