GithubHelp home page GithubHelp logo

finallyjustice / sgx-demo-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jeflora/sgx-demo-app

1.0 2.0 2.0 17 KB

This repository holds the demo application used for a simple Intel SGX tutorial

License: The Unlicense

C++ 45.01% Makefile 54.99%

sgx-demo-app's Introduction

SGX Demo Application

This simple application aims to act as a sample for Intel® SGX application structure and implementation.

This project approaches some techniques used with Intel® SGX, such as:

  • Creating and Destroying Enclaves
  • Enclaves Definition Language
  • Data Sealing

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and learning purposes.

Project Structure

This project is divided into two parts: The Guessing Game and The Statistics Gather

Project Tree

sgx-demo-app/
├── LICENSE
├── README.md
├── data
│   └── README.md
├── guess-the-number
│   ├── App
│   │   └── App.cpp
│   ├── Enclave
│   │   ├── Enclave.config.xml
│   │   ├── Enclave.cpp
│   │   ├── Enclave.edl
│   │   └── Enclave_private.pem
│   ├── Makefile
│   └── README.md
└── stats-keeper
    ├── App
    │   └── App.cpp
    ├── Enclave
    │   ├── Enclave.config.xml
    │   ├── Enclave.cpp
    │   ├── Enclave.edl
    │   └── Enclave_private.pem
    ├── Makefile
    └── README.md

Prerequisites

To use this application, you need to have installed. To install these components, please follow the instructions available in the links provided below.

Installing

To install the application use the commands below:

  • Clone this project using:
$ git clone https://github.com/jeflora/sgx-demo-app.git
  • Build and run the application:
$ cd stats-keeper/
$ make SGX_MODE=SIM # for simulation mode
$ # or
$ make SGX_MODE=HW  # for hardware mode
$ ./app.out
$ cd guess-the-number/
$ make SGX_MODE=SIM # for simulation mode
$ # or
$ make SGX_MODE=HW  # for hardware mode
$ ./app.out

NB: Keep in mind that to run this project in hardware mode, it requires an Intel® Core 6th generation or more with Intel® SGX enabled.

Built With

  • Intel® SGX - An Intel® architecture extension designed to increase the security of application code and data.

Authors

sgx-demo-app's People

Contributors

jeflora avatar

Stargazers

Dongli Zhang avatar

Watchers

James Cloos avatar  avatar

Forkers

justin-he

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.