./main.out <testCases No.> <Number of tests per run (default 100)> <output filename (default results.txt)>
Test Cases:
- 1KB -> 16MB
- 32MB -> 64MB
- 128MB
- 1KB -> 128MB
g++ -std=gnu++14 -o main.out main.cpp test.cpp Timer.cpp Tag.cpp hash.cpp pub_sub.cpp Gate.cpp kpabe.cpp -I. -I/usr/local/include -I/usr/local/include/pbc -I/usr/local/include/miracl/ `libgcrypt-config --libs` -lcrypto -lsodium -lpbc -lgmp -lmbedcrypto -lm -lmiracl
[linker = args]
- Libgcrypt - libgcrypt20-dev =
libgcrypt-config --libs
- OpenSSL - libssl-dev =
-lssl -lcrypto
- LibSodium - libsodium-dev (Generating random seed numbers and keys) =
-lsodium
- kpabe-yct14-cpp - https://github.com/ikalchev/kpabe-yct14-cpp.git =
-lkpabe
- GMP - The GNU Multiple Precision Arithmetic Library - https://gmplib.org/ =
-lpbc
- PBC - Pairing-Based Cryptography Library - https://crypto.stanford.edu/pbc/ =
-lgmp
- Installed in /usr/local/ folder
- mbedcrypto from mbedtls - libmbedtls-dev =
-lmbedcrypto -lm
- Include /usr/local/lib = -I. -I/usr/local/include -I/usr/local/include/pbc