-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAll_test_flows.sh
More file actions
18 lines (18 loc) · 1.11 KB
/
All_test_flows.sh
File metadata and controls
18 lines (18 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Generate parameters and some keyword-searchable ciphertexts, store them
gcc -o benchmark_params_ciphers benchmark_params_ciphers.c deks.h deks.c peks.h peks.c sa_peks.h sa_peks.c -lpbc -lgmp -lcrypto
./benchmark_params_ciphers
# Evaluate Algorithm Trapdoor and the generation of catalyst
gcc -o benchmark_trapgen benchmark_trapgen.c deks.h deks.c peks.h peks.c sa_peks.h sa_peks.c -lpbc -lgmp -lcrypto
./benchmark_trapgen
# Evaluate Algorithm Test
gcc -o benchmark_test benchmark_test.c deks.h deks.c peks.h peks.c sa_peks.h sa_peks.c -lpbc -lgmp -lcrypto
./benchmark_test
# Evaluate Encryption, estimate KGA on Wikipedia and Enron datasets
gcc -o benchmark_encryption benchmark_encryption.c deks.h deks.c peks.h peks.c sa_peks.h sa_peks.c -lpbc -lgmp -lcrypto
./benchmark_encryption
# Generate and Test a Ciphertext in Parallel
gcc -o benchmark_gen_test_multithread benchmark_gen_test_multithread.c deks.h deks.c -lpbc -lgmp -lcrypto -lpthread
./benchmark_gen_test_multithread
# Evaluate Algorithm Setup
gcc -o benchmark_setup benchmark_setup.c deks.h deks.c peks.h peks.c sa_peks.h sa_peks.c -lpbc -lgmp -lcrypto
./benchmark_setup