Questions tagged [sgx]

Intel SGX is a set of CPU instruction extensions that allows application developers to create applications that retain the confidentiality and integrity of select data and code using Secure Enclaves.

Intel SGX is a set of CPU instruction extensions that allows application developers to create applications that retain the confidentiality and integrity of select data and code using secure Enclaves.

Enclaves are protected areas of execution. Application code can be put into an enclave via special instructions and software made available to developers via the Intel SGX SDK. The SDK and documentation are available at:

Requirements

SGX requires 6th Generation Intel Core Processors (Skylake) or later.

The Windows SDK requires a 64-bit version of Windows 7 or above, and the Microsoft Universal C Runtime.

The Linux SDK requires Ubuntu Desktop-16.04-LTS 64-bit.

175 questions
2
votes
1 answer

How to make Corda smart contracts to run inside Intel SGX enclaves?

Conclave – a play on enclave – is the name for R3’s research product which hopes to make ‘Enclave oriented computing’ (EoC) accessible to developers. Basically trying to understand how to achieve this
asing177
  • 934
  • 2
  • 13
  • 34
2
votes
0 answers

How to use Intel SGX service provider certificate with Ubuntu and Android?

I have already posted this question in the Intel Forums, but my schedule is limited and I need a quick answer, so I am reaching out to all available media. I am developing a small Intel SGX Application that does remote attestation with an Android…
2
votes
1 answer

How to get the Quote from an Intel SGX Enclave

I am developing a trusted computing project with the help of an Intel SGX Enclave. To verify an Enclave i need the Quote generated by the Quoting-Enclave. I know how it works theoretically and how to start an Enclave. But I am not able to find any…
Cookie T
  • 21
  • 2
2
votes
1 answer

Best way to convert 2D vector to C type (for SGX enclave)

I'm trying to write an SGX enclave that takes in a 2D vector of int (representing a grayscale image), but edger8r accepts only C types. I am aware of this and this, but could someone provide an example on how to transform a type like: vector< vector…
asonnino
  • 400
  • 1
  • 4
  • 15
2
votes
1 answer

Pass variable-size buffer from SGX enclave to outside

I am trying to do a function with the following prototype: void pass_buffer(void** buffer_out, size_t* buffer_out_len, const void* buffer_in, size_t buffer_in_len); So the idea is to pass a buffer into the enclave, and then return a response in…
2
votes
1 answer

Passing vector to enclave in Intel SGX

I have a vector> a; How could I pass it to the enclave? How I declare edl function. A sample function declaration for the app, edl and enclave is much appreciated. I am aware of this: C++ Arguments to SGX Enclave Edge Functions. A…
Kumar Roshan Mehta
  • 3,078
  • 2
  • 27
  • 50
2
votes
1 answer

Does Intel SGX provide software memory protection in simulation mode?

I have some 4th generation Intel CPU and I want to run some Intel SGX application. I use release simulation mode. Here you can see that SGX simulation doesn't provide HARDWARE protection! However, I would like to know if Intel SGX provides some kind…
Roman Zavodskikh
  • 513
  • 1
  • 6
  • 14
2
votes
1 answer

What's the relationship among Enclave , thread and process?

What's the relationship among Enclave , thread and process? Does SGX support multi-thread or multi-process? What will happen if I call the "fork" to create a new process inside a enclave?
njuyuanrui
  • 133
  • 2
  • 7
2
votes
1 answer

Intel SGX development on older generation of Intel processor

Is it possible to do Intel SGX development on the older generation of Intel processor that does not have SGX support with some simulation environment? I tried to install SGX SDK which installed correctly but could not able to install SGX PSW as…
Kumar Roshan Mehta
  • 3,078
  • 2
  • 27
  • 50
2
votes
2 answers

Transaction resolution using Intel SGX

According to this post from Mike Hearn: https://www.corda.net/2017/06/corda-sgx-privacy-update/ in the transaction resolution process, I understand that in a transaction between a proposer A and party B: Proposer A sends the transaction to Party…
Maka
  • 357
  • 1
  • 11
2
votes
3 answers

Load an application into Intel SGX enclave

Is there a way to load an existing application into an Intel SGX enclave directly?
2
votes
2 answers

can we run Linux commands inside sgx-enclave?

Can we write code inside sgx enclave which executes Linux commands like below: cryptsetup ln I want add some encryption code inside sgx enclave. How to do file IO inside enclave.
Rajendra
  • 373
  • 1
  • 2
  • 18
1
vote
0 answers

how to specify the PCCS_URL

I have installed and COnfigured the PCCS, using link : https://www.intel.com/content/www/us/en/developer/articles/guide/intel-software-guard-extensions-data-center-attestation-primitives-quick-install-guide.html my question is that how can I specify…
sama
  • 333
  • 2
  • 11
1
vote
0 answers

verify SGX quote attestation with DCAP

I am new in SGX,In DCAP attestation a SGX quote is generated which is going to be used by the client to make sure the code or request is executed inside SGX so my question are: when attestations occurs, how the client car verify the quote? where…
sama
  • 333
  • 2
  • 11
1
vote
0 answers

No cache data for this platform

I have installed pccs on my vm with sgx enabled, the I run sudo systemctl start pccs and curl -k -G "https://localhost:8081/sgx/certification/v4/rootcacrl" but I get error No cache data for this platform. my kernel is : cat /proc/version Linux…
sama
  • 333
  • 2
  • 11
1 2
3
11 12