PKUbuntu / hello-enclave

A "Hello World" Intel SGX enclave program

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Intel SGX "Hello World"

This is meant to be a base template for an Intel SGX application on Linux. Not sure if it is just me, but I feel the documentations on Intel SGX development on Linux is still sorely lacking. This meant to be a stub of a "Getting-started" tutorial.

This template is based on the SampleEnclave app of the sample enclaves provided with the Intel SGX Linux drivers and SDK.

Features

  • Sample code for doing ECALL
  • Sample code for doing OCALL
  • Sample code for sealing (can be taken out and patched into your enclave!)

TODO

  • Tutorial explaining what each directory and file is used for.

  • Write a getting started tutorial.

  • Tutorial on treating edls as static library (with the sealing functions as example)

Contribute

Any help for the above TODOs or any general feedback will be much appreciated! Go ahead and submit those PRs in!

About

A "Hello World" Intel SGX enclave program

License:The Unlicense


Languages

Language:Makefile 51.2%Language:C++ 48.8%