+#python3 run_hash_throughput.py > exe_hash_throughtput.txt
+
+import subprocess
+import re
+
+
+
+print("#size \t h \t time")
+print("variant 1");
+h=8
+for k in range(1,6):
+ result=subprocess.check_output("one_round_hash_new2 lena1 nb100 h"+str(h),shell=True)
+ res=result.decode()
+ print(str(512*512*3)+"\t"+str(h)+"\t"+res)
+ h=h+h
+
+print("variant 2");
+h=8
+for k in range(1,6):
+ result=subprocess.check_output("one_round_hash_new3 lena1 nb100 h"+str(h),shell=True)
+ res=result.decode()
+ print(str(512*512*3)+"\t"+str(h)+"\t"+res)
+ h=h+h
+
+print("cmac");
+h=8
+for k in range(1,6):
+ result=subprocess.check_output("../openssl/openssl_evp_cmac lena1 nb100 h"+str(h),shell=True)
+ res=result.decode()
+ print(str(512*512*3)+"\t"+str(h)+"\t"+res)
+ h=h+h
+
+print("hmac");
+h=8
+for k in range(1,6):
+ result=subprocess.check_output("../openssl/openssl_evp_hmac lena1 nb100 h"+str(h),shell=True)
+ res=result.decode()
+ print(str(512*512*3)+"\t"+str(h)+"\t"+res)
+ h=h+h