- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
How to get the value of SGX Internal CREGs?
When enclave A makes a report to enclave B, in enclave B I want to get the same report key which is used during enclave making the report.
So, it seems that I must know some CREGs' value such as CR_SEAL_FUSES.
Thanks.
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hi Gu,
There is an SDK API, sgx_verify_report(report), to perform this function. An enclave can also generate the report key using the API, sgx_get_key(key_request, &key), which is a wrapper for SGX's EGETKEY instruction. The report's MAC is generated using AES128_CMAC.
CREG's are internal registers to the part. The programmer is not supposed to have access to them.
Thanks and Regards,
Surenthar Selvaraj
링크가 복사됨
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hi Gu,
There is an SDK API, sgx_verify_report(report), to perform this function. An enclave can also generate the report key using the API, sgx_get_key(key_request, &key), which is a wrapper for SGX's EGETKEY instruction. The report's MAC is generated using AES128_CMAC.
CREG's are internal registers to the part. The programmer is not supposed to have access to them.
Thanks and Regards,
Surenthar Selvaraj
