Intel® Software Guard Extensions (Intel® SGX)
Discussion board focused on hardware-based isolation and memory encryption to provide extended code protection in solutions.

How to get the SGX EPID group?

bob_y_
Beginner
529 Views

 

How to get the SGX EPID group?

according to the remote attestation sample code all msg is written in sample_message.h

 

0 Kudos
3 Replies
Rodolfo_S_
New Contributor III
529 Views

Hi, bob.

The GID can be found in the last four bytes of MSG1. Keep in mind that the endianness of GID is Little-Endian, but IAS expects a hexstring of the the GID in Big-Endian.

Best regards,

Rodolfo

0 Kudos
bob_y_
Beginner
529 Views

Rodolfo S. wrote:

Hi, bob.

The GID can be found in the last four bytes of MSG1. Keep in mind that the endianness of GID is Little-Endian, but IAS expects a hexstring of the the GID in Big-Endian.

Best regards,

Rodolfo

Thanks for remind me that.But im still wondering how to get my own EPID instead of using the id and messages written in the sample.

Again,thanks for helping me.

0 Kudos
Rodolfo_S_
New Contributor III
529 Views

Hi,

MSG1 can be retrieved by calling the sgx_ra_get_msg1 function. After getting MSG1 you can obtain the GID as stated above.

0 Kudos
Reply