Giter Site home page Giter Site logo

cfhider-public's Introduction


func_call_v3.14_JAVA

This project is used when you need to encrypt the SGXindex

$ cd func_call_v3.14_JAVA  
$ make  
$ ./app input_file_path 128bits-key output_file_path

func_call_v3.14_without_Encrytion

The unencrypted version that will build the enclave.so enclave.signed.so libSGX.so which will read the matrix in /tmp/SGXindex
The operation is similar to the following encrypted version, except that the SGXindex should not be encrypted by func_call_v3.14_JAVA/app


func_call_v3.17_Encryption

The encrypted version that will build the enclave.so enclave.signed.so libSGX.so which will read the matrix in /tmp/SGXindex

  • encryption with AES ctr mode
  • the matrix path can be modified at func_call_v3.17_Encryption/Encalve/Encalve.cpp line 48
  • the decryption can be modified at func_call_v3.17_Encryption/Encalve/Encalve.cpp line 220
  • ensure the 128bits encryption key in func_call_v3.14_JAVA and the decryption key at func_call_v3.17_Encryption/Encalve/Encalve.cpp line 220 are the same

when using this version ensure that your matrix(SGXindex) is encrypted by func_call_v3.14_JAVA/app

$ cd func_call_v3.17_Encryption  
$ make  
$ cp libSGX.so ~/hadoop/lib/native/Linux-amd64-64  
$ cp enclave.signed.so ~/hadoop/lib/native/Linux-amd64-64  
$ cp enclave.so ~/hadoop/lib/native/Linux-amd64-64  

*NOTE: .so should be in the same dir on every nodes in the cluster.(scp)


to bulid these pojects see the README.txt

cfhider-public's People

Contributors

drvoyager avatar

Watchers

Yongzhi Wang avatar

Forkers

sandeep007734

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.