1 #python3 run_hash_throughput.py > exe_hash_throughtput.txt
8 print("#size \t h \t time")
12 result=subprocess.check_output("./one_round_hash_new2 lena1 nb100 h"+str(h),shell=True)
14 print(str(512*512*3)+"\t"+str(h)+"\t"+res)
20 result=subprocess.check_output("./one_round_hash_new3 lena1 nb100 h"+str(h),shell=True)
22 print(str(512*512*3)+"\t"+str(h)+"\t"+res)
28 result=subprocess.check_output("../openssl/openssl_evp_cmac lena1 nb100 h"+str(h),shell=True)
30 print(str(512*512*3)+"\t"+str(h)+"\t"+res)
36 result=subprocess.check_output("../openssl/openssl_evp_hmac lena1 nb100 h"+str(h),shell=True)
38 print(str(512*512*3)+"\t"+str(h)+"\t"+res)