X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/Cipher_code.git/blobdiff_plain/bd0fd45010fd0c1803d6368bd7d7dab255615f51..fb12494aee99738f9daab81fad888d1a45b5cb34:/OneRoundIoT/OneRound/run_hash_throughput.py?ds=inline diff --git a/OneRoundIoT/OneRound/run_hash_throughput.py b/OneRoundIoT/OneRound/run_hash_throughput.py index 5fd2f46..144475c 100644 --- a/OneRoundIoT/OneRound/run_hash_throughput.py +++ b/OneRoundIoT/OneRound/run_hash_throughput.py @@ -9,7 +9,7 @@ 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) + 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 @@ -17,7 +17,7 @@ for k in range(1,6): 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) + 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