NTRU_IoT/infidel-code/runner.sh
2022-02-01 23:45:47 +07:00

36 lines
756 B
Bash
Executable File

#!/bin/bash
echo -e "NTRU Test Case - By Infidel"
echo -e "\t1. Key gen Test\n\t2. GUI Based Test\n\t3. Rapid Test\n\t4. Another Test"
echo -n "Enter the test you want to perform : "
read testType
echo -e "\n..................................................."
case $testType in
1)
# echo -e "\tFull Test"
echo -e "\t\tEES 401"
bin/test_401_full
echo -e "\t\tEES 593"
bin/test_593_full
;;
2)
echo -e "GUI Wrapper for NTRU "
python3 ./py_wrappers/Publisher_GUI.py
;;
3)
echo -e "Rapid Test"
./call.py
;;
4)
echo -e ""
python3 py-wrappers/python_Connector.py
;;
*)
echo -n "Wrong input"
;;
esac