- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI
I'm new to SGX. I try to create a demo project as "Intel® Software Guard Extensions User's Guide for Windows* OS" suggested. But in the step that "Import Enclave to Application", I try to followed the guide as below
To call the enclave interface in the application, import the enclave to the application using Microsoft* Visual Studio* Intel® Software Guard Extensions Add-in.
1.
Right click the application project and select Intel® SGX Configuration -> Import Enclave.
The Import Enclave dialog box opens.
2.
Check the sample_enclave.edl box and press OK.
But in my VS project, the "import enclave" is gray as shown in attached file.
Is there anything wrong?
My VS version is 2012, sdk version is "Intel SGX SDK for Windows v1.1.30214.81"
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Changzheng,
Intel SGX SDK for Windows v1.1 Support below requirement
Software Requirements
Microsoft Windows* 7/ 8.1/10 64-bit version
Microsoft Visual Studio* 2012 Professional/Ultimate Edition only
Intel® Parallel Studio XE Professional Edition for Windows* Version 2013
Supported Languages
Enclave binding interface supported in C/C++ only
I think are you importing the enclave in enclave project itself. you need to import the enclave in application project.
Please find the sample application in the below link for your reference
https://drive.google.com/open?id=0B4N3YNdBPBe8TG1jMVNGWGtzWTg
Thanks and Regards,
Surenthar Selvaraj.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Changzheng,
Intel SGX SDK for Windows v1.1 Support below requirement
Software Requirements
Microsoft Windows* 7/ 8.1/10 64-bit version
Microsoft Visual Studio* 2012 Professional/Ultimate Edition only
Intel® Parallel Studio XE Professional Edition for Windows* Version 2013
Supported Languages
Enclave binding interface supported in C/C++ only
I think are you importing the enclave in enclave project itself. you need to import the enclave in application project.
Please find the sample application in the below link for your reference
https://drive.google.com/open?id=0B4N3YNdBPBe8TG1jMVNGWGtzWTg
Thanks and Regards,
Surenthar Selvaraj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Surenthar Selvaraj. (Intel) wrote:
Hi Changzheng,
Intel SGX SDK for Windows v1.1 Support below requirement
Software Requirements
Microsoft Windows* 7/ 8.1/10 64-bit version
Microsoft Visual Studio* 2012 Professional/Ultimate Edition only
Intel® Parallel Studio XE Professional Edition for Windows* Version 2013Supported Languages
Enclave binding interface supported in C/C++ onlyI think are you importing the enclave in enclave project itself. you need to import the enclave in application project.
Please find the sample application in the below link for your reference
https://drive.google.com/open?id=0B4N3YNdBPBe8TG1jMVNGWGtzWTg
Thanks and Regards,
Surenthar Selvaraj.
It's cool! Thanks!
By the way, I read the code in sample_enclave project you suggested, for my understanding, I should create a enclave project and my application project. The application project will call such as sgx_ecall() to create enclave and perform functions in enclave. The enclave project contains the functions which I want to perform inside the enclave. Is that right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Changzheng,
Yes, application project will call such as sgx_ecall() to create enclave and perform functions in enclave. The enclave project contains the functions which I want to perform inside the enclave.
Thanks and Regards,
Surenthar Selvaraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Surenthar Selvaraj. (Intel) wrote:
Hi Changzheng,
Yes, application project will call such as sgx_ecall() to create enclave and perform functions in enclave. The enclave project contains the functions which I want to perform inside the enclave.
Thanks and Regards,
Surenthar Selvaraj
Hi Surenthar
Thanks for your great help, I have a complementary understanding for SGX project.
Currently, I would like to build a sample application based on OpenSSL library using SGX simulation.
I have installed the latest released linux sdk on ubuntu 14.04 server. I have a question that is there any user guide about SGX project in linux enviroment, and is there already any open source project involved SGX in real life?
Thanks
Changzheng
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Changzheng,
Please refer the below link
- Intel® Software Guard Extensions SDK for Linux* OS (Developer Reference) - https://01.org/intel-software-guard-extensions/documentation/intel-sgx-sdk-developer-reference
- Intel® Software Guard Extensions Developer Guide - https://01.org/intel-software-guard-extensions/documentation/intel-sgx-developer-guide-0
- Intel® Software Guard Extensions Installation Guide - https://01.org/intel-software-guard-extensions/documentation/intel-sgx-sdk-installation-guide
Thanks and Regards,
Surenthar Selvaraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Surenthar Selvaraj. (Intel) wrote:
Hi Changzheng,
Please refer the below link
- Intel® Software Guard Extensions SDK for Linux* OS (Developer Reference) - https://01.org/intel-software-guard-extensions/documentation/intel-sgx-sdk-developer-reference
- Intel® Software Guard Extensions Developer Guide - https://01.org/intel-software-guard-extensions/documentation/intel-sgx-developer-guide-0
- Intel® Software Guard Extensions Installation Guide - https://01.org/intel-software-guard-extensions/documentation/intel-sgx-sdk-installation-guide
Thanks and Regards,
Surenthar Selvaraj
It's great , Surenthar!
Thank you so much
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Changzheng,
Please refer the below link for sample code build on Linux SGX SDK
https://github.com/01org/linux-sgx/tree/master/SampleCode
Thanks and Regards,
Surenthar Selvaraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've followed the instructions on the SGX SDK Installation Guide for Linux OS, skipping the driver and PSW installations for now to try to set up a viable Eclipse dev environment. The Eclipse Plugin is "installed" however, I do not see SGX Preferences under the Window -> Preferences menu to be able to point to the SDK directory. I have tried both Mars.1 and Mars.2 versions of Eclipse but have not been successful. Please advise.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Esmond L. wrote:
I've followed the instructions on the SGX SDK Installation Guide for Linux OS, skipping the driver and PSW installations for now to try to set up a viable Eclipse dev environment. The Eclipse Plugin is "installed" however, I do not see SGX Preferences under the Window -> Preferences menu to be able to point to the SDK directory. I have tried both Mars.1 and Mars.2 versions of Eclipse but have not been successful. Please advise.
Try to uninstall Eclipse application, SGX SDK as well and start a clean installation following the installation guide. We recommend to install Eclipse , Eclipse Plugin for SGX, SDK SDK in order respectively. Make sure to satisfy the system pre-requisites mentioned in the guide.
-Surenthar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Esmond L. wrote:
I've followed the instructions on the SGX SDK Installation Guide for Linux OS, skipping the driver and PSW installations for now to try to set up a viable Eclipse dev environment. The Eclipse Plugin is "installed" however, I do not see SGX Preferences under the Window -> Preferences menu to be able to point to the SDK directory. I have tried both Mars.1 and Mars.2 versions of Eclipse but have not been successful. Please advise.
Resolve all those issues by installing Java 8 on Ubuntu. Once you do that, the SGX Eclipse Plugin preferences, context menus, and wizards will be available.
sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo update-alternatives --config java
Good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have installed Build the Intel(R) SGX SDK and Intel(R) SGX PSW Package as mentioned on https://github.com/01org/linux-sgx
I wanted to ask can I use Intel Parallel Studio XE cluster for SGX development? If yes what steps I need to follow?
system configuration:
Ubuntu 16.04, 64 Bit.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page