Skip to content

sandeep007734/CFHider-Public

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 45.8%
  • C++ 45.0%
  • C 4.2%
  • Makefile 3.9%
  • Shell 1.1%