Coder Social home page Coder Social logo

sbellem / sgx-ipp-crypto Goto Github PK

View Code? Open in Web Editor NEW

This project forked from initc3/sgx-ipp-crypto

1.0 2.0 0.0 101 KB

Fork of linux-sgx to build IPP Crypto for SGX

License: Other

Shell 1.36% Dockerfile 0.39% Makefile 19.16% C 41.99% Nix 16.69% Python 20.41%

sgx-ipp-crypto's Introduction


HERE BE DRAGONS

ONLY meant for PROTOTYPING & EXPERIMENTAL purposes!

NOT FOR PRODUCTION, NOT FOR BETA, NOT FOR ALPHA, ONLY for DEVELOPMENT!

USE to EXPERIMENT, LEARN, and PROTOTYPE!

HERE BE DRAGONS


This code in this repository originated from a fork of the linux-sgx repository, and using git-filter-repo only the file relevant to building IPP Crypto from source were kept.

The goal of this repository is to better understand how to build IPP Crypto from source, such that it can be used to build the linux-sgx SDK from source instead of using the prebuilt binaries provided by Intel.


The ippcp library is built based on the Open Source project ipp-crypto:

In order to build your own IPP crypto, please follow below steps:

  1. Download the prebuilt mitigation tools package as.ld.objdump.gold.{ver}.tar.gz from 01.org, extract the package and copy the tools to /usr/local/bin.

  2. Read the ipp-crypto README to prepare your build environment.

  3. Make sure ipp-crypto source code are prepared.

  4. Build the target ippcp library with the prepared Makefile:

    a. Build the target ippcp library with All-Loads-Mitigation:

    $ make MITIGATION-CVE-2020-0551=LOAD

    b. Build the target ippcp library with Branch-Mitigation:

    $ make MITIGATION-CVE-2020-0551=CF

    c. Build the target ippcp library with No-Mitigation:

    $ make

The built-out static library libippcp.a and header files will be copied into the right place. Remember to make clean before switching the build.

For IPP crypto reproducible build, please follow the instructions in reproducibility README.md to reproduce the prebuilt IPP crypto.

sgx-ipp-crypto's People

Contributors

llly avatar sbellem avatar lzha101 avatar andyzyb avatar ao2 avatar deeglaze avatar fqiu1 avatar

Stargazers

Nikolaos Dionelis avatar

Watchers

James Cloos avatar  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.