$ cd func_call_v3.14_JAVA
$ make
$ ./app input_file_path 128bits-key output_file_path
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
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
$ 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)