Giter Site home page Giter Site logo

rsa-sgx's Introduction

rsa-sgx - Rsa Crypto Algorithm Implementation For Intel® Software Guard Extensions (Intel® SGX)

This crate adapted sgx based on The Apache Milagro Cryptographic Library's amcl.

Installation

It is necessary to have CPUs supporting Intel SGX technology for running key-holder service node.

Enable SGX Supports on BIOS

Updated the BIOS on your machine to its latest version and enable the SGX supports on BIOS.

Setup Intel SGX Driver and SDK

The SGX driver is embedded with Linux kernel for Ubuntu 22.04. It is suggested to build executables on Ubuntu 22.04. Use below link to install the build dependencies and SDK.

SGX SDK & PSW installation for Ubuntu 22.04

Before Testing

Before build,please make sure you installed rustup and set Cargo environment correctly.Then,It is best to execute the "source $SGX_SDK_ENVIRONMENT" command

Testing

Unit testing can be done using cargo testing framework.

Note: --all-features may be replaced by --features xx where xx is the desired feature e.g. sgx.

cargo test --all --all-features --release

Features

  • sgx
  • std

rsa-sgx's People

Contributors

kaisuki avatar

Watchers

 avatar Fanghao Yang avatar

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.