2022-02-01 11:45:47 -05:00
|
|
|
#!/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 ""
|
2022-03-27 05:05:40 -04:00
|
|
|
python3 py_wrappers/python_Connector.py
|
2022-02-01 11:45:47 -05:00
|
|
|
;;
|
|
|
|
*)
|
|
|
|
echo -n "Wrong input"
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|