Community
cancel
Showing results for 
Search instead for 
Did you mean: 
bob_y_
Beginner
108 Views

How to get the SGX EPID group?

 

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
108 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

bob_y_
Beginner
108 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.

Rodolfo_S_
New Contributor III
108 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.

Reply