- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to do remote attestation with Intel SGX on Windows platform. Building the code from the scratch.
I am facing issues while building the code to get the sgx_ra_get_msg1() function to construct the msg1 object inside the enclave code.
Most of the errors are related to sgx_ukey_exchange.lib.
The text file contains the error messages that I receive during the enclave build process.
I am using Windows SGX SDK ver 2.2.100.48339 on VS 2017
Please let me know what is going wrong with the library as I have followed the steps mentioned in the RA documentation and imported all the required libraries and the EDL files.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Siddharth.
It looks like you still may be missing some library dependencies. If you take a look at the fully functional SGX RA sample out on GitHub, you'll see the libraries it uses: sgx_ukey_exchange.lib;libCrypto.lib;sgx_urts.lib;sgx_uae_service.lib
Please confirm you have all of those.
Also, make sure you're pointing to the correct versions depending on your build config (x64, x86, debug, release, pre-release, etc.).
If interested, check out that project to see if it helps: https://github.com/intel/sgx-ra-sample
Regards.
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Scott
The following libraries have been linked to the enclave code and the associated header files & EDL files have also been included. But the errors still persist.
sgx_trts.lib
sgx_urts.lib
sgx_tstdc.lib
sgx_tservice.lib
sgx_tcrypto.lib
sgx_tcxx.lib
sgx_tkey_exchange.lib
sgx_ukey_exchange.lib
sgx_uae_service.lib
C:\Program Files (x86)\OpenSSL-Win32\lib\libcrypto.lib
The RA sample code present on GitHub does not have a function that calls the sgx_ra_get_msg1 method defined inside the SGX SDK.
Can you please let me know where am I going wrong. Presently, I am using x86 under debug mode.
Thanks
Best,
Siddharth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Siddharth.
sgx_ra_get_msg1 is actually called from client.cpp in that sample. See line 517:
https://github.com/intel/sgx-ra-sample/blob/master/client.cpp
Regards.
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Intel software is very important for us. And it is very helpful for us. I use a good type of information. With the help of software, I can access the printer and if I have an issue with printer then go to the printer repair near me to solve all the problem. which provide good service to access good information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Open File Explorer by pressing simultaneously the Windows and E keys on your keyboard.
Press Ctrl and L at the same time to access the Address Bar, HP Connection failed with error 651 and type in %systemroot%\SoftwareDistribution, then press This will open the SoftwareDistribution folder.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page